Realm Blog

Realm Cocoa 0.82

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

Enhancements

  • Updating to core library version 0.80.5.
  • Now support disabling the autorefresh property on RLMRealm instances.
  • Building Realm-Xcode6 for iOS now builds a universal framework for Simulator & Device.
  • Using NSNumber properties (unsupported) now throws a more informative exception.
  • Added [RLMRealm defaultRealmPath]
  • Proper implementation for [RLMArray indexOfObjectWhere:]
  • The default Realm path on OS X is now ~/Library/Application Support/[bundle identifier]/default.realm rather than ~/Documents
  • We now check that the correct framework (iOS or OS X) is used at compile time.

Bugfixes

  • Fixed rapid growth of the realm file size.
  • Fixed a bug which could cause a crash during RLMArray destruction after a query.
  • Fixed bug related to querying on float properties: floatProperty = 1.7 now works.
  • Fixed potential bug related to the handling of array properties (RLMArray).
  • Fixed bug where array properties accessed the wrong property.
  • Fixed bug that prevented objects with custom getters to be added to a Realm.
  • Fixed a bug where initializing a standalone object with an array literal would trigger an exception.
  • Clarified exception messages when using unsupported NSPredicate operators.
  • Clarified exception messages when using unsupported property types on RLMObject subclasses.
  • Fixed a memory leak when breaking out of a for-in loop on RLMArray.
  • Fixed memory leak when removing objects from a RLMArray property.

Swift

For Swift, be aware that you must still include Realm-Xcode6.xcodeproj from source. As of this writing, that Xcodeproj now targets Xcode/Swift beta5 exclusively.


As always, you can find the docs here: /docs/cocoa/ — happy hacking!


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