how to assign string array values to varible
<p>hi i am new to iphone. what i am doing is sorting the labels for that i am assigning the string array to temporary string variable  as follows:</p>

<pre><code>NSString *tmp = [labels objectAtIndex:j-1];
labels[j-1]=labels[j];
labels[j] = tm;
</code></pre>

<p>but it shows error at last line that is incomplete types in assignment
how can i solve this?<br>
thank you</p>
