I have three Xcode projects and I want to integrate them into one project. Two of those projects are view based application, hence the application delegate has inherited NSObject and UIApplicationDelegate. But the third project is not a view based application and so the app delegate has inherited UIApplication.
So now I am in a fix. How should I integrate the three of them, because if I try to make my third class inherit NSObject then there are many errors. And even if I deal with those errors, the app crashes during run time giving the exception:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'There can only be one UIApplication instance.'
So what do I do now?