THIS ARTICLE HAS BEEN REVISED. YOU CAN FIND THE NEWER VERSION HERE!
I’ve recently started using Core Data quite a bit for a few different projects and quickly found this bit of code and modified it slightly for my own use. It was originally posted by Björn Sållarp through his blog, on a helpful post about how to use Core Data and I’ve continued to use it since in different formats.
The code basically returns a data set from Core Data (with or without a predicate) without having all the messy code for each query. Here’s the code… Continue reading