We added some of the code to our own project, creating the structure we are referring to in some other projects. Sometimes it’s annoying that you don’t immediately see the implementation code for the frame code in another project (using cmd + click or cmd + shift + D or what you usually do for navigation). Xcode will show you only the title, you will have to open another project and find the file there manually. It doesn’t matter, but if you often look at the code, it bothers you.
The real problem is that you are changing the scope of some operations. Things like “Find in Project” will work with a different set of files, which sometimes may not be the same as you want (an attempt to find where this method is called / the key is used in all code or something else); well, Finder / find remains, so that everything may be in order. Refactoring is not - all the renaming of things just breaks down, since this will change only the code of the current project, but not the projects that reference this one. If you change interfaces frequently, it is better to avoid splitting the project.
It’s good that you will encounter less conflicts in your .xcodeproj files (if they are stored in a shared repository), because someone deleting a file from project X will not create a conflict with someone else by adding a target to project Y, where earlier was the same .xcodeproj (not quite sure if this is a conflicting case, but there are definitely some).
wm Oct 14 '10 at 11:27 2010-10-14 11:27
source share