-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[ASPagerNode] Initial implementation of a paging-specific ASCollectionNode subclass. #925
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably wanna expose things like this so people can get spacing between pages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, definitely agreed. Next changes!
@levi thanks for building this! Several folks are quite excited to start using it, both at Pinterest and beyond :). When you get a chance, can you fix the issue that the build server is flagging? |
ef6d992
to
dc6d9d2
Compare
e1a75ba
to
669fd38
Compare
@appleguy added a few helper methods locally that I'd like to begin adding after this patch lands. You ok landing this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is essential that we set these in -didLoad, not in -init. Some big perf problems in Pinterest were addressed by ensuring we didn't poke the creation of ASCollectionViews too early.
This is a great first start, thanks @levi ! If you can address comments in a followup diff, that would be awesome and almost surely enough for me to adopt this in Pinterest this weekend! |
[ASPagerNode] Initial implementation of a paging-specific ASCollectionNode subclass.
…l in setAnimatedImage #trivial (facebookarchive#925) * [ASNetworkImageNodeTests] Add defaultImage test and improve image test. #trivial * [ASImageNode+AnimatedImage] Fix early return when animatedImage is nil in setAnimatedImage. #trivial
This is a pretty simple implementation to get the ball rolling on the API design and control behavior. I'm currently developing this control in tandem at the NFL for an update on how we navigate between weeks in a given season. Let's get a discussion going on how we could develop this in a meaningful way for other groups to use.