Free and Pro versions
For my first 2 games I had a project for the Pro version and another project for the Free version, and, as everyone knows, that's a huge pain to maintain.
So, at first I created this:
#define kFreeVersion ([[[NSBundle mainBundle] infoDictionary]\
[@"CFBundleIdentifier"] isEqualToString:@"com.rolandleth.appnamefree"])and added a warning in the App Delegate:
#warning Reminder: Don't forget to check this on every release!
if (kFreeVersion) {
// do stuff for the free version
}