Skip to content

claaslange/iOS7Colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Credits

The color values are taken from Louie Mantia's iOS 7 Color Swatches

License

iOS7Colors is licensed under the MIT-License

About

The standard iOS 7 Colors as a handy category on UIColor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •