fix code misuse in readme

This commit is contained in:
John Estropia
2017-08-31 17:55:10 +09:00
parent 211e69023e
commit 68f1027ba7

View File

@@ -1722,7 +1722,7 @@ These special properties' values can be accessed or mutated using `.value`:
```swift
CoreStore.perform(
asynchronous: { (transaction) in
let dog: Dog = CoreStore.fetchOne(From<Dog>())!
let dog: Dog = transaction.fetchOne(From<Dog>())!
// ...
let nickname = dog.nickname.value // String?
let species = dog.species.value // String