我有一个类x,继承自类y,y有一个代理delegate,而我自己的类x也有自己的代理xdelegate, 现在xcode提示propert type ‘xxx’ is incompatible with type ‘xxx’ inherited from y。 这样会不会有什么冲突? 要如何解决?
子类无需再写delegate,如果需要,覆写