• 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: Cocoa-dev Digest, Vol 10, Issue 76
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-dev Digest, Vol 10, Issue 76


  • Subject: Re: Cocoa-dev Digest, Vol 10, Issue 76
  • From: gweston <email@hidden>
  • Date: Sun, 03 Feb 2013 15:54:16 +0000 (GMT)

From the compiler standpoint
though, IBAction is equivalent to "void", so let's just assume the
method in question reads like the following, and we'll break it down:

-(void)someMethod: (id)inSender;

...

3. someMethod: this is the name of the method
 
Care needs to be take here. The name of the method is "someMethod:" rather than "someMethod"; the colon, as subsequently noted, does indicate the presence of a parameter declaration but it is very much part of the name of the method as well.

Greg

_______________________________________________

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


  • Prev by Date: Re: new to Cocoa/Objective-c: many points of confusion
  • Next by Date: Re: Localization not working based on region with en-US, en-UK and en lproj
  • Previous by thread: Re: NSDocument packages and incremental writing using NSFileWrapper
  • Next by thread: Interface Builder button appearance
  • Index(es):
    • Date
    • Thread