TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Apr 2015 |
Maintained by Sash Zats.
Bad UX | Good UX1 |
1: Slowed down intentionally to demonstrate the awesomeness
reloadData
on your collection or table view? Doppelganger is here to help!
NSArray *oldDataSource = self.dataSource;
self.dataSource = [self _updatedDataSource];
NSArray *diffs = [WMLArrayDiffUtility diffForCurrentArray:self.dataSource
previousArray:oldDataSource];
[self.tableView wml_applyBatchChanges:diffs
inSection:0
withRowAnimation:UITableViewRowAnimationRight];
isEqual:
and hash
methods: http://nshipster.com/equality/
NSArray
.Sash Zats, [email protected]
Doppelganger is available under the MIT license. See the LICENSE file for more info.