Git Product home page Git Product logo

colorpickerrow's People

Contributors

alldritt avatar cwebbs avatar plbeaudoin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

colorpickerrow's Issues

Update please

I'm having iOS 11 and your lib is not buildable.
Fix is easy, just rename a few things so its not worth it for a new contribution :D
Thanks for fixing

Feature Request: numberOfRows

Having 3 rows of colours makes the picker look very empty if there are only a few (<10) colours to choose from. In such a use case, I would like to show all the swatches on one row. In other situations, where there are a lot of colours, or when you are on a large screen, it would be better to show more colours at once.

Can you please add a property numberOfRows that controls how many rows of colours the picker shows?

Carthage support

Thanks for this great project. Would you have plan to support carthage?

Thanks
Tianzhu

Support for Swift 4.2

Many properties have been renamed in Swift 4.2, making ColorPickerRow unbuildable.

How to change inlineColorPicker's color? or I'd love to use palette.

Hi, Thank you for improving wonderful function.

Now I'm makeing apps and want to use InlineColorPicker for it.

I want to ask is same as the title.
Can't we change the colors in the inlineColorPicker?
Or it will be so happy to use palette.

Is there any information or plan?

Kindly confirm. Thank you!

I can't install pod

[!] CocoaPods could not find compatible versions for pod "ColorPickerRow":
  In Podfile:
    ColorPickerRow

Specs satisfying the `ColorPickerRow` dependency were found, but they required a higher minimum deployment target.

responds console when I'm trying to install pods

Can't set ColorPallete for InlineColorPickerRow

Using ColorPickerRow I can set palletes normally, but when I change the row type to InlineColorPickerRow, XCode doesn't find property palletes. Do I need to put some additional code, or is it really a bug?

Can't use palettes with InlineColorPickerRow

Works fine with ColorPickerRow but InlineColorPickerRow always shows the default palettes even when setting a custom palette like this:

        <<< InlineColorPickerRow("colorcode") { (row) in
            row.title = "Color Code"
            row.isCircular = true
            row.showsPaletteNames = false
            row.value = UIColor.white
            }
            .cellSetup { (cell, row) in
                let palette = ColorPalette(name: "All",
                                           palette: [ColorSpec(hex: "#ffffff", name: "White"),
                                                     ColorSpec(hex: "#000000", name: "Black")])
                row.inlineRow?.cell.palettes = [palette]
        }

How to change titleLabel textColor ?

Hi,

How to change this color ? (titled: "Color Picker 3")

screen shot 2018-11-10 at 00 01 21

Thanks

Update: Changing color in cellUpdate works with InlineColorPickerRow but not with ColorPickerRow

Why does it print "xxx" when I select ColorRow? Should it even be selectable?

I found these lines at ColorRow.swift line 49:

open override func didSelect() {
    print("xxx")
    
}

Why print xxx? Was this for debugging and you forgot to remove it? Also, ColorRow is supposed to be a row that displays a color only, just like a LabelRow displays text, right? Why is it even selectable in the first place?

Podspec?

I am trying to incorporate the newest version and I get this error when i try and install the pod.

[!] Failed to load 'ColorPickerRow' podspec: 
[!] Invalid `ColorPickerRow.podspec` file: syntax error, unexpected '\n', expecting =>.

 #  from /var/folders/12/7s4zt11s55j9ks71z0t_bpn00000gq/T/d20171004-11086-10mi2rz/ColorPickerRow.podspec:15
 #  -------------------------------------------
 #    	'Eureka' => '>= 4.0.0', 
 >  	'UIColor_Hex_Swift'
 #    }
 #  -------------------------------------------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.