Hello. When I'm using Core Data I'm sometimes in a situation where I have an attribute than can only have a specific set of possible values. As an example let's say that you make a bug tracker and you have an entity called Bug. Then it's possible that you want an attribute for the state that the bug is in. Let's say that possible states are Open, Closed and In Progress.
What I've done so far is that I've had attributes like that defined as strings. Usually I've had a combo box or a radio group in the user interface and the possible input values have been defined by what the possible selections the combo box or radio group offers. One of the problems with this approach is that it doesn't work if the application is localized it into a different language. Then the word which indicates the state is stored differently depending on the current language. I need to save the selection in a language independent manner. How would you do that? I've tried to find an answer in the Core Data Programming Guide and I've also searched the list archives. I'm not really sure what the appropriate terminology for this specific kind of attribute would be so it could be that I'm just using the wrong search terms or I'm just not looking at the right place. So if this question have already been answered then a link to that thread or even a let-me-google-it-for-you would be helpful. Brian _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com