• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: @selector signature with two colons instead of actual message name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >@selector signature with two colons instead of actual message name (From: email@hidden)
 >Re: @selector signature with two colons instead of actual message name (From: "Stephen J. Butler" <email@hidden>)

  • Prev by Date: Re: @selector signature with two colons instead of actual message name
  • Next by Date: Re: onSocketDidDisconnect in CocoaAsyncSocket
  • Previous by thread: Re: @selector signature with two colons instead of actual message name
  • Next by thread: Interruption of NSTreeController's selectionIndexPaths updating after mouseDown
  • Index(es):
    • Date
    • Thread