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 is the principle distinction between the function calls and messages?
What is the difference between class and category?
What is a category in objective c?
What is property classification?
What is the difference between #import and #include in objective-c?
What is objective c in ios?
What is struct and enum?
What type of language is objective c?
What is objective c used for?
what is gcd? What are advantages over nsthread?
Is objective c better than swift?
What is strong and weak in objective c?