title: Xcode 8 beta 6: AnyObject replaced by Any: where is classForCoder?
body: <p>Xcode 8 beta 6 has replaced <code>AnyObject</code> by <code>Any</code>.</p>
  
  <p>In some cases I used <code>a.classForCoder</code> for debugging reasons to see what's in it. With <code>AnyObject</code> this worked. With <code>Any</code> this doesn't work any more.</p>
  
  <p>Now that I have to use <code>Any</code>: what is the preferred way to see what type is in a variable of type <code>Any</code>?</p>
  
  <p>Casting to <code>AnyObject</code> appears not to be very useful since in many cases this is a <code>String</code> and <code>String</code> doesn't confirm to <code>AnyObject</code> any more since Xcode 8 beta 6.</p>