This is more a question of what is the correct strategy than a "how to" for that I already have the GIT manuals.
I have an Xcode workspace. It contains 3 sub projects.
- iPad app
- iPhone app
- shared code and resources (pngs, etc)
I have been thinking of creating GIT repositories but was looking for some advice as to what would be the best strategy for setting these up.
For each of the sub projects, I may well have multiple branches and would need to have some control over which version of the shared code would be used for each branch of the the "app" sub project.
At the present, the way in which I incorporate the shared code is by copying a reference to that file into the "app" project. I'm not sure if this is the best way going forward as I'm not sure what will happen if I need multiple branches of the shared code.
If anyone out there has a similar set up and can advise, I would appreciate it.