title: Which iPhone OS memory management rules and how-to's do you know?
body: <p>Currently I am jumping into the ice cold water called "memory management in iPhone OS".</p>
  
  <p>Here's one rule i've learned:</p>
  
  <p>Every time I see an alloc in my method, I will release that corresponding variable at the bottom of the method.</p>
  
  <p>Every time I create an @property(...) in my header file which says copy or retain, I put a release message on that variable into the dealloc method.</p>
  
  <p>Every time I have an IBOutlet, I do the same thing. Only exception: If the IBOutlet has something like @property(... assign), or in other words: If it has the assign keyword at all. Then I don't care about releasing it in the dealloc method.</p>
  
  <p>I feel that there are many more good rules to know! Just write down what you have. Let's scrape them all together. Links to great descriptions are welcome, too.</p>