Cannot find protocol declaration in Xcode

前端 未结 5 491
没有蜡笔的小新
没有蜡笔的小新 2021-01-01 13:08

I\'ve experienced something today while I\'m building my app. I\'ve declared a protocol in my MyObject1 and add delegate property on it. I\'ve assign MyObject2 as a Delegat

5条回答
  •  执念已碎
    2021-01-01 13:45

    Are you doing an

    #import "NameOfDelegate.h" 
    

    At the top of your MyObject header?

提交回复
热议问题