erica / uicolor-utilities Goto Github PK
View Code? Open in Web Editor NEWHelpful utilities for UIColor for iPhone
Helpful utilities for UIColor for iPhone
Hi! We love this set of utilities (and want to use them) at Zaption, but it currently doesn't have a license which means it's by default copyrighted under US law. Could you please add an open-source license so we can use them in our project?
We recommend the MIT License, but of course it's up to you. Thanks!
[UIColor colorWithHue: saturation: brightness: alpha:]
is a system function. This code overrides it with a function that returns a different result.
Example:
id green = [UIColor colorWithHue:0.231 saturation:0.786 brightness:0.669 alpha:1.000];
self.navigationController.navigationBar.tintColor = green;
Try this without UIColor-utilities and you'll get green. Try it while using UIColor-utilities, and UIColor-utilities will replace colorWithHue with one that returns red instead.
There's two bugs here:
Several of the methods don't use their color argument and instead appear to apply themselves on themselves.
Eg. https://github.com/erica/uicolor-utilities/blob/master/UIColor-Expanded.m#L297
Appeared in the latest XCode Beta. At line 439 of UIColor-Expanded.m.
For example in
CGFloat max = MAX(r, MAX(g, b));
Total: 51 Warnings.
Is it planned to migrate to 64bit?
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.