With NSMutableArray
we get additional methods like
addObject
insertObject
removeObjectAtIndex
Why we want to use non-mutable NSArray
when we get additional methods in NSMutableArray
? Is there any performance penalty when using NSMutableArray
over NSArray
?