@interface NSString (EqualTest)
@end
@implementation NSString (EqualTest)
- (BOOL)isEqual:(id)object {
NSLog(@"%s", __FUNCTION__);
return [super isEqual:object];
}
@end
会导致程序崩溃,why ???
@interface NSString (EqualTest)
@end
@implementation NSString (EqualTest)
- (BOOL)isEqual:(id)object {
NSLog(@"%s", __FUNCTION__);
return [super isEqual:object];
}
@end
会导致程序崩溃,why ???
本文标题:NSString+category `isEqual` cras
本文链接:https://www.haomeiwen.com/subject/sbpbdxtx.html
网友评论