Re: NSLevelIndicator Bindings Crash
Re: NSLevelIndicator Bindings Crash
- Subject: Re: NSLevelIndicator Bindings Crash
- From: Ron Lue-Sang <email@hidden>
- Date: Tue, 24 Mar 2009 13:10:02 -0700
On Mar 24, 2009, at 11:52 , Walker Argendeli wrote:
I'm sorry for the trouble I'm giving you explaining this.
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?
I'm binding to the array controller called Item, which contains
entities of type Item. The level indicator is bound to the key
"selection" and model key path "priority" of the Item array
controller.
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?
If I have a row selected in the table view, change the level
indicator, select another row, and come back to the original row,
the row I changed will have defaulted back to 1.
Thanks,
- Walker Argendeli
You're binding a levelIndicator? The LevelIndicator's value binding is
"read-only". That's why it looks like you've changed the value, but
you really haven't. The rest of your setup sounds correct.
Please file a bug that NSLevelIndicator's value binding isn't "read-
write".
--------------------------
RONZILLA
_______________________________________________
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