I'm trying to save managed object with one of the attribute's type Date to the managedObjectContext .
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Tuesday, May 8, 2012
Problem with saving NSDate to the CoreData context
Friday, April 27, 2012
Core Data vs Sqlite and performance
I am wondering if anyone has any real world numbers on performance differences between an old sqlite application which has been converted to Core Data in the 3.0 SDK.
Sunday, April 22, 2012
Is Core Data useful for readonly data too?
I'm creating an iPhone App and am wondering whether Core Data is better for readonly data than a SQLite database. It feels like the SQLite DB is the better choice, is that right? Can I even pre-fill the Core Data storage?
Tuesday, February 28, 2012
Core Data - how to generate CoreDataGeneratedAccessors?
I've gone through apple dev website, google and stack overflow to figure out the basics behind CoreDataGeneratedAccessors.
Monday, February 27, 2012
Saturday, February 25, 2012
When is it best to do an NSManagedObjectContext save?
I have noticed that for a mobile application, saving on the main thread seems to take a bit when it compares to other applications on the device. Is it recommended to only save Core Data when the application enters the background or when an application closes instead of anytime items are added and sent / received from the api?
Friday, February 24, 2012
CoreData relationships are nil after mergeChangesFromContextDidSaveNotification
Having some truly strange behavior with Core Data on iOS. I have a NSManagedObjectContext for my main thread used to read data from a SQLLite persistent store and display it to the user. I also have background processes managed by an NSOperationQueue. These background processes create an NSMangedObjectContext, fetch data from remote servers, and persist that data to the local Core Data store. I have registered for NSManagedObjectContextDidSaveNotification and when I receive those notifications call mergeChangesFromContextDidSaveNotification on the main threads NSManagedObjectContext (passing the notification object as an argument).
Core Data - add relationship information to existing object
i set up a core data model with a "user" entity with several attributes.
Wednesday, February 8, 2012
Create a persistent store for Core Data
I did the tutorial on apples site, the Core Data tutorial for iOS and i did this tutorial about 3 times to see if i was mistaken, But when i finish the tutorial, it says that the app should work and be able to add Events to the table view, but when i press the + button, the app crashes and the console says: Cannot do save operation. There is no persistent store