Re: obj-c newb question
Re: obj-c newb question
- Subject: Re: obj-c newb question
- From: Óscar Morales Vivó <email@hidden>
- Date: Wed, 5 Nov 2003 10:33:46 +0100
So, can you explain to me the diff. between a class method and an
instance method? I declared the GetDefaultDevice method with the -,
but I admittedly dont quite understand the difference between a class
method and instance as my background is in C++ and I havent been
able to map this idea to anything that I'm currently familiar with ...
Think static member functions (C++). Associated with the class, as
opposed to with object instances of it.
Except better, because they can be overwritten in derived classes.
That's something that can be hacked in C++ but can't be done out of the
box.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.