Open Source Library Providing A Core Data Query Language For Swift

I’ve mentioned a number of libraries for working with Core Data, the most popular of which being Magical Record.

Here’s an open source Swift based library providing a very nice syntax for querying Core Data databases called QueryKit from Kyle Fuller.

Query kit includes helpers including functions for:

Querying
Filtering
Ordering
Slicing
Fetching
Deleting

This example from the readme shows the filtering syntax:

queryset.filter(NSPredicate(format:"name == %@", "Kyle"))
queryset.filter(Person.name == "Kyle")
queryset.exclude(Person.age < 21)

You can find QueryKit on Github here.

A nice library for working with Core Data in Swift.

Thanks to Chris for the submission.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Open Source Library Providing A Core Data Query Language For Swift

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *