title: Swift unable to parse integer from NSMutableDictionary
body: <p>I have NSDictionary with print Description as </p>
  
  <pre><code>{
      accStatus = 2;
      accessKey = "55d66e4d4f740-c24aa8ef3a28564db5a2bf77c8638478-712675299";
      email = "abc@yahoo.com";
      id = 15;
      imagePath = "";
      name = "Umar";
      notifStatus = 0;
      phone = 923217268138;
  }
  </code></pre>
  
  <p>I am trying following code to parse</p>
  
  <pre><code>init (user: AnyObject)
  {
      self.id         = (user["id"] as? Int) ?? 0
  
      self.accStatus  = (user["accStatus"]  as AnyObject? as? Int) ?? 0
  
      self.accessKey  = (user["accessKey"] as AnyObject? as? String) ?? "" // to get rid of null
      self.name       = (user["name"] as AnyObject? as? String) ?? "" // to get rid of null     
  }
  </code></pre>
  
  <p>However its returning 0 for all ints. If i try to remove conditional ?? and replace with ! it gives me error</p>
  
  <pre><code>Could not cast value of type '__NSCFString' (0x24807ac) to 'NSNumber' (0x28d96dc).
  </code></pre>
  
  <p><code>AnyObject  NSMutableDictionary</code> clearly contains integer, how can i parse integer</p>