You can install Carthage with Homebrew using the following command:
brew update
brew install carthage
To integrate VolumeOverlay into your Xcode project using Carthage, specify it in your Cartfile
where "x.x.x"
is the current release:
github "russellbstephens/VolumeOverlay" "x.x.x"
Add the following in didFinishLaunchingWithOptions
in the AppDelegate
VolumeOverlay.shared.load()
VolumeOverlay.shared.backgroundColor = .white
VolumeOverlay.shared.trackTintColor = .grey
VolumeOverlay.shared.progressTintColor = .black
VolumeOverlay.shared.load(style: .thin)