iOS Developer Question:
Download Questions PDF

Explain Mutable and Immutable Types in Objective C Programming Language?

iOS Developer Interview Question
iOS Developer Interview Question

Answer:

Mutable Types means you can modify the Contents later when you feel the need. However, when an Object is marked as Immutable, it implies that the data cannot be modified later after it has been initialized. Therefore, the stored values are Constant here.

Example:
NSString, NSArray values cannot be altered after initialization.

Download iOS Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What is Bundle ID?What is the meaning of "weak" keyword?