© 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_4

4. Design and Link Our First Package

Avi Tsadok1  
(1)
Tel Mond, Israel
 

Consider thinking of architectural decisions as investments and take into account the associated rate of return, it is a useful approach for finding out how pragmatic or fit for purpose every option on the table is.

—Richard Monson-Haefel

In the previous chapter, we learned the basic terms and how to create our first Swift Package, both from the command line and Xcode.

We need to know how to integrate it with our project and design a good API that can serve not only other developers but also ourselves.

In ...

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.