mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-13 05:45:32 +01:00
change protocol inheritance from class to AnyObject (as per recent Swift recommendation)
This commit is contained in:
@@ -31,7 +31,7 @@ import CoreData
|
||||
/**
|
||||
The `StorageInterface` represents the data store managed (or to be managed) by the `DataStack`. When added to the `DataStack`, the `StorageInterface` serves as the interface for the `NSPersistentStore`. This may be a database file, an in-memory store, etc.
|
||||
*/
|
||||
public protocol StorageInterface: class {
|
||||
public protocol StorageInterface: AnyObject {
|
||||
|
||||
/**
|
||||
The string identifier for the `NSPersistentStore`'s `type` property. This is the same string CoreStore will use to create the `NSPersistentStore` from the `NSPersistentStoreCoordinator`'s `addPersistentStoreWithType(...)` method.
|
||||
|
||||
Reference in New Issue
Block a user