Re: Help with implementing delegates
Re: Help with implementing delegates
- Subject: Re: Help with implementing delegates
- From: Drew Lawson <email@hidden>
- Date: Fri, 27 Mar 2009 19:48:34 -0400
According to Greg Guerin:
> albert jordan Mobility wrote:
>
> > In Foo, I have set up the following delegate method
> >
> > -(void) test: (dgtest *) sender:didFinish: (BOOL) complete
>
> Over-colonization? Try:
>
> -(void) test: (dgtest *) sender didFinish: (BOOL) complete
>
> Note the removal of the colon between sender and didFinish.
>
> Also note your original is not illegal, so the compiler won't
> complain about it.
You just gave me a newbie headache.
How is that original parsed?
--
Drew Lawson I had planned to be dead by now, but
the schedule slipped, they do that.
-- Casady
_______________________________________________
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