我有一个DamageAccount类,看起来像这样:我怎样才能找出我的班级从哪个班级继承?
@interface DamageAccount : BaseModel
{
NSMutableArray *DamageList;
NSDate *Time;
NSString *Title;
}
@property (nonatomic,retain) NSMutableArray *DamageList;
@property (nonatomic,retain) NSDate *Time;
@property (nonatomic,retain) NSString *Title;
@end
使用[对象类别]我得到的类名。但我怎么知道这个类继承自BaseModel?
有没有这个功能?
谢谢!这对我非常有帮助! – DeFlo
没问题媚兰,很高兴帮助。如果它对你有用,请不要忘记接受答案; o)Dave –