eurekacommunity / colorpickerrow Goto Github PK
View Code? Open in Web Editor NEWA color picker row for use with the Eureka form library
License: MIT License
A color picker row for use with the Eureka form library
License: MIT License
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
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?
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]
}
@alldritt could you release a new version that supports Eureka ~>4.0 ?
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!
[!] 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
Hi. I am seeing the following when running xcode 10.1 in the ColorPickerRow lib
Pods/ColorPickerRow/ColorPicker/ColorPickerRow.swift:76:105: 'elementKindSectionHeader' has been renamed to 'UICollectionElementKindSectionHeader'
CocoaPod support ?
Thanks for this great project. Would you have plan to support carthage?
Thanks
Tianzhu
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'
# }
# -------------------------------------------
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?
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?
Many properties have been renamed in Swift 4.2, making ColorPickerRow unbuildable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.