Xcode调试技巧
摘要:
上图中,我使用 po 命令显示一个 NSDictionary 的内容。注意在左侧我们可以看到 dict 的一些信息:3 key/value pairs,显示该 dict 包含的数据量,而展开的信息显示 isa 层次体系(即class 和 metaclass结构关系)。我们可以右击左侧的 dict,选中“Print Description of "dict"”,则可以在控制台输出 dict 的详细信息: [cpp] view plaincopyprint? Printing description of dict: {type = immutable dict, count 阅读全文
posted @ 2012-09-08 17:14 否极泰来 阅读(212) 评论(0) 推荐(0)
浙公网安备 33010602011771号