From 68f1027ba78cca528b1b10a52821ee0c01063724 Mon Sep 17 00:00:00 2001 From: John Estropia Date: Thu, 31 Aug 2017 17:55:10 +0900 Subject: [PATCH] fix code misuse in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d1249e6..58617bf 100644 --- a/README.md +++ b/README.md @@ -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())! + let dog: Dog = transaction.fetchOne(From())! // ... let nickname = dog.nickname.value // String? let species = dog.species.value // String