Some new guidelines that will help lessen merge conflicts #69
Replies: 3 comments 5 replies
|
I think you wanted to write the "dev" branch not the "master" in your message above. |
|
I'd be interested in learning more about Another solution that I've heard gain a lot of steam is Swift Packages. One approach is to put practically everything in a Swift Package. That way there's no messy complexity to a pbxproj file. (There are some caveats though. For example, Swift Packages cannot build into an actual app, so you still need an Xcode project to hold the swift package(s).) @Drag0ndust do you have experience/resources regarding setting up |
|
@brittanyarima Here's a free video from Pointfree.co on modularizing code. I highly recommend it. But they show the pros/cons of different approaches and how using Swift Packages allows you to minimize changes to your xcode project which minimizes the creation of merge conflicts. https://www.pointfree.co/episodes/ep171-modularization-part-1#t1373 |
Uh oh!
There was an error while loading. Please reload this page.
1.Before adding a file, commit your changes,
2. then pull from the master so that you have the latest.If someone has added a file, you now have the latest .pbxproj
3. Add your file(s).
4. Immediately commit and push your changes up to the master (hopefully, before another collaborator has added another file).
All reactions