With Xcode 4, what is the correct way, is there a main project + a joint code project?

I currently have an iPhone app, this is just one major project. It contains hundreds of code files. I have one folder called "Helper" that includes all of my classes that I created. I am going to make a second application, which should also use the same code that is in the "Helper" folder.

What is a suitable way to share this “Helper” code between two projects / applications? Should I put it in my own project file, and then add it as the main application + "Helper" in the usual workspace? I'm not interested in creating static libraries or anything else ... I just want the code to be split somehow.

I already tried to make the second “empty” project file and dragged the code into it, but when I try to create Xcode, I just think that I am missing the header files now ... for some reason, it does not see the code in another project.

+3
source share
4 answers

, , . , , , , , .

- Git Repo, . .

, , . , , "", , .

Git, . Git , , . XCode . , .

. SourceTree. GitHub , - , .

git:

, :

  • , ""
  • , .

, !

+1

, , , , . , , , , - , .

Apple Framework. :

Mac OS X , . . , , .

+1

, . User Header Search Paths Build Settings > Search Paths.

0

- ...

, iOS - , .

, Xcode , .

0

All Articles