iOS Developer Question: Download iOS Developer PDF

Explain Mutable and Immutable Types in Objective C Programming Language?

Tweet Share WhatsApp

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 PDF Read All 102 iOS Developer Questions
Previous QuestionNext Question
What is Bundle ID?What is the meaning of "weak" keyword?