作者:吉樺雄_910 | 来源:互联网 | 2024-10-17 12:55
IamhavinganissuewithmyXcodeproject.我的Xcode项目有一个问题。Ihavetheselines:我有这些线:typedefstr
I am having an issue with my Xcode project.
我的Xcode项目有一个问题。
I have these lines:
我有这些线:
typedef struct
{
NSString *escapeSequence;
unichar uchar;
}
and I am getting this error:
我得到了这个错误:
ARC forbids Objective-C objects in structs or unions.
ARC禁止在结构或工会中使用Objective-C对象。
How can I fix it?
我怎样才能修好它?
I cannot seem to find how this violates ARC but I would love to learn.
我似乎不知道这是如何违反了弧线,但我很想学习。
4 个解决方案