Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个NSStringClass 类别,我正在尝试做一些自定义NSString操作。 我的NSString对象正在转换为NSCFString并在调用自定义NSString方法时崩溃。
NSString
NSCFString
*由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“-[__NSCFString stringByDeletingLastAndAddingFirstSlash]:无法识别的选择器发送到实例 0xa6015e0”