File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 4141// / The presented sections.
4242@property (strong , nonatomic ) NSArray * sections;
4343
44-
4544// / @name Managing Sections
4645
4746// / Insert a section into the sections array.
7069- (void )replaceSectionAtIndex : (NSUInteger )index
7170 withSection : (AMBTableViewSection *)section ;
7271
73- // / @name Refreshing the Table View Contents
72+
73+ // / @name Convenience Methods
7474
7575// / Trigger [AMBTableViewSection update] on all sections.
7676- (void )updateAllSections ;
7777
78- // / @name Convenience Methods
79-
8078// / Combine several section and row changes between [UITableView beginUpdates] and
8179// / [UITableView endUpdates].
8280- (void )combineChanges : (void (^)(void ))changes ;
Original file line number Diff line number Diff line change @@ -117,6 +117,9 @@ - (void)replaceSectionAtIndex:(NSUInteger)index
117117 [section reload ];
118118}
119119
120+
121+ #pragma mark - Convenience methods
122+
120123- (void )updateAllSections
121124{
122125 for (AMBTableViewSection * section in self.sections )
@@ -125,8 +128,6 @@ - (void)updateAllSections
125128 }
126129}
127130
128- #pragma mark - Convenience methods
129-
130131- (void )combineChanges : (void (^)(void ))changes
131132{
132133 if (self.tableView )
You can’t perform that action at this time.
0 commit comments