• 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: derived values from several entities and managed object instances ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CORE DATA: derived values from several entities and managed object instances ??


  • Subject: Re: CORE DATA: derived values from several entities and managed object instances ??
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 18 Jan 2006 15:07:37 -0800


On Jan 18, 2006, at 2:54 PM, dan pahlajani wrote:

Yes, i have read ALL the documentation. Also if you are refering to the
FAQ # 2, it shows how to access to-many related objects as "set" and
not as an array. I am interested in accessing array.

It's not clear exactly what you mean here, or what the problem is.

In Core Data, relationships (other than fetched relationships) are represented by sets, not arrays. Whether they were represented by sets or arrays, the principle for calculating the derived property would be the same. And what you return from an accessor method (for a derived property) is up to you...

mmalc

_______________________________________________
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


References: 
 >CORE DATA: derived values from several entities and managed object instances ?? (From: dan pahlajani <email@hidden>)
 >Re: CORE DATA: derived values from several entities and managed object instances ?? (From: "R. Matthew Emerson" <email@hidden>)
 >Re: CORE DATA: derived values from several entities and managed object instances ?? (From: dan pahlajani <email@hidden>)

  • Prev by Date: Re: Comparing pixels in an image
  • Next by Date: Re: Can't reopen last-saved document (NSPersistentDocument)
  • Previous by thread: Re: CORE DATA: derived values from several entities and managed object instances ??
  • Next by thread: Re: CORE DATA: derived values from several entities and managed object instances ??
  • Index(es):
    • Date
    • Thread