Core Data Tutorial – NSFetchedResultsController

Core Data is an extremely hot topic, and one of the key difficulties people seem to be having is integrating Core Data with a UITableView.  This is where the NSFetchedResultsController comes in.

Marcus Zarra of Cocoa is My Girlfriend and author of the Pragmatic Programmers Core Data book has written an excellent tutorial on Core Data in the January 2010 Issue of Pragpub magazine (PDF link).  The tutorial begins on page 24.

In this tutorial Marcus explains how integral NSFetchedResultsController is in keeping the UI updated.  He goes through explaining the complicated construction of an NSFetchedResultsController, and it’s usage in a UITableView.

Marcus also goes through the implementation of four NSFetchedResultsController methods that are used to automatically notify the interface that changes have been made, and to update accordingly.

Marcus has posted a full example of  NSFetchedResultsController in an RSS reader code on Github.

Be sure to check out the above links, and post any comments below.

DeliciousTwitterTechnoratiFacebookLinkedInEmail
Tags: , , ,

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 send a Tweet to @maniacdev on Twitter or submit the url here.

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

  • http://www.cimgf.com Marcus S. Zarra

    Thank you for the compliments, I am happy to hear people are enjoying that article.

    BTW, the last name is Zarra not Zerra ;-)

    Coming to any of the iPhone conferences this year?

  • http://www.cimgf.com Marcus S. Zarra

    Thank you for the compliments, I am happy to hear people are enjoying that article.

    BTW, the last name is Zarra not Zerra ;-)

    Coming to any of the iPhone conferences this year?

  • http://www.cimgf.com Marcus S. Zarra

    Thank you for the compliments, I am happy to hear people are enjoying that article.

    BTW, the last name is Zarra not Zerra ;-)

    Coming to any of the iPhone conferences this year?

  • John

    Sorry about that, can’t believe I made that mistake having gone through your books in Safari more than once.

    Right now I’m doing Windows programming so I’d be covering the costs on my own, but maybe once I get back to iPhone coding I can release some apps of my own, and come out to a conference.

  • John

    Sorry about that, can’t believe I made that mistake having gone through your books in Safari more than once.

    Right now I’m doing Windows programming so I’d be covering the costs on my own, but maybe once I get back to iPhone coding I can release some apps of my own, and come out to a conference.

  • John

    Sorry about that, can’t believe I made that mistake having gone through your books in Safari more than once.

    Right now I’m doing Windows programming so I’d be covering the costs on my own, but maybe once I get back to iPhone coding I can release some apps of my own, and come out to a conference.

  • http://www.facebook.com/kostiantyn.sokolinskyi Kostiantyn Sokolinskyi

    Love your site for great tutorial links and articles :)