title: objective c how to create dictionaries dynamically and refer to them
body: <p>i need to create and destroy dynamically dictionaries, or arrays,
  and have them as instance variables,</p>
  
  <p>so for example, [pseudocode]</p>
  
  <p>*.h</p>
  
  <pre><code> nsmutableDictionary myDictn???
   nsstring arrayn ???
  </code></pre>
  
  <p>how to create an instance dictionarie, and property, that dinamically get created and destroyed?, and how to refer to it?</p>
  
  <p>*.m</p>
  
  <pre><code> n = 0
   create container {
    myDictn alloc init
   n+1
   }
  
  
  
  other {
  myDictn addobject@"data" forKey"myKey"
  
  }
  
  destroy container {
  myDictn release
  n-1
   }
  </code></pre>
  
  <p>So what intend to show is that i would like to have myDict1, myDict2...
  if created,
  or destroy them if needed</p>
  
  <p>thanks a lot!</p>