我正在尝试创建 NSString 类别,但在尝试访问 getter/setter 时应用程序崩溃。
#import <Foundation/Foundation.h>
#import <AddressBook/AddressBook.h>
@interface NSString (MyCat)
@property (assign, nonatomic) ABRecordRef personRef;
- (void)setPersonRef:(ABRecordRef)personRef;
- (ABRecordRef)personRef;
@end
谁能指出问题?