I have a UITableView inside 开发者_如何学Goa UIViewController that is using ABPeoplePickerNavigationControllerDelegate.
It looks like this:
@interface MyViewController : UIViewController <ABPeoplePickerNavigationControllerDelegate> {
}
In the .xib I have a UITableView that I need to populate with data stored in CoreData. How can I go about doing this?
Try using 'NSFetchedResultsController', here's a good tutorial:
http://www.raywenderlich.com/999/
and Apple Sample Code:
https://developer.apple.com/library/ios/samplecode/iPhoneCoreDataRecipes/Introduction/Intro.html#//apple_ref/doc/uid/DTS40008913
精彩评论