• 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 compound keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data compound keys


  • Subject: Core Data compound keys
  • From: Aaron Wallis <email@hidden>
  • Date: Wed, 1 Aug 2007 21:03:44 +1000

Hi there,

you'll have to forgive me, this is my first core data application, so this could be a uber n00b question.
I need to have an entity which is unique using a compound key. As an example, an article to a tag. Each article can have many tags, and thus each tag can have many articles, however, each article can only have each tag once, and since the interface isn't build on bindings (all system generated tags) I'd want to leave sqlite to the key management.


I'm expecting there to be loads of articles and tags, so i always have scaling in mind.
Whilst I could develop a compound key checker into the model itself, I was wondering if there were any existing models or settings available to models to allow this to happen automagically


thanks!

________________________/Az.________

Aaron Wallis
http://isnot.tv



_______________________________________________

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


  • Prev by Date: Re: Background processing and progress updates
  • Next by Date: How to access PersistentDocument data store from MainMenu
  • Previous by thread: Re: Background processing and progress updates
  • Next by thread: Re: Core Data compound keys
  • Index(es):
    • Date
    • Thread