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
Post a Comment