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

What do you understand by protocol?

1 Answers  


What are the types of ios binaries you can create using xcode?

1 Answers  


What is the difference between weak and unowned?

1 Answers  


What is delegation protocol?

1 Answers  


What is difference between nil and nill?

1 Answers  


What is gcd?

1 Answers  


What are the main objectives of training?

1 Answers  


How to convert string to nsnumber in objective c?

1 Answers  


Which is better swift or objective c?

1 Answers  


How do you insert a block?

1 Answers  


What is an example of tangible property?

1 Answers  


What type of language is objective c?

1 Answers  


Categories