将两个 Xcode 项目合并为一个

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22398907/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 04:45:58  来源:igfitidea点击:

Merging two Xcode projects into one

iosxcode

提问by rodger

I am really stumped....

我真的被难住了......

I have got two apps and i need to merge them into one.

我有两个应用程序,我需要将它们合并为一个。

how do i do this???

我该怎么做呢???

I need a home screen, swipe left (go to one app) and (swipe right) go to the other....

我需要一个主屏幕,向左滑动(转到一个应用程序)然后(向右滑动)转到另一个....

both apps are partially similar but have their own complexities about them.... so each app involves a login and uses Parse. (not sure if i should integrate both keys and id's and just use 1 data base or keep them separate as they are).

这两个应用程序部分相似,但都有自己的复杂性……所以每个应用程序都涉及登录并使用 Parse。(不确定我是否应该同时集成密钥和 id 并且只使用 1 个数据库或将它们保持原样分开)。

I need this to be formulated from 1 app that is downloaded from the app store instead of having two apps.

我需要通过从应用商店下载的 1 个应用程序来制定它,而不是拥有两个应用程序。

Please help me

请帮我

回答by Nithin Michael

Use workspace for doing this. The below links will help you for that.

使用工作区来执行此操作。以下链接将为您提供帮助。

1) Xcode Workspace

1) Xcode 工作区

2) Creating a Workspace

2)创建工作区

回答by Storm Factory

I don't have a step by step tutorial for the exact thing you're looking to do because I would need more information on what the two apps are that you want to merge. With that said, the functionality of swiping left and seeing the menu for App A and swiping right and seeing the menu for App B can be achieved by using this source code from GitHub https://github.com/SocialObjects-Software/AMSlideMenuThere are two video tutorials there that walk you through how to implement it.

我没有针对您要执行的确切操作的分步教程,因为我需要有关您要合并的两个应用程序的更多信息。随着中说,向左滑动,然后看到为App A中的菜单和右滑动和看到对应用B的菜单的功能可以通过使用此源代码从GitHub来实现https://github.com/SocialObjects-Software/AMSlideMenu有那里有两个视频教程,可引导您了解如何实现它。

enter image description here

在此处输入图片说明