in Technology by
Explain when to use NSArray and NSMutableArray. Which one is faster and threadsafe in Objective-C?

1 Answer

0 votes
by

NSArray and its subclass NSMutableArray manage ordered collections of objects called arrays. NSArray creates static arrays, and NSMutableArray creates dynamic arrays

Related questions

0 votes
    What is the difference between Nsarray and Nsmutablearray?...
asked Aug 26, 2021 in Technology by JackTerrance
0 votes
    When might you use a CFArray/Dictionary instead of a NSArray/Dictionary?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Can we create Dynamic Classes in Objective C? If Yes, Explain how to create with a valid use case?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Can we use both swift (.swft) and objective c (.h .m) in same xcode project ?...
asked Mar 9, 2021 in Technology by JackTerrance
0 votes
    What is the use of category in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    I have a class that logs on to a server and retrieves some data. The data is put in a NSMutableArray, ... [heleTeksten componentsSeparatedByString:@"\n"]; NSString *searchFor = @"...
asked Jan 16, 2022 in Education by JackTerrance
0 votes
    Explain the difference between Swift vs Objective-C.?...
asked Nov 30, 2020 in Technology by JackTerrance
0 votes
    Is Objective C, a dynamic language? True/False, explain....
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain what is dot notation in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain how to call function in Objective-C....
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain what is @synthesize in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain types of protocol in Objective C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Explain what is protocol in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Are id and instanceType same? If not, what are differences between them in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    Limitations and problems with category in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
...