Releases: vicc/chameleon
Version 2.2.0
Version 2.1.0
What's New
• Retrieve the hexValue
for any UIColor
object (Works similarly to stringValue
and floatValue
).
• Generate a random flat color while specifying an array of flat colors to exclude
• Randomly assign a color (flat / non-flat) from a specified array of colors.
Note: Check out the guide for a quick look on who to use these new methods.
1. Guide | Hex Values
2. Guide | Choosing A Random Flat Color But Excluding A Few
3. Guide | Choosing A Random Color From a List of Colors
Bug Fixes
• Fixed issue where UIStatusBarStyle
was forcing the default look even when Chameleon was not being explicitly used to control the status bar look. (#95).
Version 2.0.6
Changes
• Fixed issue where colorsFromImage
was creating a new image every time instead of using the one sent via parameter , when using Chameleon Shorthand in Swift. (#89)
Version 2.0.5
Version 2.0.4
Version 2.0.3
What's New
- Added
hidesNavigationBarHairline
boolean, and by default it is now set toNO
. (#64) - Improved Quick-Look Documentation for Theme Methods
Navigation Bar Hairline
As of 2.0.3
the navigation bar hairline view is no longer hidden by default. However, if you're seeking a true flat look (like the image above), you can hide the hairline at the bottom of the navigation bar by doing the following:
Objective-C
[self.navigationController setHidesNavigationBarHairline:YES];
//or
self.navigationController.hidesNavigationBarHairline = YES;
Changes
UINavigationController+Chameleon.h
@property (nonatomic, assign) BOOL hidesNavigationBarHairline;
Cocoapod fix
- Fixed Cocoapod Error:
Chameleon.h not found
(#60)
Carthage fix
- Target for the dynamic lib set to iOS8
Carthage & bug fixes
- Carthage support added. (By @bre7)
- Demo project added. (By @bre7)
- Shields added to README. (By @bre7)
- Fixed 'Wrong Navigation Bar Color' bug. (#51) (By @bre7)
- Fixed 'Flatten' bug. (#53) (By @bre7)
- Fixed 'EXC_BAD_ACCESS Error' issue. (#57) (By @bre7)
- Several swift functions were made public. (By @dexter505)
v1.2.0
- Fixed cocoapods installation error #30.
- Updated Swift syntax to Swift 1.2 (Fixed by @peacemoon).
- Split Objective-C & Swift Files into separate folders to keep files better organized.
- Renamed
Constants.swift
toChameleonShorthand.swift
Deprecated Methods
ColorScheme(colorSchemeType: ColorScheme, color: UIColor, isFlatScheme: Bool)
- Replaced with:
ColorSchemeOf(colorSchemeType: ColorScheme, color: UIColor, isFlatScheme: Bool)
due to naming constraints.