To run the example project, clone the repo, and run pod install
from the Example directory first.
Colors is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Colors'
Fetch all color palettes
// Fetch all color palettes
Colors.fetchPalettes { (palettes) in
if let palettes = palettes {
// Retrieved palettes
}
}
Fetch single color palette by its identifier
// Fetch one color palette
Colors.fetchPalette(withId: "57cad90de956653b3248cfdb") { (palette) in
if let palette = palette {
// Retrieved palette
}
}
Ryan Cohen, notryancohen@gmail.com
Colors is available under the MIT license. See the LICENSE file for more info.