阅读背景:

返回Objective-C中对象的所有属性

来源:互联网 

Is it possible to return a list of all the properties implemented by an object in Objective-C? I understand the properties are just getters and setters so I'm not sure how it would work. If this cannot be done, then is it possible to return all the selectors that an object will respond to? I'm looking for something similiar to the "methods" method in Ruby.Is it possible to return a list of all the prop




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: