Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments