I know this is probably a pretty basic question, but I’m working with Core Data and a UITableView. I import all the data from Core Data to various mutable arrays. When a user rearranges the items in the table, it’s easy enough to swap the items in the mutable arrays I obtained from core data earlier, but is there an easy way to sync the new mutable array with the existing core data? Any help is appreciated!
Share
I think your question is actually how to persist the order of the data in your table view rows in Core Data.
The answer is you have to introduce a new integer /
NSNumberattribute to keep track. I have done this in a simple app managing a to-do list.