I wat to do something like this:
if (viewController.mapView) [viewController.mapView someMethod];
However, if mapView is not a class variable, this crashes. How do I check if mapView exists?
I wat to do something like this:
if (viewController.mapView) [viewController.mapView someMethod];
However, if mapView is not a class variable, this crashes. How do I check if mapView exists?