alexrestrepo / kzcolorpicker Goto Github PK
View Code? Open in Web Editor NEWAn HSV Wheel Color Picker for iOS
License: BSD 2-Clause "Simplified" License
An HSV Wheel Color Picker for iOS
License: BSD 2-Clause "Simplified" License
in the file file KZColorPickerSwatchView on line 49 there is the line:
self.checkmarkLayer.contents = (id)[UIImage imageNamed:@"MNColorViewCheckmark.png"].CGImage;
This line gives me a EXC_BAD_ACCESS error when activating the ColorPicker on the iPhone 4S, Simulator runs fine.
complete exception (detected by setting a breakpoint at all exceptions on throw):
2013-11-26 08:23:50.012 activiteitenweger[2868:60b] -[NSPathStore2 setContents:]: unrecognized selector sent to instance 0x16dcb860
2013-11-26 08:24:02.871 activiteitenweger[2868:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSPathStore2 setContents:]: unrecognized selector sent to instance 0x16dcb860'
xcode version 5.0.1
SDK 7.0
playing on a iPhone 4S device (not in simulator)
(by the way: the image used in there was not to be found attached to your library, i think you mean the same file as in MNKit? https://bitbucket.org/aquarius/mnkit/src/88540ab62e2425555f1e226478513876e04165a7/Frameworks/UIKit/Resources/MNColorViewCheckmark.png?at=default )
in the file file KZColorPickerSwatchView.m on line 49 there is the line:
self.checkmarkLayer.contents = (id)[UIImage imageNamed:@"MNColorViewCheckmark.png"].CGImage;
the image used in there was not to be found attached to your library, i think you mean the same file as in MNKit?
https://bitbucket.org/aquarius/mnkit/src/88540ab62e2425555f1e226478513876e04165a7/Frameworks/UIKit/Resources/MNColorViewCheckmark.png?at=default
I am trying to modify the y position of the brightness slider. I have modified KZColorPickerBrightnessSlider *slider = [[KZColorPickerBrightnessSlider alloc] initWithFrame:CGRectMake(24,277,272,38) but It remains in the same position.
Is it not an idea to enable or disable the sliders and swatches in the color picker based on variables or initialization? for my project for example, i do not need the alpha slider, but that would mean i need to perform a lot of work to get it into the right position and hide it.
I'm confused with the license. It's quite uncommon for code to be under a CC license. Especially this block is very subjective:
"Share Alike - If you alter, transform, or build upon this work, you may distribute the resulting
work only under the same, similar or a compatible license."
How's "build upon" defined? Somehow reading this kinda reminds me of the GPL - even if you might not intended it but this license is too "fluffy" to be used in commercial projects. The CC creators even explicitly recommend against using it for code.
MIT or BSD would be great options.
When I run the program, I get...
Use of Undeclared Identifier IS_IPAD on line 30 of file "CMQGDefaultColorViewController.m".
Can you help me with this?
John
Hi
Will the color picker compile on IOS12? if not - hints appreciated
Thanks
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.