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

8. Spicing Up with Resources

Avi Tsadok1  
(1)
Tel Mond, Israel
 

Less than 10% of the code has to do with the ostensible purpose of the system; the rest deals with input-output, data validation, data structure maintenance, and other housekeeping.

—Mary Shaw

“Kyle, do you have a few minutes?” Emily asked Kyle. “I want to unify our login process. The product team wants us to have the same login screen for both of our apps.”

“We already have a Swift Package with the login logic – including network and persistent saving. Isn’t that enough already?”

Kyle tried to understand what exactly ...

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.