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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -