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 querying values. CoreStore provides implementations for this protocol and should be used as a read-only abstraction.
*/
public protocol QueryableSource: class {
public protocol QueryableSource: AnyObject {
/**
Queries aggregate values as specified by the `QueryClause`s. Requires at least a `Select` clause, and optional `Where`, `OrderBy`, `GroupBy`, and `Tweak` clauses.