Is there any possibility to add Sub-project to current Project? - ios

Can anyone suggest me like:
I had done one project by using Objective-C. And I had an requirement to keep one button and If any user tap on that and it needs to open "https://github.com/Block-Equity/stellar-ios-wallet" (Swift) inside my app.
If user want to come back to Parent app from Sub-Project.. He can..
How can I keep 2 separate projects in One project and need to operate two projects while run-time?

Related

Navigation between multiple ios projects in an xcworkspace

We have developed 3 different projects(Three apps)named A,B,C which was created separately,
Now our client wants us to combine them into one app,Is it Possible?
Requirement:
Project A : Manages sales orders for clients.
Project B : Keeps track of the Inventory
Project C : Monitors Customer feedback.
We need a home screen, which has 3 buttons and on clicking the button the corresponding process is invoked same as the individual app is doing right now.
NOTE: All 3 the projects have 5 storyboards & 30-40 class files each. Both are not a libraries.
I have gone through with workspace concept but can't get a clear idea. I created new workspace and added my 3 projects. But Iam not able to Navigate from storyboard 1 to storyboard 2.
You can use ios Deep linking with different tags for each project.
for better understanding please follow this tutorial.
http://blog.originate.com/blog/2014/04/22/deeplinking-in-ios/
Hope it will help!.
I believe the right way is to create an additional Core module (which incapsulates networking, database wrapping etc), which will be imported to A, B, C, and an App module, which is what you want and which imports A, B, C to itself and uses them as needed.
Otherwise it's gonna be quite messy, unclear and poorly supportable.

Swift framework how to run and test

I want to build a swift framework which can be added to hosting applications and run some logic
It basically show a new screen with web view which does some things (among other JS bridging)
After creating the logic as a regular app (with invocation button) i am now trying to convert it to a framework which can be added easily to existing projects
Is this the right way to do it? my code contain a ViewController which should be segue to
How do i start converting it to a framework? can a framework contain ViewControllers? how to test it? I see for example that a regular UIView dont exist is not available in the view adder

Merging two Xcode projects into one

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).
I need this to be formulated from 1 app that is downloaded from the app store instead of having two apps.
Please help me
Use workspace for doing this. The below links will help you for that.
1) Xcode Workspace
2) Creating a Workspace
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/AMSlideMenu There are two video tutorials there that walk you through how to implement it.

Can i open an Xcode project on a button click from another project without custom URL schema?

I want to integrate two Xcode projects together and they both are full Xcode projects with UI and all. For example lets say i have an App 'A' which has a UIButton and on click it should open App 'B' which has its own UI.
I know we can open an App from another App through Custom URL schema but is there a way i can do this without custom URL schema and via connecting Xcode projects.
I know this a little vague question but i don't a better way to put this.
Thanks,
You're question doesn't make any sense. You're talking about two very different things. Yes, you may import one Xcode project into another Xcode project and setup a dependency between them. However, this in no way affects how the apps work with each other. If you're wanting to embed one app inside another, you have to do it at the view controller/code level. You cannot simply add one project to another and expect the two to intercommunicate. You'll have to move the functionality of one app to another. Apps are sandboxed on the device and can therefore have no communication with each other except for by using custom URL schemes as you've mentioned.

How to make framework (library?) for personal re-use in iOS?

I'm doing a series of book apps for a client. There's a lot of books in the series, and each one will be a separate app. Instead of making changes to all the apps every time they want something tweaked in all of them, like the position of a button or something, I'd like to make a universal "framework" (library?) that I can import to a project, just as I would do for one of the iOS SDK's frameworks. The framework would have all the universal components of the apps, which would include a controller class I would subclass in each app to do the app-specific things. Then when I need to make changes to all of them, I could just change the code in the framework, and it would affect all the apps that use it. I'd also like to be able to include common images and other media.
Do I want to use the "Cocoa Touch Static Library" template in Xcode? I also saw this project in github: https://github.com/kstenerud/iOS-Universal-Framework; would this be a better fit for what I'm trying to do?
For your purposes, the simplest approach would simply be to set it up as a static library project. Then, for each application you want to use it, drag the project into your workspace and add the static library product as a dependent target.
As far as I am aware, the current leading method for building a framework on iOS is Jeff Verkoeyen's iOS-Framework.

Resources