Re: Slower with Cocoa subclass
Re: Slower with Cocoa subclass
- Subject: Re: Slower with Cocoa subclass
- From: "Alastair J.Houghton" <email@hidden>
- Date: Sat, 1 Nov 2003 15:05:10 +0000
On Saturday, November 1, 2003, at 02:57 pm, Lorenzo wrote:
IMP *placeObject = [myCube
instanceMethodForSelector:@selector(placeObject)];
Does placeObject refer to myCube object only or to the myCube's class
generally?
placeObject is a pointer to the -placeObject method for any object of
class SBCube (it should have been
IMP *placeObject = [SBCube
instanceMethodForSelector:@selector(placeObject)];
but for some reason I thought you'd called your class "myCube").
I let you know that myCube is an object of the class SBCube, and
placeObject
is a method of the SBCube class.
So in the current main class header I declared
SBCube *myCube;
And I don't understand the following statement:
myCube *cube;
As I said, I thought you'd said your class was called "myCube", but
looking at your previous e-mail I can't see why I thought that. It
should, of course, be SBCube.
Kind regards,
Alastair.
_______________________________________________
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.