Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added respondsToSelector: check for optional delegate methods #43

Merged
merged 2 commits into from
Jul 22, 2014

Conversation

frosty
Copy link

@frosty frosty commented Jul 22, 2014

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

… but were not checked with `respondsToSelector` when called.
@frosty frosty changed the title Fixes a crash where NAMapViewDelegate methods were marked optional, but were Added respondsToSelector: check for optional delegate methods Jul 22, 2014
@orta
Copy link
Collaborator

orta commented Jul 22, 2014

Thanks mr frost, any chance you can add this to the changelog please

@frosty
Copy link
Author

frosty commented Jul 22, 2014

Done! :)

orta added a commit that referenced this pull request Jul 22, 2014
Added `respondsToSelector:` check for optional delegate methods
@orta orta merged commit 390c6f2 into neilang:master Jul 22, 2014
@orta
Copy link
Collaborator

orta commented Jul 22, 2014

Thanks!

@frosty frosty deleted the non-optional-delegate branch July 22, 2014 11:37
@dblock
Copy link
Collaborator

dblock commented Jul 22, 2014

This is easily reproducible in a test, would appreciate one, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants