Realm Blog

Realm Cocoa 0.87.4

We just pushed a Realm Objective-C update to this website and to CocoaPods. Here’s what’s new!

Inverse Relationships

It’s now possible to obtain all objects linking to a given object through a specific property, also known as inverse relationships or backlinks. For example, calling -linkingObjectsOfClass:forProperty: on a Dog instance will return all objects of the specified class linking to the calling instance with the specified property. It’s possible to simplify this pattern by defining a read-only owners property on Dog:

Bug Fixes

  • This version fixes a bug where Realm would crash due to missing search index when migrating an object with a string primary key in a database created using an older versions (0.86.3 and earlier).
  • An exception is now thrown when passing an array containing a non-RLMObject to -[RLMRealm addObjects:].
  • This version includes a fix a crash occurring when deleting an object from multiple threads.

Thanks for reading. Now go forth and build amazing apps with Realm! As always, we’re around on the mailing list, Stack Overflow, GitHub, Twitter and email.

Realm Team

At Realm, our mission is to help developers build better apps faster. We provide a unique set of tools and platform technologies designed to make it easy for developers to build apps with sophisticated, powerful features — things like realtime collaboration, augmented reality, live data synchronization, offline experiences, messaging, and more.

Everything we build is developed with an eye toward enabling developers for what we believe the mobile internet evolves into — an open network of billions of users and trillions of devices, and realtime interactivity across them all.

Get more development news like this