本文介绍了iPhone:我的应用程序的Lite版本完全不同的项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个两难的境地。

I've run into a bit of a dilemma.

我正在考虑制作我的应用程序的精简版,它将是免费的,但会在iAds上运行。因此,Lite版本将具有不同的.xib文件,因为我必须为这些iAd腾出空间。

I'm considering making a lite version of my app that will be for free but will run on iAds. The Lite version will therefore have different .xib files because I have to make room for those iAds.

那么更好的是,我应该在我的网站上制作更多的.xib文件项目,然后以某种方式以编程方式加载它们。或者我应该创建一个全新的项目(复制并粘贴
我的旧目录)并创建精简版?

So what's better, should I just make some more .xib files in my project and then somehow programmatically load them. Or should I just create a completely new project (copy & paste my old directory) and create the lite version?

推荐答案

绝对不要分叉。你会后悔很长时间,因为你必须合并几乎每个项目的提交。 (并且XIB文件无法合并...)

Definitely don't fork it. You will regret it big time down the road as you'll have to merge virtually every commit across projects. (And XIB files can't be merged...)

我甚至不知道您是否需要创建其他XIB文件。您可能只是有条件地调整/隐藏代码中的必要视图。但即使你必须创建额外的XIB文件,它也不能与你分叉时所经历的痛苦相比。

I don't even know if you necessarily need to create additional XIB files. You could probably just conditionally resize/hide the necessary views in code. But even if you have to create additional XIB files, it doesn't compare to the pain you'll go through from forking.

这篇关于iPhone:我的应用程序的Lite版本完全不同的项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 22:13