mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-28 12:21:51 +01:00
Update README.md
This commit is contained in:
@@ -618,7 +618,7 @@ public protocol ImportableObject: class {
|
|||||||
First, set `ImportSource` to the expected type of the data source:
|
First, set `ImportSource` to the expected type of the data source:
|
||||||
```swift
|
```swift
|
||||||
typealias ImportSource = [String: AnyObject]
|
typealias ImportSource = [String: AnyObject]
|
||||||
``
|
```
|
||||||
This lets us call `importObject(_:source:)` with any `[String: AnyObject]` type as the argument to `source`:
|
This lets us call `importObject(_:source:)` with any `[String: AnyObject]` type as the argument to `source`:
|
||||||
```swift
|
```swift
|
||||||
CoreStore.beginAsynchronous { (transaction) -> Void in
|
CoreStore.beginAsynchronous { (transaction) -> Void in
|
||||||
|
|||||||
Reference in New Issue
Block a user