문제

I have for exemple a view login, and two category : login+checkLogin and login+startConnection

The category connection use a method of the checkLogin category when it's finish. So I have a warning which tell me that the checkLogin method is not found. So to silent the warning, I import in the connection category the checkLogin category.

It is normal or is there an another solution ?

도움이 되었습니까?

해결책

You need to import the .h file which defines the category, presumably Login+CheckLogin.h, so that the implementation of the other category method has visibility.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top