title: How to print (using NSLog) all properties of a class automatically?
body: <p>I think it's very difficult to print out the value of all properties of any class in objective-c, in the case the type of the property is complex.</p>
  
  <p>But if the class that contains properties with simple types (like, NSString, int, double, boolean), is there any way to NSLog automatically instead of NSLog manually the value of each property?</p>
  
  <p><strong><em>Updated</em></strong>:</p>
  
  <p>All the solutions you gave me are still manually. Is there any way like iterate through all properties of a class, and NSLog the <strong>variable_name</strong> and the <strong>variable_value</strong>. That's what I expected.</p>