• 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
How do you store an NSArray as an attribute in a Core Data entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do you store an NSArray as an attribute in a Core Data entity


  • Subject: How do you store an NSArray as an attribute in a Core Data entity
  • From: email@hidden
  • Date: Thu, 19 Mar 2009 04:26:05 -0400

Hello,



I want to store a list of Strings as an attribute of an entity in Core Data but there doesn't appear to be a way to use NSArray (or NSSet or NSDictionary either) as an attribute.?Please can someone explain how you use an NSArray or NSDictionary as an attribute of a Core Data entity?




I have looked in Apple's Core Data programming guide (http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdNSAttributes.html) but it doesn't cover using an instance of a collection class as an attribute.







Thank you.




Tim Mowlem
_______________________________________________

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: How do you store an NSArray as an attribute in a Core Data entity
      • From: Chris Hanson <email@hidden>
  • Prev by Date: Re: Weird NSTableView with checkboxes issue
  • Next by Date: NSSegmentedControl send action only from the selected segment
  • Previous by thread: Re: Weird NSTableView with checkboxes issue
  • Next by thread: Re: How do you store an NSArray as an attribute in a Core Data entity
  • Index(es):
    • Date
    • Thread