开发者

How to quick view the value of NSCFString in debugger window?

Which is the quickest way to view the value of a NSCFString variable in debugger window?

As for NSString, the string value is automatically displayed in the window or you move your mouse over it. But for a NSCFString, I tried same but cannot find the internal str开发者_运维知识库ing.


When the program stops in your breakpoint, did you try typing the following into xcode's output console

po myNSCFString

being myNSCFString your NSCFString variable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜