On May 9, 2012, at 9:47 AM, koko <k...@highrolls.net> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to