• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
non-NSString values in model user info via xcode UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: non-NSString values in model user info via xcode UI
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Cleaning up weak references ( was Re: Odd Crash when adding table columns manually )
  • Next by Date: Re: loop not running
  • Previous by thread: Re: loop not running
  • Next by thread: Re: non-NSString values in model user info via xcode UI
  • Index(es):
    • Date
    • Thread