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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -