ARC forbids Objective-C objects in struct
2017-10-17 18:11
1081 查看
struct objc_usertest { long age; NSString *name; // ARC }USER_TEST;ARC环境下,结构体使用objc对象的时候必须使用__unsafe_unretained
struct objc_usertest { long age; __unsafe_unretained NSString *name; }USER_TEST;
相关文章推荐
- ARC forbids Objective-C objects in struct
- iOS 项目运行“ARC forbids Objective-C objects in struct”错误
- ARC forbids Objective-C objects in struct
- iOS 项目运行“ARC forbids Objective-C objects in struct”错误
- ARC forbids Objective-C objects in struct
- ARC forbids Objective-C objects in struct
- ARC forbids Objective-C objects in struct
- ARC forbids Objective-C objects in struct
- ARC forbids Objective-C objects in structs or unions
- iOS-Bug: ARC forbids Objective-C object in struct
- ARC forbids Objective-C objects in structs or unions
- ARC forbids Objective-C objects in structs or unions
- JSONKit does not support Objective-C Automatic Reference Counting(ARC) / ARC forbids Objective-C objects in struct
- ARC forbids Objective-C objects in struct
- Classes, Objects, and Methods(Chapter 3 of Programming in Objective-C 2.0)
- Programming in Objective-C 学习笔记08——文件和ARC
- ARC forbids Objective-C objects in struct错误
- Stack and Heap Objects in Objective-C
- xcode5 arc 开启和关闭 出现错误提示 ARC forbids Objective-C
- ARC forbids explicit message send of 'release' 'release' is unavailable: not available in automatic