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

Already on GitHub? Sign in to your account

Refactor so there is a new rateApp method to explicitly rate the app. #22

Merged
merged 2 commits into from May 2, 2011

Conversation

Projects
None yet
2 participants
Contributor

mmorearty commented Apr 20, 2011

There are times when the program might want to explicitly invoke the code that causes the App Store to be launched. For example, an app might want to have a "Rate This App" commands on its Settings page. So this pull request refactors out the code that causes the App Store to be launched into a separate function, and exposes it as a new publicly visible +[Appirater rateApp] method.

If the user calls this new method, not only will the App Store be launched, but Appirater will remember that this happened, so the user won't be prompted again to rate that version of the app.

arashpayan pushed a commit that referenced this pull request May 2, 2011

Merge pull request #22 from mmorearty/rate_app.
Refactor so there is a new rateApp method to explicitly rate the app.

@arashpayan arashpayan merged commit 0f3776a into arashpayan:master May 2, 2011

Owner

arashpayan commented May 2, 2011

Thank you @mmorearty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment