Xcode debugging: View value of NSNumber?

前端 未结 1 834
礼貌的吻别
礼貌的吻别 2021-01-07 08:05

Is it possible to see the numeric value of an NSNumber in the debugger datatip on in the variable watch window?

I store an Integer value in NSNumber and want to see

相关标签:
1条回答
  • 2021-01-07 08:28

    Open the Debugger view and in the Summary column enter

    {(int)[$VAR intValue]}
    

    or whatever interpretation is most appropriate for what you want to see in the Debugger.

    0 讨论(0)
提交回复
热议问题