Skip to content

Commit

Permalink
Merge pull request #45 from mpaulsonco/fix/docs-again
Browse files Browse the repository at this point in the history
Updated documentation to reflect breaking changes in v0.2.7
  • Loading branch information
matthewcheok committed Aug 28, 2015
2 parents 9838d6d + 2b159d9 commit d952c0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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];`)
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit d952c0a

Please sign in to comment.