4thSpace
4thSpace

Reputation: 44312

How to view property value in debugger

I have a UIViewController and would like to see properties such as myview.view.hidden. In another class where I declare an instance of UIViewController, I can assign and read the property through code but would like to know the value at various points. In the debugger console, I can't do "po myview.view.hidden" or "p myview.view.hidden". Is there another way to do it?

Upvotes: 0

Views: 621

Answers (1)

Rob Napier
Rob Napier

Reputation: 299345

po [[myview view] hidden]

Upvotes: 2

Related Questions