I wanted to do something like this:
if (viewController.mapView) [viewController.mapView someMethod];
However, if mapView is not a class variable, this is a failure. How to check if mapView exists?
objective-c
Andrew Johnson Oct 08 '09 at 1:44 2009-10-08 01:44
source share