• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding delegate connections to NSButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Adding delegate connections to NSButton
      • From: Mike <email@hidden>
References: 
 >Adding delegate connections to NSButton (From: Mike <email@hidden>)

  • Prev by Date: Adding delegate connections to NSButton
  • Next by Date: -attributeKeys and Core Data
  • Previous by thread: Adding delegate connections to NSButton
  • Next by thread: Re: Adding delegate connections to NSButton
  • Index(es):
    • Date
    • Thread