我发现了一条奇怪的线,例如:
id *_optimizationHints; <- in NSManagedObjectModel.h
id* _cd_snapshots; <- in NSManagedObject.h
id** _kvcPropertyAccessors; <- in NSEntityDescription
id* _debuggingRecords; <- in NSManagedObjectContext.h
id *_cachedObsInfoByEntity; <- in NSManagedObjectContext.h
当我尝试使用ARC选项编译项目时,我看到如下错误:Pointer to non-const type 'id' with no explicit Ownership
怎么了?当我阅读类似的问题时,我需要替换id *->id
但这是主要的 CoreDate.Framework!
我无法理解这一点。
谁能解释这个“笑话”?