DATAFastQuery 0.8.0

DATAFastQuery 0.8.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2016
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Elvis Nuñez.



DATAFastQuery

Simple and lightweight library to query Core Data if a blazing fast way.

Usage

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)])

Installation

DATAFastQuery is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'DATAFastQuery'

Author

SyncDB, [email protected]

License

DATAFastQuery is available under the MIT license. See the LICENSE file for more info.