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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to