Database Reference
In-Depth Information
Enter the fictitious (yet thriving) nation of Wenderland as the new team. Type
Internets for qualifying zone and tap Save . After a quick animation, your user
interface should look like the following:
Since “Internets” is a new value for the fetched results controller's
sectionNameKeyPath , this operation created both a new section and added a new
team to the fetched results controller result set. That handles the data side of
things.
Additionally, since you implemented the fetched results controller delegate methods
appropriately, the table view responded by inserting a new section with one new
row.
That's the beauty of NSFetchedResultsControllerDelegate . You can set it once and
forget it. The underlying data source and your table view will always be
synchronized.
Search WWH ::




Custom Search