From iOSDevCampDC 2011. What happens when you build a new core data project? Take a look at the objects involved in using core data in your applications.
to a database without using sql or parsing results • Cocoa API with XCode tooling to assist you • Hibernate for Java, ActiveRecord for Rails Saturday, February 18, 12
setValue:@"Jeep" forKey:@"name"]; //Save the whole context which will save all the objects in it NSError *error = nil; if ([self.managedObjectContext save:&error]) { NSLog(@"Saved"); } else { NSLog(@"Error saving %@", [error localizedDescription]); } Saturday, February 18, 12
memory • Updates • Fast and Easy for small tables self.orders = [self.managedObjectContext executeFetchRequest:request error:&error]; Saturday, February 18, 12