June 2016
Intermediate to advanced
214 pages
5h 40m
English
We can see the value of an NSFetchedResultsController, but how does it actually work? When I started to explore the details, I was shocked to find out that I could duplicate much of the behavior of the NSFetchedResultsController using publicly available APIs.
This means that, instead of trying to cram the NSFetchedResultsController into places that it almost fits (or worse), you can build your own that behaves exactly in the way that you need to. By using publicly exposed APIs, the Core Data team has invited us to build our own observers of Core Data so that non–table view user interfaces can react to changes in the data easily.
At its core, the NSFetchedResultsController takes advantage of the ...
Read now
Unlock full access