title: objective-c class variables: when is dealloc called?
body: <p>If I declare class variables in Objective-C, when is the memory released?</p>
  
  <p>If my interface is:</p>
  
  <pre><code>@interface TestClass : NSObject
  {
  }
  
  + (NSString)instanceCount;
  
  @end
  </code></pre>
  
  <p>And in the implementation, I declare:</p>
  
  <pre><code>static NSString instanceCount;
  </code></pre>
  
  <p>How do I release this class level variable? i.e. when is the dealloc called for class variables in Objective-C?</p>