Re: Using Bindings for a toggle control
Re: Using Bindings for a toggle control
- Subject: Re: Using Bindings for a toggle control
- From: "I. Savant" <email@hidden>
- Date: Thu, 26 Apr 2007 06:39:42 -0400
On Apr 26, 2007, at 4:50 AM, Paul Thomas wrote:
To make it a little more concrete, what I'm looking at is a Play/
Pause button that
- displays "Play" and is bound to -play: when -isPlaying is NO
- displays "Pause" and is bound to -pause: when -isPlaying is YES
See NSValueTransformer ...
http://developer.apple.com/documentation/Cocoa/Conceptual/
ValueTransformers/index.html
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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