lukagabric / LargeDatasetSample

iOS Large Dataset Sample - Core Data and NSFetchedResultsController with search (like Contacts in Phone application)
http://lukagabric.com/large-dataset-sample-core-data-and-nsfetchedresultscontroller-with-search/
11 stars 4 forks source link

LargeDatasetSample

This is a sample application that uses Core Data and NSFetchedResultsController to display dataset of 50 000 items (Contacts). It is similar to Contacts screen of the Phone application. The search filters the items that contain search term in first or last name.

LAbstractSearchViewController

LAbstractSearchViewController is intended to be subclassed to override getters and adjust the data to be displayed.

MainViewController

MainViewController extends the LAbstractSearchViewController class in order to override protected getters and display managed objects in a table.

DataController

Autogenerated Core Data methods are moved out of AppDelegate into DataController singleton.