具有多个项目的工作区还是具有多个目标的一个项目? [英] Workspace with multiple projects or one project with multiple targets?
问题描述
我有4个相似的iOS应用.它们是闪存卡应用程序,每个应用程序都有不同的主题.他们共享许多课程和图片.现在,我将所有4个都作为单独的项目,但我希望简化维护并共享资源.将所有4个项目都放在同一个工作区中,还是在一个项目中有4个目标会更好?每种方法有哪些优点/缺点?它们看起来非常相似.
I have 4 iOS apps that are all similar. They're flash card apps, with each app having a different topic. They share a lot of classes and images. Right now I have all 4 of them as separate projects, but I'm looking to simplify maintenance and share resources. Would it be better to have all 4 projects in the same workspace, or have 4 targets in one project? What are some pros/cons of each method? They seem very similar.
推荐答案
Finally found the document that has exactly what I was looking for here: http://hoangtuanonline.com/mad/iPhone%20documents/iphone%20devdocs/Xcode_Workspace.pdf
具体来说,从第29页开始的部分列出了每种方法的优缺点.
Specifically, there's a section starting on page 29 that lists pros/cons of each method.
这篇关于具有多个项目的工作区还是具有多个目标的一个项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!