Re: NSLevelIndicator Bindings Crash
Re: NSLevelIndicator Bindings Crash
- Subject: Re: NSLevelIndicator Bindings Crash
- From: Keary Suska <email@hidden>
- Date: Tue, 24 Mar 2009 08:27:32 -0600
On Mar 23, 2009, at 2:04 PM, Walker Argendeli wrote:
Yes, you're right, Item is an NSArrayController representing the
entity "Item". Sorry about that.
ItemsList is an Entity and Array Controller representing an outline
view of folders. Each folder can have multiple Items in it.
Depending on which folder is selected in the ItemsList outline view,
the right Items will appear in the Table view whose columns are
bound to properties of the Item array controller. Depending on
which item is selected in the Item tableview, the level indicator,
which is bound to (the array controller) Item.selection.priority
The "Item.selection.priority" keypath indicates that you are
referencing the key "Item" of the array controller (as you describe).
How is that key defined?
For some reason though, I get the odd behavior that follows: In the
Item table view, if I have one item selected, then select a
different one, that new Item will have the levelindicator defaulted
back to 1, though it had been set to a different value previously.
Are you saying that the level indicator always shows 1, no matter what
the bound value is, or that it changes back to the original value
after you change it?
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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