3

I made an iPhone application, and now I would like to make multiple more versions of the same application with very slightly different functionality.

I was wondering if anyone knew what the best way was to go about duplicating a project with as little decoupling (I think that's the right term) as possible.

Maybe someone out there who has made a LITE version of their iPhone application? How they went about doing it and what lessons they learned from it?

postalservice14
  • 2,515
  • 4
  • 25
  • 33

3 Answers3

2

Shoot, I'm sorry. Didn't find this when I was searching earlier, but looks like a lot of what I am looking for has already been answered here: How do I manage building a Lite vs Paid version of an iPhone app?

Community
  • 1
  • 1
postalservice14
  • 2,515
  • 4
  • 25
  • 33
1

One low budget, low overhead approach that I've used that will keep things simple is as follows:

/******************************************
* Set to 'FREE_APP' or 'PAID_APP' 
******************************************/
#define PAID_APP

Within your application, you then write code simimar to the following:

#ifdef PAID_APP
  @interface myViewController : UITableViewController 
#else
  @interface myViewController : UITableViewController <CustomTableAppDelegate> 
#endif  

This is by no means the best all around approach as you still have update the info.plist file to set the executable name and bundle identifier. However, in a pinch, it works well to maintain one code base/project.

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880
John Muchow
  • 4,798
  • 8
  • 40
  • 40
0

Here's another link

I've used this approach and it works pretty well.

Ushox
  • 768
  • 6
  • 13