Constants, Variables, and Data Types

  • Waqar Malik


In OOP languages, an immutable object is an object whose state can’t be modified. Swift calls these constants. Once a constant object has been created and an initial value assigned, it can’t be changed. In contrast, an object whose value can be changed is a mutable object. Swift calls these variables.


Empty String Type String Constant Object Original Array Dictionary State 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Waqar Malik 2015

Authors and Affiliations

  • Waqar Malik
    • 1
  1. 1.CAUnited States

Personalised recommendations