Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenmhaggerty/9c0124d7684413fec140263a3c435aa9 to your computer and use it in GitHub Desktop.
Save kenmhaggerty/9c0124d7684413fec140263a3c435aa9 to your computer and use it in GitHub Desktop.
I've updated this method! Check out the new method interface at https://gist.github.com/kenmhaggerty/85c19898b8e45958cbfe0302f72aefd6
- (void)updateFromArray:(nonnull NSArray *)array
toArray:(nonnull NSArray *)toArray
inSection:(NSUInteger)section
withInsertionAnimation:(UITableViewRowAnimation)insertionAnimation
deletionAnimation:(UITableViewRowAnimation)deletionAnimation
setter:(nonnull void (^)(NSArray * _Nonnull data))setterBlock
insertedCells:(nullable void (^)(NSArray <UITableViewCell *> * _Nonnull cells))insertionBlock
reorderedCells:(nullable void (^)(NSArray <UITableViewCell *> * _Nonnull cells))reorderingBlock
deletedCells:(nullable void (^)(NSArray <UITableViewCell *> * _Nonnull cells))deletionBlock
completion:(nullable void (^)(void))completionBlock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment