如何获取自定义类的所有属性 以及属性的类型
展开全部
@interface AppState : NSObject{
BOOL _passed;
int _int;
/**
* 状态是否正常
*/
BOOL isPassed;
/**
* 用户数据
*/
NSMutableDictionary * userValues;
}
@property(nonatomic ,assign) float _float;
@property(nonatomic ,assign) double _double;
@property(nonatomic ,retain) NSDate * _date;
@property(nonatomic ,assign) char _char;
@property(nonatomic ,assign) int _int;;
@property(nonatomic ,assign) BOOL _passed;
@property(nonatomic ,assign) BOOL isPassed;
BOOL _passed;
int _int;
/**
* 状态是否正常
*/
BOOL isPassed;
/**
* 用户数据
*/
NSMutableDictionary * userValues;
}
@property(nonatomic ,assign) float _float;
@property(nonatomic ,assign) double _double;
@property(nonatomic ,retain) NSDate * _date;
@property(nonatomic ,assign) char _char;
@property(nonatomic ,assign) int _int;;
@property(nonatomic ,assign) BOOL _passed;
@property(nonatomic ,assign) BOOL isPassed;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询