As above. Would be helpful to know. Thanks!
Here are two options:
- (NSMutableArray *)createMutableArray1:(NSArray *)array
{
return [NSMutableArray arrayWithArray:array];
}
- (NSMutableArray *)createMutableArray2:(NSArray *)array
{
return [[array mutableCopy] autorelease];
}