Simple and lightweight library to query Core Data if a blazing fast way.
Dictionary of any attribute as key and NSManagedObjectID as values.
let dictionary = DATAFastQuery.managedObjectIDs(in: "User", usingAsKey: "remoteID", context: context)
Array of NSManagedObjectIDs.
let managedObjectIDs = DATAFastQuery.managedObjectIDs(in: "User", context: context)
Array of any attributes.
let attributes = DATAFastQuery.attributes(in: "User", named: "localID", context: context, sortDescriptors: [NSSortDescriptor(key: "localID", ascending: true)])
DATAFastQuery is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'DATAFastQuery'
Elvis Nuñez, @3lvis
DATAFastQuery is available under the MIT license. See the LICENSE file for more info.