Chapter 1 - Introduction - Clean Your Room Introduction
Personal View
Modularity is not a slogan - it's a way of living
The Future by Apple
How to read this book
Summary
Chapter 2 - Organized Mess
Introduction
Our Weather App
The Project Navigator
Modular Apps
Principles
Design a modular app.
Frameworks and BundlesCocoapods and Carthage
Static and Dynamic Libraries
Summary
Chapter 3 - Swift Package to the Rescue
Introduction
Create our first package
Command Line Tool
Or from Xcode
Document your package with Readme.md file
Meet the package brain - the manifest file
Integrate our package within the app
Summary
Chapter 4 - Manage Dependencies
Introduction
Dependencies' Methodologic
Reorganize our project.
Remote Dependency
Manifest File
Version Lock
Local Dependency
Swift Build command
Summary
Chapter 5 - Move to GIT
Integrate
Upload our first package to git
Integrate our package to Xcode
Integrate our package to another package
Dealing with private repositories
The importance of Integration Tests
Summary
Chapter 6 - Stay Local with Mono Repo
Introduction
Code Sharing is Not Simple
Meet Mono Repo
Mono Repo Best Practices
Summary
Chapter 7 - Unit and Integration TestsIntroduction
Testing is carrying
Writing the package unit test
Test a package from the command line
Build an integration test project
Summary
Chapter 8 - Add Some Spice with Resources
Introduction
Adding Files to a swift package
Types of resources
Images
Localization files
UI files (Xib, storyboards)
SwifttUI
Use Cases
Summary
About the Author: Avi Tsadok is an accomplished iOS Developer with almost a decade of experience. He currently heads mobile developemnt at Any.do, a leading productivity app. He's also a regular contributor to "Better Programming" and has an active presence on Medium. He uses writing to combine his passion for helping educate the development community while working on refining his own skills in developing.