move UITableCell
<p>I used codes below to move an UITableCell</p>

<pre><code>- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath {


    NSMyObj *newObj=[myArray objectAtIndex:[fromIndexPath row]]  ;//myArray is the array to store NSMyObj
    [myArray removeObjectAtIndex:[fromIndexPath row]];
    [myArray insertObject:newObj atIndex:[toIndexPath row]];//

}
</code></pre>

<p>but it reported:</p>

<p>objc[316]: FREED(id): message retain sent to freed object=0x3d3d330</p>

<p>Welcome any comment</p>

<p>Thanks</p>

<p>interdev</p>
