Subject: Re: Help with implementing delegates



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.

-- GG


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)

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:
http://lists.apple.com/mailman/options/cocoa-dev/maillists%40codeha.us

This email sent to maillists@xxxxxxxxx



Privacy