How to override a superclass' property with more specific types?

后端 未结 2 1850
旧巷少年郎
旧巷少年郎 2020-12-30 22:14

The Scenario
I have a situation where a base class called AbstractRequest has a delegate property of type id

2条回答
  •  猫巷女王i
    2020-12-30 22:50

    Just synthesize iddelegate in the ConcreteRequest.m it will work fine...It won't create any problem.

提交回复
热议问题