title: Accessing optional values of a Swift dictionary
body: <p>I defined my dictionary parsed from JSON as [String: AnyObject]</p>
  
  <p>Then I try to access its values;</p>
  
  <pre><code>var vote: Int?
  
  if let voteValue: AnyObject = dictionary["vote"] {
      self.vote = voteValue as? Int
  }
  </code></pre>
  
  <p>Is there an easier/cleaner way to do this?</p>