UIViewController calling each other's delegate

后端 未结 3 1305
臣服心动
臣服心动 2021-01-14 19:47

I have two UIViewController, each has it\'s delegate and is calling one or the other. One class is called TopicViewController and the other is MentionViewController, the cod

3条回答
  •  粉色の甜心
    2021-01-14 20:24

    You need to use forward declaration for the protocols and only import the headers in the implementation file.

提交回复
热议问题