如何在Swift中打印出NSDictionary?

时间:2015-04-10 12:05:14

标签: ios objective-c swift terminal

如何在Swift中打印NSDictionary的值?

let gr2 : FBSDKGraphRequest = FBSDKGraphRequest(graphPath: "me", parameters: nil)
        gr2.startWithCompletionHandler({ (connection, result2, error) -> Void in

这是控制台输出:

(lldb) po result2
(instance_type = Builtin.RawPointer = 0x145b6340 -> 0x3529fbc0 (void *)0x3529fbd4: __NSCFDictionary)
 {
  instance_type = 0x145b6340 -> 0x3529fbc0 (void *)0x3529fbd4: __NSCFDictionary
}

但在这里我得到了一些微不足道的输出。我想看看键和值。

0 个答案:

没有答案