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
/**
All CoreStore's utilities are designed around `DynamicObject` instances. `NSManagedObject` and `CoreStoreObject` instances all conform to `DynamicObject`.
*/
public protocol DynamicObject: class {
public protocol DynamicObject: AnyObject {
/**
Used internally by CoreStore. Do not call directly.