Checking the size of an object in Objective-C
I'm trying to find the size of an objective-c object. I'm using something similar to:

    	NSLog(@"sizeof myObject: %ld", (unsigned)sizeof(*myObject));

That just gives me the size of the pointer though.  

What am I doing wrong?

Checking the size of an object in Objective-C
===

I'm trying to find the size of an objective-c object. I'm using something similar to:

    	NSLog(@"sizeof myObject: %ld", (unsigned)sizeof(*myObject));

That just gives me the size of the pointer though.  

What am I doing wrong?
