mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-16 22:01:15 +01:00
WIP: Swift 3.2
This commit is contained in:
1 parent
f9b6dd0c6a
commit
7f9a915d71
37 files changed
+199
-200
No files matched your search
@@ -47,7 +47,7 @@ public extension DataStack {
|
||||
- parameter storage: the storage
|
||||
- parameter completion: the closure to be executed on the main queue when the process completes, either due to success or failure. The closure's `SetupResult` argument indicates the result. Note that the `StorageInterface` associated to the `SetupResult.success` may not always be the same instance as the parameter argument if a previous `StorageInterface` was already added at the same URL and with the same configuration.
|
||||
*/
|
||||
public func addStorage<T: StorageInterface>(_ storage: T, completion: @escaping (SetupResult<T>) -> Void) {
|
||||
public func addStorage<T>(_ storage: T, completion: @escaping (SetupResult<T>) -> Void) {
|
||||
|
||||
self.coordinator.performAsynchronously {
|
||||
|
||||
|
||||
Reference in new issue
Block a user