I have a similar question with This. Basically, is there a way to save / update multiple records from the table view at once with core data?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All you really need to do is record which rows are checked and then alter the corresponding managed object appropriately.
A check mark is an accessory view so you would put the code to record which rows are checked (or save right then) in
tableView:accessoryButtonTappedForRowWithIndexPath:If you are using NSFetchedResults controller, you can just save the index path object in an array and it will record which managed object in the controllers
fetchedObjectsthat you need to save/update because its table row got checked.