problem in memory allocation for array of objects in iphone SDK?
<p>if i do like,i know its wrong, but can anyone give alternative solution?</p>

<pre><code>for(int i = 0;i&lt;=3;i++)
{
  myclass *obj[i] = [[myclass alloc] init];
}
</code></pre>
