Enable Unique Selection
Enable Unique Selection
- Subject: Enable Unique Selection
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 03 May 2013 12:29:59 +0700
I have a button which only makes sense when exactly one thing is selected.
Currently it's Enabled property is bound to Array Controller.selectedObjects.@count.
I.e. the button is enabled if one or more things are selected.
But I want it to be disabled when nothing is selected AND also if more than one thing is selected.
Is there a way to do this without code?
If not - what to do ? Create a value transformer? Or what else?
Gerriet.
_______________________________________________
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