獲取類的屬性的真實(shí)類型
const char * attributes = property_getAttributes(property);
NSString *attributesString = [NSString stringWithUTF8String:attributes];
打印attributesString得到:Ti,N,V_flightID
屬性的名稱及意義
T后面的類型對(duì)照表
獲取類的屬性的真實(shí)類型
const char * attributes = property_getAttributes(property);
NSString *attributesString = [NSString stringWithUTF8String:attributes];
打印attributesString得到:Ti,N,V_flightID