Re: Basic Question
Re: Basic Question
- Subject: Re: Basic Question
- From: David Duncan <email@hidden>
- Date: Wed, 09 May 2012 09:56:36 -0700
They are the exact same thing (IBAction is primarily a macro for void). In fact, unless you are trying to bind directly to the view (which you didn't seem to be) it won't make any difference at all.
On May 9, 2012, at 9:47 AM, koko wrote:
>
> On May 9, 2012, at 10:45 AM, Charlie Dickman wrote:
>
>> As a start change (void) to (IBAction)
>
> I wanted to avoid that as the documentation for NSView shows
>
> - (void)print:(id)sender
>
> as the method signature.
>
> -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
--
David Duncan
_______________________________________________
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