Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreData min and max entity settings



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.