• 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
Core Data - attribute to hold an array of strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data - attribute to hold an array of strings


  • Subject: Core Data - attribute to hold an array of strings
  • From: "M.S. Hrishikesh" <email@hidden>
  • Date: Sun, 09 Aug 2009 15:18:39 +0530

I created an Entity called MyPlaces. I want to store a number of strings inside MyPlaces. How do I create an attribute to hold an array of strings? I know how to create an Attribute to hold a single string but I need to hold an array of strings.

One way is to create another Entity called PlaceName. PlaceName will have an attribute of type String. I will then make a to-many relationship from MyPlaces to PlaceName. But this seems way too roundabout to solve my problem. Is there an easier way?


Thanks Hrishi

_______________________________________________

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: Core Data - attribute to hold an array of strings
      • From: Shlok Datye <email@hidden>
  • Prev by Date: Re: [iPhone 3.0] correct way to release a UIImageView flip animation?
  • Next by Date: Re: Core Data - attribute to hold an array of strings
  • Previous by thread: Re: [iPhone 3.0] correct way to release a UIImageView flip animation?
  • Next by thread: Re: Core Data - attribute to hold an array of strings
  • Index(es):
    • Date
    • Thread