Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

[ASDataController] Simplify data controller - #2923

Merged
Adlai-Holler merged 5 commits into
facebookarchive:masterfrom
nguyenhuy:SimplifyDataController
Jan 25, 2017
Merged

[ASDataController] Simplify data controller#2923
Adlai-Holler merged 5 commits into
facebookarchive:masterfrom
nguyenhuy:SimplifyDataController

Conversation

@nguyenhuy

Copy link
Copy Markdown
Contributor

@Adlai-Holler: Appreciate your review here.

Closes #2916.

@nguyenhuy
nguyenhuy force-pushed the SimplifyDataController branch from c4e68a1 to bb95cd1 Compare January 24, 2017 02:56
@nguyenhuy nguyenhuy changed the title Simplify data controller [ASDataController] Simplify data controller Jan 24, 2017

@Adlai-Holler Adlai-Holler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a huge architectural step forward!


- (void)endUpdatesAnimated:(BOOL)animated ASDISPLAYNODE_DEPRECATED_MSG("Use -performBatchUpdates:completion: instead.");

- (void)endUpdatesAnimated:(BOOL)animated completion:(nullable void (^)(BOOL))completion ASDISPLAYNODE_DEPRECATED_MSG("Use -performBatchUpdates:completion: instead.");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately Pinterest still relies on this API so we can't remove it just yet.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Adlai-Holler: I was hoping to reduce code complexity in ASCollectionView by removing these methods. I added them back, turns out it's not that bad.

@nguyenhuy
nguyenhuy force-pushed the SimplifyDataController branch from 5773f43 to 135e4d9 Compare January 24, 2017 21:03

@Adlai-Holler Adlai-Holler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful, I've reviewed the code and tested with Pinterest for a while, so it's landing time! The first of many big steps forward for ASDataController.

@Adlai-Holler
Adlai-Holler merged commit 38f1efd into facebookarchive:master Jan 25, 2017
@nguyenhuy
nguyenhuy deleted the SimplifyDataController branch January 25, 2017 01:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants