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 osx) 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!
Receive news and updates from Realm straight to your inbox