FetchedResultsTableViewController is a Swift class that has all the basic functions for creating an NSFetchedResultsController to populate a UITableView.
Implement this in a new project with Core Data, and create a new Table View Controller with FetchedResultsTableViewController as the class.