title: How to downcast from AnyObject to UInt16?
body: <p>I'm trying to pass some values into a function that accepts UInt16 values as arguments.</p>
  
  <p>I'm receiving the values by querying a database through Parse. The query returns an object (which I know to be an integer) of type AnyObject! and in order to pass it into the function, I must convert it to a UInt16. However, it seems like Swift doesn't like this, saying that UInt16 does not conform to the AnyObject protocol.</p>
  
  <p>I can downcast the type AnyObject! to an Int successfully, but I cannot cast that Int into a UInt16.</p>
  
  <p>Does anybody know how to resolve this?</p>