Re: Cocoa-dev Digest, Vol 10, Issue 76
Re: Cocoa-dev Digest, Vol 10, Issue 76
- Subject: Re: Cocoa-dev Digest, Vol 10, Issue 76
- From: gweston <email@hidden>
- Date: Sun, 03 Feb 2013 15:54:16 +0000 (GMT)
From the compiler standpoint
though, IBAction is equivalent to "void", so let's just assume the
method in question reads like the following, and we'll break it down:
-(void)someMethod: (id)inSender;
...
3. someMethod: this is the name of the method
Care needs to be take here. The name of the method is "someMethod:" rather than "someMethod"; the colon, as subsequently noted, does indicate the presence of a parameter declaration but it is very much part of the name of the method as well.
Greg
_______________________________________________
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