Libraries Management
So far, we have discussed the code we write – Swift, UIKit, and SwiftUI. But modern developers’ work doesn’t simply amount to writing code. Knowing how to integrate code can be a productivity multiplier, greatly enhancing our efficiency and allowing us to accomplish more in less time than simply knowing how to code.
CocoaPods and the Swift Package Manager are the leading solutions we have today for managing third-party and local dependencies. It is essential for any iOS developer to understand these tools thoroughly.
This chapter covers CocoaPods and the Swift Package Manager in terms of the following topics:
- Learning how CocoaPods is built, including different components such as
Podfile
andPodspec
files - Going over CocoaPods’ best practices and use cases
- Covering the Swift Package Manager creation process
- Learning the Swift Package Manager’s common commands
- Learning how to use a Swift Package in...