When to use nsmutablearray and when to use nsarray?



When to use nsmutablearray and when to use nsarray?..

Answer / Yogesh Singh Gunjiyal

Use "NSMutableArray" when you need to modify the array's contents. Use "NSArray" when you only need to read from it, as it is more memory-efficient and safer.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

Explain what is struct?

1 Answers  


What is push notification?

1 Answers  


. How do you change the content of your app in order to change the views displayed in the corresponding window?

1 Answers  


What are ios apps written in?

1 Answers  


Define 'retain' keyword?

1 Answers  


Explain mutable and immutable types in objective c programming language?

1 Answers  


What's new with the ios 7 camera?

1 Answers  


What is cocoa touch framework in ios?

1 Answers  


What is the difference between retain & assign in iOS operating system?

1 Answers   B-Ways TecnoSoft,


Explain how to delete images in ios?

1 Answers  


How to download something from the internet?

1 Answers  


Explain the difference between viewdidload and viewdidappear?

1 Answers  


Categories