title: Have a variable with multiple types in Swift
body: <p>I would like to have a variable, which can have multiple types (only ones, I defined), like:</p>
  
  <pre><code>var example: String, Int = 0
  example = "hi"
  </code></pre>
  
  <p>This variable should be able to hold only values of type Int and String.</p>
  
  <p>Is this possible?</p>
  
  <p>Thanks for your help ;)</p>