@interface Cat : NSObject @property (nonatomic,strong)NSString *name; @property (nonatomic,assign)int age; @end @implementation Cat - (NSString*)description { return [NSString stringWithFormat:@"< Cat: age=%d , name=%@ >" ,self.age,self.name]; } @end