ok what has changed in xCode7 / Swift so that I can no longer use the "po frame" to view the contents of a CGRect anylonger? Print status works very well in code. Why can't I view this in the debugger console, how am I used to?
var frame = self.myLabel.frame
frame.origin.x = self.startingFrame.origin.x + translation.x
frame.origin.y = self.startingFrame.origin.y + translation.y
print(frame)
self.myLabel.frame = frame
still in the debugger, if I break the statement self.myLabel.frame = frame and use po (or p or print) in the debugger, I get:
(164.0, 323.0, 41.6666666666667, 20.3333333333333)
(lldb) po frame
error: <EXPR>:1:1: error: use of unresolved identifier 'frame'
frame
^~~~~
(lldb) p frame
error: <EXPR>:1:1: error: use of unresolved identifier 'frame'
frame
^~~~~
(lldb) print frame
error: <EXPR>:1:1: error: use of unresolved identifier 'frame'
frame
^~~~~
(lldb)
source
share