I am working on a project where I have a table view that is currently updated via a web request that returns XML. I implemented
-(int)numberOfRowsInTableView:(NSTableView*)tv
and
-(id)tableView:(NSTableView *)tv objectValueForTableColumn:(NSTableColumn*)tableColumn row:(int)row
in my XML parsing class, and have the table updated with the data that is pulled down from the server.
I want to save the data that is pulled down using Core Data, so that the table can be saved/loaded. Then later on application start when the web request is made, it will only add data that is not already present. (The XML is sorted by release date, so later I will check to see which release dates are not loaded up from the Core Data store, and only load newer entries.)
How would I go about implementing this? I am a very new Cocoa developer, but have gone through the entire Hillegass book. Thanks so much.