© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
A. TsadokMastering Swift Package Managerhttps://doi.org/10.1007/978-1-4842-7049-3_5

5. All About Dependencies

Avi Tsadok1  
(1)
Tel Mond, Israel
 

If you don’t actively fight for simplicity in software, complexity will win…and it will suck.

—Henry Joreteg

In the previous chapter, we learned how to design great packages. Now, we need to learn how to connect packages, not only in a technical way but also in the right way.

In this chapter, we will learn
  • What “code coupling” is

  • What types of code coupling we have and why it matters

  • How to create all kinds of dependencies’ requirements, including version, revisions, and branch based

  • How to reduce coupling level to make ...

Get Mastering Swift Package Manager: Build and Test Modular Apps Using Xcode now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.