Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain when to use nsarray and nsmutablearray. Which one is faster and threadsafe?



Explain when to use nsarray and nsmutablearray. Which one is faster and threadsafe?..

Answer / Babalu Gautam

NSArray is used when data modification is not required, as it is read-only. NSmutableArray is used for modifying the content of an array. Regarding speed, NSArray is generally faster because it's immutable, but NSmutableArray allows for dynamic changes to the data. Both are not threadsafe; they do not provide concurrent access safety.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Is a fact objective?

1 Answers  


What is the difference between c and objective c?

1 Answers  


What is assign property in objective c?

1 Answers  


Who calls dealloc method?

1 Answers  


How to convert objective c project to swift?

1 Answers  


Is objective c better than swift?

1 Answers  


What are the different types of protocols?

1 Answers  


What is dot notation?

1 Answers  


Can you please explain the way messaging works in objective-c?

1 Answers  


Is objective c and c the same?

1 Answers  


Is method and function same?

1 Answers  


Is objective c type safe language?

1 Answers  


Categories