Data types in Swift

Swift provides us with both built-in and user defined data types. The most common data types available with Swift are as follows:

  1. Integer
  2. Float
  3. Double
  4. Boolean
  5. Optional
  6. Tuple
  7. Character
  8. String

Leave a Reply