As a start change (void) to (IBAction) and have IB re-ingest your .h file with 
the declaration in it.

On May 9, 2012, at 12:33 PM, koko wrote:

> In a subclass of NSView I have implemented:
> 
> -(void)print:(id)sender
> 
> In IB I have connected a Print  menu item to print: in First Responder.
> 
> My print: method is not called.
> 
> There is only one instance of print: in the project.
> 
> So the basic question is "why would my print: method not becalled?"
> 
> -koko
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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/3tothe4th%40comcast.net
> 
> This email sent to [email protected]

Charlie Dickman
[email protected]




_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to