Make it possible to map between sections even if they're empty (#660)

* Make section mapping work even for empty sections

* Unlock more cases and update changelog

* Fix complexity documentation
This commit is contained in:
Adlai Holler
2017-11-03 16:24:48 -07:00
committed by GitHub
parent ff608c92bf
commit 4fc753a458
9 changed files with 95 additions and 83 deletions

View File

@@ -37,10 +37,10 @@ AS_SUBCLASSING_RESTRICTED
- (void)insertSection:(ASSection *)section atIndex:(NSInteger)index;
- (void)removeAllSectionContexts;
- (void)removeAllSections;
/// Only modifies the array of ASSection * objects
- (void)removeSectionContextsAtIndexes:(NSIndexSet *)indexes;
- (void)removeSectionsAtIndexes:(NSIndexSet *)indexes;
- (void)removeAllElements;