File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ typedef NSString * (^AMBTableViewSectionTitleBlock)(AMBTableViewSection * sectio
135135
136136// / A block where any aspect of the section can be changed and rows can set to be shown/hidden,
137137// / reloaded, etc.
138- // / @param The section to be updated.
138+ // / @param section The section to be updated.
139139typedef void (^AMBTableViewSectionUpdateBlock) (AMBTableViewSection * section);
140140
141141// / Calculate the height of the cell corresponding to a given section object.
Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ - (NSString *)description
437437
438438- (void )setObjects : (NSArray *)objects
439439{
440- _mutableObjects = [NSMutableArray arrayWithArray: objects];
440+ _mutableObjects = objects ? [NSMutableArray arrayWithArray: objects] : [ NSMutableArray new ];
441441 _hiddenObjectsMutableIndexSet = [NSMutableIndexSet indexSet ];
442442 [self updateVisibleObjects ];
443443
You can’t perform that action at this time.
0 commit comments