The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.
Once you have your Swift package set up, adding SoftColor as a dependency is as easy as adding it to the dependencies value of your Package.swift or the Package list in Xcode.
dependencies: [
.package(url: "https://github.com/1rlan/SoftColor.git")
]Normally you'll want to depend on the SoftColor target:
.product(name: "SoftColor", package: "SoftColor")CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate SoftColor into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'SoftColor', :git => 'https://github.com/1rlan/SoftColor.git'