Re: checkbox delegate
Re: checkbox delegate
- Subject: Re: checkbox delegate
- From: "Sean McBride" <email@hidden>
- Date: Wed, 21 Feb 2007 16:15:54 -0500
- Organization: Rogue Research
On 2007-02-21 16:07, Jaime Magiera said:
>On Feb 21, 2007, at 3:49 PM, Sean McBride wrote:
>
>> If you just want to know when your checkbox is clicked, you can use
>> the
>> target/action mechanism:
>> <http://developer.apple.com/documentation/Cocoa/Conceptual/
>> CocoaFundamentals/CommunicatingWithObjects/chapter_6_section_5.html>
>
>Ahhhh, OK, I was thinking that delegates might have some advantages
>over target/action. However, I guess there really isn't much state
>change in a checkbox. It's either on/off and that's about all. It
Well, a checkbox can have a 'mixed state' too (with a '-' instead of a
checkmark).
>looks like the mouseentered/left from the super classes would handle
>any need for user feedback pre/post click.
Not sure what you're trying to do here, but any post-click stuff can be
dealt with via target/action. What do you want to do pre-click? Some
kink of 'rollover'?
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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