Skip to content

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