Skip to content
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

Aggregations store #659

Merged
merged 6 commits into from
May 16, 2019
Merged

Aggregations store #659

merged 6 commits into from
May 16, 2019

Conversation

manuroe
Copy link
Contributor

@manuroe manuroe commented May 15, 2019

Part of element-hq/element-ios#2392

Add a store implemented in realm and a data update mechanism.
All tests now pass.

@property (nonatomic) NSString *roomId;

// eventId -> changes
@property (nonatomic) void (^block)(NSDictionary<NSString*, MXReactionCountChange*> *changes);
Copy link
Contributor

Choose a reason for hiding this comment

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

Block property should use copy attribute. More information here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we could also use a more explicit name like notificationBlock .

@manuroe manuroe merged commit 49e3ef8 into aggregations May 16, 2019
@manuroe manuroe deleted the aggregations_store branch May 16, 2019 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants