• 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: Help with implementing delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with implementing delegates


  • Subject: Re: Help with implementing delegates
  • From: Greg Guerin <email@hidden>
  • Date: Fri, 27 Mar 2009 12:39:14 -0700

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 (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


  • Follow-Ups:
    • Re: Help with implementing delegates
      • From: Drew Lawson <email@hidden>
  • Prev by Date: Help with implementing delegates
  • Next by Date: Re: Processing data maintained with Core Data
  • Previous by thread: Fwd: Help with implementing delegates
  • Next by thread: Re: Help with implementing delegates
  • Index(es):
    • Date
    • Thread