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

后端 未结 2 1848
旧巷少年郎
旧巷少年郎 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条回答
  •  太阳男子
    2020-12-30 22:29

    The warning already gave the right clue. I used @dynamic in the overriding subclass and all is good.

提交回复
热议问题