NSString Returning?
<p>how can i return NSString safely without any corruption of data?
for example i have done like this..</p>

<pre><code>-(NSString *)compose
{
  NSString *xml;
   return xml;
}
</code></pre>

<p>If xml has more than 2 kb, will it be returned safely...how can i allocate memory with autorelease every time?</p>
