O'Reilly logo

iOS® 8 for Programmers: An App-Driven Approach with Swift™, Third Edition by Abbey Deitel, Harvey M. Deitel, Paul J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8.6.9 Autogenerated NSFetchedResultsController and NSFetchedResultsControllerDelegate Methods

Recall from Section 8.3.3 that an NSFetchedResultsController (Fig. 8.18) manages the data for the master list’s UITableView. All of the necessary NSFetchedResultsController code is autogenerated by Xcode when you create a Master-Detail Application with Core Data support:

• The computed property fetchedResultsController (lines 216–257) manages the stored property _fetchedResultsController (line 258). If the stored property is not nil the computed property returns the existing NSFetchedResultsController (line 218); otherwise, the computed property creates a new one, configures it, then returns the new NSFetchedResultsController.

• The NSFetchedResultsControllerDelegate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required