Hi Folks,
I am fetching master data from a json file and populate my Entities with it. Now I need to update my entities frequently to keep the app on the valid. How can I achieve this? I need to overwrite the whole Entities...
Code:
NSManagedObjectContext *context = [self managedObjectContext];
Stamm *insert = [NSEntityDescription
insertNewObjectForEntityForName:@"Stamm"
inManagedObjectContext:context];
insert.vendor = @"Grazer Verkehrsbetriebe";
insert.town = @"Graz";
insert.image = @"graz_small.png";
This is how I add the data to the Core Data...
Thanks for your help!
BR,
Stefan