Problem with CoreData
Problem with CoreData
- Subject: Problem with CoreData
- From: Laurent Daudelin <email@hidden>
- Date: Tue, 07 Feb 2012 12:48:10 -0800
Hello.
I have a very simple model with a table and some attributes in it. For some reason, I have an NSDate attribute that I want to use for a sort descriptor. The problem I'm having is that when I have my NSFetchedResultsController fetches the database, the NSDate attribute of all my fetched objects is always the current date, or now. When I look at the table in the database directly, I see there are different values for this attribute. There isn't any trick or manipulation behind the scene, my subclass of NSManagedObject just declares the properties that are in the table, nothing more, nothing less. I then added an NSString and basically the same thing is happening: when I look at the attribute in the table in the database, there are values for this string but when I fetch with my NSFetchedResultsController, all the strings are nil.
Has anybody ever seen this? What am I missing?
Thanks in advance for any pointer, help or info!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden