How to print out a property's contents using Xcode debugger?
问题 I'm writing an iOS app and I need help using the built-in Xcode debugger. Suppose I have an object called HomeViewController that has three properties @property (nonatomic) BOOL finished; @property (nonatomic, strong) NSArray *myArray; @property (nonatomic, strong) NSString *myName; @synthesize finished = _finished, myArray = _myArray, myName = _myName; Suppose I have a breakpoint in this class. How would I view the contents of these properties? I've tried things such as po myName , print