• 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 18:51:25 +0200


Since no one answered, let me simplify my question. Can I use

	email@hidden

as Model Key Path of a 'value' binding of a NSTableView column?

If this isn't possible, could you propose another way to reach this
level of indirection?

Am 08.08.2006 um 01:02 schrieb Stefan:

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

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

  • Prev by Date: core data single document spotlight importer
  • Next by Date: Temporal XCode 2.4 problem in ADC
  • Previous by thread: Re: Model Key path for @sum of attribute of related entity
  • Next by thread: NSimage Problem
  • Index(es):
    • Date
    • Thread