• 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: binding to a sum
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: binding to a sum


  • Subject: Re: Core Data: binding to a sum
  • From: David Catmull <email@hidden>
  • Date: Wed, 7 Apr 2010 20:29:18 -0700

On Apr 7, 2010, at 10:19 AM, Keary Suska wrote:
> On Apr 7, 2010, at 9:14 AM, David Catmull wrote:
>> ..so I take it the particular NSSet variant used by Core Data doesn't support observing @sum. Or did I do that wrong?
>
> Yes, because you are trying to observe an element of a set. Same goes for arrays. Instead, add an array controller whose content is bound to "items", and bind to arrangedObjects->@sum.limit.


Thanks! I'm used to just thinking of array controllers as a way to feed table views. This did the trick.

David Catmull
email@hidden



_______________________________________________

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

References: 
 >Core Data: binding to a sum (From: David Catmull <email@hidden>)
 >Re: Core Data: binding to a sum (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: How to change to the smoother single-stage animation
  • Next by Date: Re: IB Parses Class Names?
  • Previous by thread: Re: Core Data: binding to a sum
  • Next by thread: Table view question
  • Index(es):
    • Date
    • Thread