Re: Several questions
Re: Several questions
- Subject: Re: Several questions
- From: Michael Dagate <email@hidden>
- Date: Fri, 6 Jul 2001 16:31:02 -0500
Class methods (similar to static member functions in C++) don't require
an instance of the class; instance methods do.
Have you seen the Objective-C doc? Look for
/Developer/Documentation/Cocoa/ObjectiveC/ObjC.pdf. If you already know
C and also understand object-oriented programming, you can pick-up
Objective-C pretty quickly with this one doc.
Michael
On Friday, July 6, 2001, at 02:28 AM, jgo wrote:
From: "John C. Randolph" <email@hidden>
Date: 2001 July 02 21:11:36 -0700
On Monday, 2001 July 02 at 18:26, Hisaoki Nishida wrote:
I have some general questions about Cocoa programming...
2. What's the difference between - and + (in method declarations)?
- means an instance method. + means a class method.
Well, I know what a class is, and I know what an instance is,
but what is an "instance method" as opposed to a "class method"?
I never considered the possibility that a method would be
instantiated, as contrasted with data members/instance variables.
John G. Otto Nisus Software, Engineering
www.infoclick.com www.mathhelp.com www.nisus.com software4usa.com
EasyAlarms PowerSleuth NisusEMail NisusWriter MailKeeper QUED/M
Will program Macs
for food.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev