Just an FYI ...

-(void)print:(id)sender 

is defined in the NSPrinting Category on NSView.

-koko




On May 9, 2012, at 10:45 AM, Charlie Dickman wrote:

> 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 (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/3tothe4th%40comcast.net
>> 
>> This email sent to 3tothe...@comcast.net
> 
> Charlie Dickman
> 3tothe...@comcast.net
> 
> 
> 
> 


_______________________________________________

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