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

Changed APPIRATER_APP_ID #define to static NSString #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frankus
Copy link

@frankus frankus commented Jul 1, 2011

I tried replacing the integer app ID with a code snippet (we have like 40 different targets and are pulling the app ID out of a configuration file), and found that the code was expecting a bare integer. So I deleted the -stringWithFormat: call, and changed the #define to the @"12355" format.

I can see arguments both ways, but this parallels the other #defines (some of which are code snippets) a bit better.

Thanks for this project, by the way. It's well-written and a real time-saver!

This means that you can replace the definition with a snippet of code (say, pulling it from a configuration file for different targets). The previous code only worked with a bare integer.
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.

1 participant