title: Releasing custom made NSObject class in iOS App
body: <p>I have a Class which I have created as an NSObject.
  This class has a number of properties of different types and 
  methods etc. </p>
  
  <p>When I instantiate this class in my App (say in the main View Controller) I
  immediately send it a release call when I am finished using it. ie:</p>
  
  <pre><code>MyObject *myObject = [[MyObject alloc] initWithParameters:parms];
  [myObject doSomeMethodCall];
  [myObject release];
  </code></pre>
  
  <p>So my question is:
  When I release myObject, does it automatically release all of the declared objects, variables, etc.
  that I declared in the MyObject .h file?</p>
  
  <p>OR</p>
  
  <p>Do I need to create a custom release method which releases all of these?</p>
  
  <p>I ask because of memory management issues.</p>
  
  <p>Thank you.</p>