The colors and logos of every NBA team.
To test usage of NBAColors, open up the
NBAColors.playground file, replace:
let logo = Logo("Chicago Bulls logo") let color = Color.bullsRed
... with your favorite NBA team.
- From the File menu, navigate through Swift Packages and select Add Package Dependency….
- Enter package repository URL:
- Confirm the version and let Xcode resolve the package
Swift Package Manager
If you want to use NBAColors in any other project that uses SwiftPM, add the package as a dependency in
dependencies: [ .package(name: "NBAColors", url: "https://github.com/reez/NBAColors.git", from: "0.1.1"), ]