non-NSString values in model user info via xcode UI
non-NSString values in model user info via xcode UI
- Subject: non-NSString values in model user info via xcode UI
- From: Mikkel Eide Eriksen <email@hidden>
- Date: Thu, 20 Jan 2011 20:57:50 +0100
Hi all,
I have a Core Data model and I'd like to add some metadata about the entities/attributes/relationships. In most cases, strings are fine, but I'd also like to record arrays or even sub-dictionaries. This will reduce the amount of code in my app by a fair deal.
As far as I can tell, the XCode UI only allows values added to the user info dictionary to be strings. I suppose I could use a delimted string and do [[userdict valueForKey:@"key"] componentsSeparatedByString:@"delimiter"]] wherever I access it to get an array, but since the goal is reducing the amount of code, this seems counterproductive.
Any suggestions?
Regards,
Mikkel Eide Eriksen
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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