title: Enum Case with Object
body: <p>How can one get the object inside an emun case? Is it possible without a switch statement?</p>
  
  <pre><code>enum ItemType {
      case person(Person)
      case dog(Dog)
      case cat(Cat)
  }
  
  var items = [ItemType]()
  
  
  var dog = items[index] // Would like the actual dog object
  </code></pre>