Reputation: 933
I need to use some controllers from one of my project to another so i am trying to add that Xcode project to my project but i am not sure how can access those controller in my new project.
Here is an example.
OLDProject.XcodeProj
- XXXXXController.h
- XXXXXController.m
NewProject.XcodeProj
I am adding OLDProject.XcodeProj to newProject.
now i needs to import XXXXXController.h file in this project
I want to do without creating static library.
Upvotes: 3
Views: 3214
Reputation: 15784
In XCode, you can create a WorkSpace that contains your projects. Then from one project, you can call to a class of another project.
https://developer.apple.com/library/ios/featuredarticles/XcodeConcepts/Concept-Workspace.html
ANd how to create workspace & add existing projects into your workspace:
Upvotes: 3