• 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: NSToolbarItem Action Not Passed to NSButton...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSToolbarItem Action Not Passed to NSButton...


  • Subject: Re: NSToolbarItem Action Not Passed to NSButton...
  • From: Andy Lee <email@hidden>
  • Date: Thu, 24 Apr 2014 23:47:42 -0400

On Apr 24, 2014, at 11:15 PM, "Peters, Brandon" <email@hidden> wrote:
> My button is inside the customer toolbar item, if I make the button an outlet, how will I connect to it in IB?

You can do it in code when you set it up.  See setAction: and setTarget:.

I don't know for sure if that'll work -- it's the only guess I can come up with.

--Andy


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: NSToolbarItem Action Not Passed to NSButton...
      • From: "Peters, Brandon" <email@hidden>
References: 
 >NSToolbarItem Action Not Passed to NSButton... (From: "Peters, Brandon" <email@hidden>)
 >Re: NSToolbarItem Action Not Passed to NSButton... (From: Andy Lee <email@hidden>)
 >Re: NSToolbarItem Action Not Passed to NSButton... (From: "Peters, Brandon" <email@hidden>)
 >Re: NSToolbarItem Action Not Passed to NSButton... (From: Andy Lee <email@hidden>)
 >Re: NSToolbarItem Action Not Passed to NSButton... (From: "Peters, Brandon" <email@hidden>)

  • Prev by Date: Re: ARC Retain Cycles
  • Next by Date: Re: GCD killed my performance
  • Previous by thread: Re: NSToolbarItem Action Not Passed to NSButton...
  • Next by thread: Re: NSToolbarItem Action Not Passed to NSButton...
  • Index(es):
    • Date
    • Thread