Another bindings question
Another bindings question
- Subject: Another bindings question
- From: John Brownie <email@hidden>
- Date: Wed, 03 Jun 2015 10:18:44 +1000
The exception I was getting was from a binding established in IB, which
is a bit of a worry, but it prompts me to ask whether I'm pursuing the
right road.
What I have is an NSTableView (still cell-based, moving to view-based is
further down the track), and then a bunch of buttons that need to be
enabled only when there is a selection in the table. Binding to the
selection property of the array controller with NSNotNil doesn't work.
Binding to selectionIndexes.count (which works as 0 or 1) does work, but
this is the binding where I get the exception. Finding that binding was
trial and error, as I haven't really found a good guide to this whole
area, so I would be happy to have a better solution.
John
--
John Brownie, email@hidden or email@hidden
Summer Institute of Linguistics | Mussau-Emira language, Mussau Is.
Ukarumpa, Eastern Highlands Province | New Ireland Province
Papua New Guinea | Papua New Guinea
_______________________________________________
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