title: Checking the size of an object in Objective-C
body: <p>I'm trying to find the size of an objective-c object. I'm using something similar to:</p>
  
  <pre><code>    NSLog(@"sizeof myObject: %ld", sizeof(*myObject));
  </code></pre>
  
  <p>That just gives me the size of the pointer though.  </p>
  
  <p>What am I doing wrong?</p>