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
Tree controller bindings and @sum question
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Tree controller bindings and @sum question
Subject
:
Tree controller bindings and @sum question
From: "Ian G. Gillespie" <
email@hidden
>
Date: Thu, 26 May 2005 15:44:40 -0400
I have successfully setup a NSTreeController for use with an outline view using Core Data. I want to have a text field that sums the values in one of the table columns. I tried binding the text field to the tree controller's arrangedObjects with a key path of @sum.totalAmount. At run time, however, I get the error [<_NSControllerTreeProxy 0x4e8ce0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key @sum. Does this only work with an array controller and not a tree controller? If so, how would one go about binding a text field to sum the values from a column?
_______________________________________________
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: Tree controller bindings and @sum question
From:
"Ian G. Gillespie" <email@hidden>
Prev by Date:
Re: reordering NSTableView elements
Next by Date:
Re: reordering NSTableView elements
Previous by thread:
drawRect is getting the wrong Rectangle
Next by thread:
Re: Tree controller bindings and @sum question
Index(es):
Date
Thread