Question

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 ?

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top