November 2013
Intermediate to advanced
576 pages
19h 3m
English
For the fetched results controller to respond to Core Data changes and update the table view, methods from the NSFetchedResultsControllerDelegate protocol need to be implemented. First the view controller needs to declare that it will implement the delegate methods:
@interface ICFMovieListViewController : UITableViewController <NSFetchedResultsControllerDelegate>
The fetched results controller delegate will be notified when content will be changed, giving the delegate the opportunity to animate the changes in the table view. Calling the beginUpdates method on the table view tells it that all updates until endUpdates is called should be animated simultaneously.
Read now
Unlock full access