• 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: ObjC Method naming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjC Method naming


  • Subject: Re: ObjC Method naming
  • From: Finlay Dobbie <email@hidden>
  • Date: Mon, 28 May 2001 22:58:51 +0100

On Monday, May 28, 2001, at 10:12 pm, Scott wrote:

Also, what does the minus sign ("-") mean in the declaration? I've seen the
plus sign used also. What's the difference? All it says in the docs is
"you could also use the plus sign..." but doesn't follow up with any meaning
behind it. And when I declare a method, do I HAVE to declare it with
parameter names or can I leave them out?

+ is for class methods
- is for instance methods

-- Finlay


References: 
 >Re: ObjC Method naming (From: Scott <email@hidden>)

  • Prev by Date: Re: ObjC Method naming
  • Next by Date: Re: ObjC Method naming
  • Previous by thread: Re: ObjC Method naming
  • Next by thread: Re: ObjC Method naming
  • Index(es):
    • Date
    • Thread