• 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: Model Key path for @sum of attribute of related entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Model Key path for @sum of attribute of related entity


  • Subject: Re: Model Key path for @sum of attribute of related entity
  • From: Stefan <email@hidden>
  • Date: Tue, 8 Aug 2006 01:02:52 +0200


Forgot this: 'email@hidden' is the Model Key Path of a NSTableView column's value binding.


The mentioned messages appears only once, when I open the respective window
first. The table gets not filled.


If I resize the window - and thus the embedded NSTableView - the
table updates is data fine. Each sum of all referenced 'tr' entities
gets calculated.

Am 07.08.2006 um 18:39 schrieb Stefan:

How to I get the sum of attribute 'val' of entity 'tr' related to entity 'ac'.

'ac' relates to 'tr' using the attribute 'ac2tr'.

Using 'arrangedObjects' for an 'ac' NSArrayController, I tried

	email@hidden

and got this error message:

[<_NSFaultingMutableSet 0x3c42e0> addObserver:forKeyPath:options:context:]
is not supported. Key path: @sum. val

_______________________________________________ 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
  • Follow-Ups:
    • Re: Model Key path for @sum of attribute of related entity
      • From: Stefan <email@hidden>
References: 
 >Model Key path for @sum of attribute of related entity (From: Stefan <email@hidden>)

  • Prev by Date: Re: Xcode version
  • Next by Date: Finding moved files by file descriptor or inode
  • Previous by thread: Model Key path for @sum of attribute of related entity
  • Next by thread: Re: Model Key path for @sum of attribute of related entity
  • Index(es):
    • Date
    • Thread