Re: @selector signature with two colons instead of actual message name
Re: @selector signature with two colons instead of actual message name
- Subject: Re: @selector signature with two colons instead of actual message name
- From: David Reed <email@hidden>
- Date: Tue, 03 May 2011 22:04:49 -0400
On May 3, 2011, at 9:52 PM, Stephen J. Butler wrote:
> On Tue, May 3, 2011 at 8:49 PM, <email@hidden> wrote:
>> - (void)noEmailAlertDidEnd:(NSAlert*) returnCode:(NSInteger)retCode contextInfo:(void*)ctxInfo {
>
> See it now?
>
> - (void)noEmailAlertDidEnd:(NSAlert*) returnCode
> :(NSInteger)retCode
> contextInfo:(void*)ctxInfo
>
> It's using 'returnCode' as the first variable to the message
> (NSAlert*). And then it sees 'retCode' as a variable without a
> parameter name.
D'oh. I knew I had to be doing something stupid. I don't know how I missed that.
Thanks,
Dave
_______________________________________________
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