Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Realm Japan meetup #12

Realm Japan meetup #12

- Realm Objective-C/Swift 0.98.2
- Background query
- Subquery

Kishikawa Katsumi

July 24, 2016
Tweet

More Decks by Kishikawa Katsumi

Other Decks in Programming

Transcript

  1. όοΫάϥ΢ϯυɾΫΤϦ // RLMResultsͷ௨஌Λ؂ࢹ͠·͢ let token = realm .objects(Person) .filter("age >

    5") .addNotificationBlock { results, error in viewController.updateUI() } // ௨஌͕ෆཁʹͳͬͨΒ token.stop()
  2. αϒΫΤϦ let partTimeOverThirty = realm .objects(Employee) .filter("age > 30 AND

    fulltime = NO") let companies = realm .objects(Company) .filter("ANY employee IN %@", partTimeOverThirty)
  3. Where to find us • " Realm Japan User Group:

    facebook.com/groups/realmjp • " Twitter: twitter.com/realmJapan • GitHub: github.com/realm • " StackOverflow: ja.stackoverflow.com/questions/tagged/realm • " Email: [email protected] • " Slack: slack.realm.io/