When would you use nsarray and nsmutablearray?
Answer / Aishwarya Jaiswal
NSArray is used when the array's content is read-only, while NSMutableArray is used when the array's content can be modified. NSArray is immutable, so once it is created, its contents cannot be changed, whereas NSMutableArray allows you to add and remove objects from the array.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain what do you mean by synthesized in objective-c?
Is objective-c is used in window also?
How is #import different from #include?
Is c++ similar to objective c?
Is objective c statically typed?
What is better objective c or swift?
Is objective-c a dynamic language?
What is m file?
What is a category extension?
Does a thread created using performselectorinbackground:withobject: creates its own autorelease pool?
What is dot notation?
Is c++ objective c?