change protocol inheritance from class to AnyObject (as per recent Swift recommendation)

This commit is contained in:
John Estropia
2019-04-27 17:50:55 +09:00
parent fe7e6e7b84
commit 08053ccb15
16 changed files with 16 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ import CoreData
/**
Encapsulates containers which manages an internal `NSManagedObjectContext`, such as `DataStack`s and transactions, that can be used for fetching objects. CoreStore provides implementations for this protocol and should be used as a read-only abstraction.
*/
public protocol FetchableSource: class {
public protocol FetchableSource: AnyObject {
/**
Fetches the `DynamicObject` instance in the `FetchableSource`'s context from a reference created from another managed object context.