title: Casting Any to AnyObject in Swift
body: <p>I have an object contained within a Dictionary like so:</p>
  
  <pre><code>let dict:&lt;String, Any&gt; = ["obj": self]
  </code></pre>
  
  <p>Then later on I am trying to use that object as the target of a button press:</p>
  
  <pre><code>button.addTarget(dict["obj"], action: "buttonPress:", forControlEvents: .TouchUpInside)
  </code></pre>
  
  <p>And I get the error:</p>
  
  <pre><code>Type '(String, Any)' does not conform to protocol 'AnyObject'
  </code></pre>
  
  <p>I am guessing here my issue is trying to cast <code>Any</code> as <code>AnyObject</code>. Is this even possible?</p>