Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claaslange/iOS7Colors
The standard iOS 7 Colors as a handy category on UIColor
https://github.com/claaslange/iOS7Colors
Last synced: about 1 month ago
JSON representation
The standard iOS 7 Colors as a handy category on UIColor
- Host: GitHub
- URL: https://github.com/claaslange/iOS7Colors
- Owner: claaslange
- License: mit
- Created: 2013-08-23T12:33:38.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-10-29T08:32:57.000Z (about 11 years ago)
- Last Synced: 2024-10-10T16:03:51.844Z (2 months ago)
- Language: Objective-C
- Size: 204 KB
- Stars: 634
- Watchers: 25
- Forks: 45
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - iOS7Colors - The standard iOS 7 Colors as a handy category on UIColor (etc)
- awesome - iOS7Colors - The standard iOS 7 Colors as a handy category on UIColor (etc)
README
# iOS7Colors
iOS7Colors is a simple category on UIColor which provides you some of the standard colors used throughout iOS 7.
## Usage
The easiest way to integrate iOS7Colors is using CocoaPods. Just add this to your Podfile:
pod 'iOS7Colors', '~> 2.0.0'
Usage is really simple. Just include `UIColor+iOS7Colors.h` & `UIColor+iOS7Colors.m` in your project if you're not using cocoapods and import the header file you need the colors.
#import "UIColor+iOS7Colors.h"
UILabel *label = [UILabel alloc] initWithFrame:CGRectZero];
label.textColor = [UIColor iOS7redColor];
![Screenshot](https://raw.github.com/claaslange/iOS7Colors/master/screenshot.png)
## Credits
The color values are taken from [Louie Mantia's](http://mantia.me) [iOS 7 Color Swatches](http://dribbble.com/shots/1186156-iOS-7-Color-Swatches)
## License
iOS7Colors is licensed under the MIT-License