Re: Coredata schema question.
Re: Coredata schema question.
- Subject: Re: Coredata schema question.
- From: Scott Ellsworth <email@hidden>
- Date: Wed, 1 Jun 2005 11:20:25 -0700
On May 31, 2005 at 10:14 PM, Scott Stevenson wrote:
On May 31, 2005, at 9:09 PM, James Andrews wrote:
My first question. I have a Categories Entity. I want to be able
to have categories that are children of categories. I am not sure
how to build a relationship for this. Suggestions on how to do
it, and explanations on why you would do it that way would greatly
appreciated.
Be warned that since 'category' is a reserved word to most ObjC
programmers, you may face some confusion when you refer to a 'Category'.
Just create a relationship on Category with a target entity of
Category. It will point to itself.
I have done things like this, and it worked well.
While doing this design, keep the iTunes playlist in mind, and note
how they did playlists. Following that UI may not be perfect, but it
will not confuse your users. Smart playlists appear to be best done
via fetched properties.
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden