Runtime(III)

2019-10-06  本文已影响0人  Harely

property_getAttributes(objc_property_t _Nonnull property): 获取属性的真实类型

const char *attrs = property_getAttributes(property);

//Printing description of attrs:
(const char *) attrs = 0x0000000108cc3c26 "T@\"NSMutableArray<ShowNewsModel>\",&,N,V_list1"

property_getAttributes()

上一篇下一篇

猜你喜欢

热点阅读