CoreData min and max entity settings
CoreData min and max entity settings
- Subject: CoreData min and max entity settings
- From: Steve Israelson <email@hidden>
- Date: Tue, 31 Jul 2007 10:58:49 -0700
I have a CoreData app that has an entity in its data model to type
float.
I have entered 100 for the min value and 1000 for the max value in
the data model editor.
This works fine.
When I run the app and enter a value of less than 100 I get a generic
error dialog stating "Value less than minimum".
Now, later, I find I want the minimum relaxed to 1.
So, in the model editor I set the min value to 1.
I run the app, and the min value remains 100.
I have tried deleting the prefs file, a full from scratch build,
deleting the whole data model and re-entering it from scratch using
the same entity names and still it is limited to a minimum of 100.
I have scoured my few lines of code to see if there is a check for
"100.0", but there is nothing even closely related.
I have the edit field bound to a singleton entity instance (object
controller) and nothing else touches that entity.
Is there some sort of cache somewhere that core data is using?
Without a cache, how is it even possible for this to happen?
_______________________________________________
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