• 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: Basic Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic Question


  • Subject: Re: Basic Question
  • From: Bill Bumgarner <email@hidden>
  • Date: Wed, 09 May 2012 09:56:05 -0700

On May 9, 2012, at 9:47 AM, koko <email@hidden> wrote:

> I wanted to avoid that as the documentation for NSView shows
>
> - (void)print:(id)sender
>
> as the method signature.


IBAction is #def'd as void -- it is just a hook for IB's benefit.

That isn't the problem.

More likely than not, your view isn't first responder or otherwise in the responder chain.   Thus, when the AppKit dispatches the action down the responder chain, your view isn't in the chain.

b.bum
_______________________________________________

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: Basic Question
      • From: koko <email@hidden>
References: 
 >Re: Basic Question (From: Charlie Dickman <email@hidden>)
 >Re: Basic Question (From: koko <email@hidden>)

  • Prev by Date: Re: iOS launch Music app?
  • Next by Date: Re: Basic Question
  • Previous by thread: Re: Basic Question
  • Next by thread: Re: Basic Question
  • Index(es):
    • Date
    • Thread