For example, for some reason in initWithNibName:bundle:
I can't see the value of self.view.bounds.size.width
, have to stop the program and use NSLog.
When I type self.view.bounds.size.width
into the watch, I get "Enter expression" message on the right.
When I type print self.view.bounds.size.width
into the debug console, I get the following errors:
error: unsupported expression with unknown type
error: 1 errors parsing expression
Is there any way to see ALL the values I can see using NSLog?
EDIT: By @Abizern's suggestion tried p self.view.bounds.size.width
and po self.view.bounds.size.width
- same result.
try
p self.view.bounds.size.width
or alternatively:
po self.view
p
is a simple print which works for values
po
is for print object
which essentially give the same result as an NSLog
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With