typed arrays

This commit is contained in:
John Estropia
2016-03-28 19:41:11 +09:00
parent e9ac8629a1
commit 9d7960e674
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ public struct Where: FetchClause, QueryClause, DeleteClause, Hashable {
- parameter keyPath: the keyPath to compare with
- parameter list: the array to check membership of
*/
public init(_ keyPath: KeyPath, isMemberOf list: NSArray) {
public init(_ keyPath: KeyPath, isMemberOf list: [NSObject]) {
self.init(NSPredicate(format: "\(keyPath) IN %@", list))
}