Added `respondsToSelector:` check for optional delegate methods

Fixes a crash where `NAMapViewDelegate` methods were marked optional, but were not checked with `respondsToSelector` when called.