Re: Basic Question
Re: Basic Question
- Subject: Re: Basic Question
- From: koko <email@hidden>
- Date: Wed, 09 May 2012 10:57:24 -0600
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 (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
>
> Charlie Dickman
> email@hidden
>
>
>
>
_______________________________________________
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