| { |
| "name": "ColorPalette", |
| "version": "0.0.1", |
| "summary": "A color palette grid view for iOS.", |
| "description": "ColorPalette\n===\n\nA color palette grid view for iOS.\n\nDemo\n----\n\n![alt tag](https://github.com/cemolcay/ColorPalette/raw/master/demo.gif)\n\nRequirements\n----\n\n* Swift 3.0+\n* iOS 8.0+\n\nInstall\n----\n\n``` ruby\npod 'ColorPalette'\n```\n\nUsage\n----\n\nCreate a `ColorPaletteView` either from storyboard or programmatically.\nSet `rowCount` and `columnCount` to setup palette grid. (Defaults 2x10).\nImplement `delegate` and `dataSource`.\n\n#### ColorPaletteViewDataSource\n\nUse this data source method to fill palette with colors.\n\n```\nfunc colorPalette(_ colorPalette: ColorPaletteView, colorAt index: Int) -> UIColor?\n```\n\n#### ColorPaletteViewDelegate\n\nUse this delegate method to inform about color selection changes.\n\n```\nfunc colorPalette(_ colorPalette: ColorPaletteView, didSelect color: UIColor, at index: Int)\n```\n\nYou can also observe `colorPalette.selectedColor` dynamic property to create bindings.\n\n#### ColorPaletteItemViewOptions\n\nThis is a basic struct with border, corner radius, and background color properties of palette items with their selected or unselected states.\n\nYou can use either `colorPalette.paletteItemDisplayOptions` property to set each property or use the `@IBInspectable` bridge properties from storyboard.\n\n![alt tag](https://github.com/cemolcay/ColorPalette/raw/master/storyboard.png)", |
| "homepage": "https://github.com/cemolcay/ColorPalette", |
| "license": "MIT", |
| "authors": { |
| "cemolcay": "ccemolcay@gmail.com" |
| }, |
| "social_media_url": "http://twitter.com/cemolcay", |
| "platforms": { |
| "ios": "8.0" |
| }, |
| "source": { |
| "git": "https://github.com/cemolcay/ColorPalette.git", |
| "tag": "0.0.1" |
| }, |
| "source_files": "ColorPalette/ColorPaletteView.swift", |
| "requires_arc": true, |
| "pushed_with_swift_version": "3.0" |
| } |