iphone - How to declare protocol in separate header file -


i have 2 classes. both these classes delegates of each other. gives me error "can not find protocol declaration". after searching on net, came conclusion that, case of cyclic dependency.

to break dependency solution have suggested define protocol in header file. not find tutorial on how , how affect code?

it helpful, if creates example of this. in advance.

check @toro's answer in previous question uiviewcontroller calling each other's delegate


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -