mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-04-23 17:18:35 +02:00
Modify wrong code
@@ -9,8 +9,8 @@ CoreStore.defaultStack = DataStack(
|
|||||||
Adding a store:
|
Adding a store:
|
||||||
```swift
|
```swift
|
||||||
do {
|
do {
|
||||||
try CoreStore.addSQLiteStore(
|
try CoreStore.addStorage(
|
||||||
fileName: "MyStore.sqlite",
|
SQLiteStore(fileName: "MyStore.sqlite"),
|
||||||
completion: { (result) -> Void in
|
completion: { (result) -> Void in
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user