• 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
Re: Core Data modeling question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data modeling question


  • Subject: Re: Core Data modeling question
  • From: Alexander Spohr <email@hidden>
  • Date: Thu, 27 Nov 2008 17:11:42 +0100


Am 26.11.2008 um 22:08 schrieb Markus Schneider:

Shall I use a MO class "DAY" and model the list as a to-many relationship?

	TASK
		- startDate
		- endDate

		- exceptions  ------------->  DAY
								  - date

Is this really necessary or is there a more elegant way?

This IS the elegant way.

If you need an array use an own table for the destination and connect it 1-n.

	atze

_______________________________________________

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 modeling question
      • From: Jerry Krinock <email@hidden>
References: 
 >Core Data modeling question (From: Markus Schneider <email@hidden>)

  • Prev by Date: [MEET] Aachen CocoaHeads TODAY (November 27, 2008)
  • Next by Date: What is the best way to get an NSSlider to respond to the mouse scroll wheel?
  • Previous by thread: Core Data modeling question
  • Next by thread: Re: Core Data modeling question
  • Index(es):
    • Date
    • Thread