From 2b159d969bca8d80e9547427d2bb53f3e0dd3c9a Mon Sep 17 00:00:00 2001 From: mpaulsonco Date: Tue, 31 Mar 2015 13:19:48 -0500 Subject: [PATCH] Updated documentation to reflect breaking changes in v0.2.7 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a082458..a34c080 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ A concise [Mantle](https://github.com/Mantle/Mantle)-like way of working with [R ## Breaking Change +- Method `- deepCopy` replaces the previous functionality of `- shallowCopy`, which no longer maintains an object's primary key - Updated to use native primary key support in Realm 0.85.0 - Update your code to use methods `-createOrUpdateInRealm:withJSONArray:` or `-createOrUpdateInRealm:withJSONDictionary:` - You must wrap these methods in a write transaction (between `[realm beginWriteTransaction];` and `[realm commitWriteTransaction];`) @@ -124,6 +125,7 @@ Methods `- shallowCopy` and `- mergePropertiesFromObject:` are provided. The lat [episode mergePropertiesFromObject:anotherEpisode]; }]; +Additionally, method `- deepCopy` is provided. Unlike `- shallowCopy`, it maintains the object's primary key. ## License