Skip to content

productinfo/DATAFastQuery

 
 

Repository files navigation

DATAFastQuery

Version License Platform

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

Elvis Nuñez, @3lvis

License

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

About

The fastest way to query Core Data

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 96.3%
  • Ruby 3.7%