Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Bindings for a toggle control



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Using Bindings for a toggle control (From: Paul Thomas <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.