Auto property synthesis will not

2018-06-13  本文已影响38人  iOS_愛OS

警告 Auto property synthesis will not synthesize property 'size'; it will be implemented by its superclass, use @dynamic to acknowledge intention

表示:类中的这个属性,在父类中也存在,这时候编译器不知道到底是 到底 synthesize 哪个属性。就会报错。

上一篇 下一篇

猜你喜欢

热点阅读