Core Data With NSFetchedResultsController and Swift
Respond to Updates Using the NSFetchedResultsControllerDelegate Protocol
Core Data With NSFetchedResultsController and Swift
1 | Populate a Table View With NSFetchedResultsController and Swift |
---|---|
2 | Implement the NSFetchedResultsControllerDelegate Protocol With Swift |
3 | Respond to Updates Using the NSFetchedResultsControllerDelegate Protocol Plus |
4 | Add Sections to Table View With NSFetchedResultsController and Swift Plus |
Download Your Free Copy of
The Missing Manual
for Swift Development
The Missing Manual
for Swift Development
The Guide I Wish I Had When I Started Out
Join 20,000+ Developers Learning About Swift Development
Download Your Free CopyIn this tutorial, we add the ability to update quotes. Not only do we want the table view to reflect the changes we make to a quote, we also want to make sure the sort order of the quotes is updated when a quote is modified. You guessed it. The NSFetchedResultsController
class and the NSFetchedResultsControllerDelegate
protocol make this almost trivial.
Instant and Unlimited Access
to 400+ Cocoacasts Tutorials
Monthly
$19 / month
Pay Once a Month
30 Day Money Back Guarantee
Yearly
$8.25 / month (billed annually)
Pay Once a Year and Save $129
30 Day Money Back Guarantee
Access to All Books