I have a table view class called RootViewController and a class providing WiFi functionality called WifiClass. When I load the RootViewController class, I am calling a method named setup on WifiClass, which will do the Wifi connection initialization.
While the app is running, if any connected device sends some data to my device, there is a stream handler delegate in the Wifi class which will trigger. At that time, I need to call a method named myMethod from my RootViewController. Please can anyone tell me a good way to do this properly?
There a different conceptes in Objective-C like