Skip to content

remove usage of NSSelectorFromString to avoid app review problems #6

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

Merged
merged 2 commits into from
May 21, 2017

Conversation

igor-makarov
Copy link
Contributor

According to some reports (such as this issue), Apple has gotten overly aggressive with dynamic run-time code resolution, including respondsToSelector:.

This pull requests removes the usage of a string for resolving the selector and implements it more directly.

@mxcl
Copy link
Member

mxcl commented May 21, 2017

I had concerns that declaring the promise selector in the @interface may cause it to exist in the runtime, but then realized this is not (I believe) how it works.

@mxcl mxcl merged commit 162eff7 into PromiseKit:master May 21, 2017
@igor-makarov
Copy link
Contributor Author

👍

@mxcl
Copy link
Member

mxcl commented May 21, 2017

I'll try to push a pod update this week.

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.

2 participants