ios - How to quickly print out all the properties in a NSObject and its derivatives? -


say, have object of uicolor, can print out debug information of property information?

i need print properties red, blue, green components.

if log uicolor object so:

uicolor *color = [uicolor redcolor]; nslog(@"%@",color); 

it output uidevicergbcolorspace 1 0 0 1 represents rgba value of color object. these numbers range 0 1.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -