Re: ObjC Method naming
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