MaterialColor
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
- iOS 8.0+
- XCode 8.1, 8.2, 8.3
- XCode 9.0+
- Swift 3.0, 3.1, 3.2
- Swift 4.0+
- Swift 4.2
- Swift 5.0+
Installation
MaterialColor is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'MaterialColor'
Usage
import MaterialColor
let tealColor: UIColor = MaterialColor.teal.accent4
let amberColor: UIColor = MaterialColor.amber.base
let deepOrange: UIColor = MaterialColor.deepOrange.dark1
Future Enhancements
- Complete a working Example
- Add Carthage installation option
- Add Swift Package Manager installation option
-
XCode 9 compatibility and tests -
Swift 4 compatibility and tests -
Swift 4.2 compatibility and tests -
Swift 5 compatibility and tests
Author
FreakyCoder, [email protected]
License
-MaterialColor is available under the MIT license. See the LICENSE file for more info.