Reputation: 42139
I am looking for a tutorial that shows how to populate a UITableView from core data, allowing to add records and delete them.
There are a few projects that I have found, but they are hard to follow without the steps to build them.
Anyone seen tutorials on this? Or better yet, videos?
Upvotes: 1
Views: 6675
Reputation: 4533
This one was helpful for me: core-data-getting-started
This one from apple with detailed explanation + code source core data tutorial for iPhone OS
Upvotes: 0
Reputation: 10555
Have you looked at NSFetchedResultsController
? It takes a fetch request and is designed to be used directly within your UITableViewDataSource
, doing much of the heavy lifting.
Handling inserts, deletes and updates is supported but requires a bit more work. Jeff LaMarche has some great articles on NSFetchedResultsController
.
http://iphonedevelopment.blogspot.com/search/label/Core%20Data
Upvotes: 7