Displaying data within the Table View
In this recipe we will learn how to populate a Table View Control with some data.
Following on from our previous recipe, we will learn how to populate our
UITableViewControl from our Core Data database model.
How to do it...
To begin, follow these simple steps as outlined in the following order:
- Open the
BooksViewController.mimplementation file from the Project Navigator window.
- Next, modify the implementation file as shown by the highlighted code sections.
// BooksViewController.m // BooksLibrary // Created by Steven F Daniel on 03/12/12. // Copyright (c) 2012 GenieSoft Studios. All rights reserved. #import "BooksViewController.h" @implementation BooksViewController @synthesize fetchedResultsController; ...