Re: Adding delegate connections to NSButton
Re: Adding delegate connections to NSButton
- Subject: Re: Adding delegate connections to NSButton
- From: Ricky Sharp <email@hidden>
- Date: Mon, 2 Apr 2007 17:27:07 -0500
On Apr 2, 2007, at 5:21 PM, Mike wrote:
When I try to connected an NSButton like a switch to my object in
IB, no "delegate" connection shows up in the inspector window when
I control-drag to my object's instance.
Do only some types of controls (NSTextField) have delegates and
other (like NSButton) not?
Yes.
It sounds like you want to perform an action when the checkbox is
checked/unchecked. For that, look into creating an action outlet.
Or, if the checkbox's value simply needs to update some model's
attribute, look into using a binding.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
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