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.
objective-c Including category in another category
-
29-06-2023 - |
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 ?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow