我有一個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 –