NSFetchedResultsController in 5 Steps - Grouping Core Data - Swift Tutorial

Опубликовано: 22 Январь 2019
на канале: Mobile App Mike
1,800
28

In this video, we will use the Fetched Results Controller (a Core Data feature) to sort and group our core data results into sections in a simple app that saves lists of books and groups them by author.

Steps: (FRC = FetchedResultsController)
1) Create app including CoreData (or add it to your app)
2) Setup DataModel
3) Set up saveData func (“C” in CRUD)
4) Create loadData func (“R” in CRUD) using FRC
5) [Bonus] Sort by sections using FRC’s section ability

Other Vids:
Core Data CRUD Tutorial -    • CRUD with Core Data in 8 Steps (Swift 4)  
UITableView Tutorial -    • Create a TableView in 5 Steps! (Swift 4)  

Finished Project:
https://github.com/mgm720/FRC-App