I have two Projects(Two apps)named A,B which was created seperately,Now i want to make this into one app,Is it Possible?
Example In this app it should launch with A(viewcontroller in Project A) as view and do some actions then by button tap or something like that i have go to B(viewcontroller in Project B)as View and do actions then i have to back to some view of A.want to go different views in both the projects then i want to relate and pass data between two project class files.
NOTE: Both the projects have 5 storyboards & 100 class files each. Both are not a libraries.
I have gone through with workspace concept but can't get a clear idea.
You could use an Xcode workspace.
A workspace is an Xcode document that groups projects and other documents so you can work on them together. A workspace can contain any number of Xcode projects, plus any other files you want to include. In addition to organizing all the files in each Xcode project, a workspace provides implicit and explicit relationships among the included projects and their targets.
In the workspace, they share a build directory. To create one, go to File > New > Workspace, and select its location in your file system. Then, to add an existing project to a workspace:
- In the project navigator, control-click in the empty space below the
list.
- Choose Add Files to “”.
- Navigate into the folder containing the .xcodeproj file to add.
- Select the .xcodeproj file and click Add.
Then A
and B
will be in one big project.
Hope this will help,