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 (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/david.duncan%40apple.com
> 
> This email sent to david.dun...@apple.com

--
David Duncan


_______________________________________________

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