-
Notifications
You must be signed in to change notification settings - Fork 484
Transforms #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transforms #186
Conversation
ac9c308
to
d612ac1
Compare
cc @puf, who may have opinions on this |
3369669
to
1521daf
Compare
6d5f685
to
01e5070
Compare
01e5070
to
04c78c0
Compare
04c78c0
to
4b7a264
Compare
41ed07e
to
4cf3b1e
Compare
|
||
@optional | ||
|
||
/** | ||
* Called before any other events are sent. | ||
*/ | ||
- (void)arrayDidBeginUpdates:(id<FUICollection>)collection; |
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.
I intentionally did not add a "begin updates" event, but only a "we're done with all updates". What do you think you would catch in this method that you would catch with a simple "is this the first update?" check?
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.
This is just to better mirror the UIKit aggregation methods of beginUpdates
and endUpdates
. This makes it easier for consumers, so they don't have to track their own local state.
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.
I suspect it's ok to drop the beginUpdates
event if the platform doesn't call for it. :)
Add support for defining transformations (i.e. sort) on the data from FirebaseDatabase before it's presented in a table/collection view. Still missing a few things. Addresses #183, depends on
#184. Also allows for consumers to create their own collections.Doc commentsDRY code in collectionsTests@mcdonamp please review