I'm trying to implement my ReachabilityManager singleton and check if the internet is reachable. Unfortunately when I attempt to call the class methods I get this error.
To go through the checklist:
1) I have imported both the reachability and my manager into the tableView I'm working on.
2) I have implemented class methods in my singleton.
3) I've also instantiated the manager in the appDelegate.
So what am I missing?
isReachable is a class method and you are trying to call a class method from an object of this class by doing so
[[InternetReachabilityManager sharedManager] isReachable] ;
in order for this to work you should call your class methods from the class itself without creating an object from the class like so :
[InternetReachabilityManager isReachable] ;