title: Swift: Store multiple Types in a single array
body: <p>How do I store multiple Types in a single array?</p>
  
  <p>I'm doing the following:</p>
  
  <pre><code>var vehicles = [string]()
  let mustang = Car() // car is a class name
  mustang.brandName = "Ford"
  mustang.modelName = "Mustang" // string type
  mustang.modelYear = 1968
  mustang.isConvertibible = true
  mustang.isHatchback = false
  mustang.hasSunroof = false // bool type
  mustang.numberOfDoors = 2 // int type
  mustang.powerSource = "gas engine"
  
  // Add it to array
  vehicles.append(mustang.brandName)
  vehicles.append(mustang.modelName)
  vehicles.append(mustang.modelYear) // Error: int type not supported
  vehicles.append(mustang.isConvertibible) // Error: bool type not supported
  vehicles.append(mustang.brandName)
  vehicles.append(mustang.brandName)
  </code></pre>
  
  <p>How should I achieve this? I'm new to Swift / iOS.</p>