I'm in the process of creating an app. I'd like to have a pared down free version and a full paid version. Obviously, they will share a lot of code and some xib files. How to I share these without just duplicating them?
A:
How about making it one project with some sort of key or switch or something like that which will distinguish with version of the code to run.
Cody C
2009-07-11 20:45:35
+6
A:
Create a second target (duplicate the main one) for the light version. You can then remove any files as necessary and define a preprocessor macro if necessary to distinguish between code for the lite vs paid version within a given code file.
Andrew Pouliot
2009-07-11 21:23:41
I'll second this. It's much easier to have two similar targets in one project than to manage two projects.
Fraser Speirs
2009-07-11 21:51:04