I was just wondering if there is a quick and easy way of printing out to the log all of the various values of the properties to my class for debugging purposes. Like I would lik
The quick and dirty would be to override debugDescription:
debugDescription
-(NSString*)debugDescription { NSString *str = [[NSString alloc] initWithFormat:@"My BOOL 1: %d, My Float: %f", self.myBool, self.myFoat]; return str; }
Of course, if your object is complex, this could be time consuming.