Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Releases: vicc/chameleon

Version 2.2.0

05 Oct 20:42
Compare
Choose a tag to compare
Added App Extension Support

Version 2.1.0

25 Jan 23:15
Compare
Choose a tag to compare

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

30 Nov 21:21
Compare
Choose a tag to compare

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

26 Nov 23:17
Compare
Choose a tag to compare

2.0.5

What's New

• Theme Support for UIImagePickerController (#83)
• Objective-C Demo Project

Changes

• Fixed Erroneous Swift Method Naming Convention Warnings
• Bumped up the minimum version of iOS to 8.0.
• Fixed If-Else Statement Logic (#48)
• Removed cast for calloc (#76).

Version 2.0.4

09 Oct 03:59
Compare
Choose a tag to compare

2-0-4

What's New

  • Minor Fixes.

Changes

  • Simplified arrayOfColorsWithColorScheme (#68)
  • colorWithFlatVersionFrom alpha bug fix (#69)

Version 2.0.3

02 Oct 13:53
Compare
Choose a tag to compare

2-0-3

What's New

  • Added hidesNavigationBarHairline boolean, and by default it is now set to NO. (#64)
  • Improved Quick-Look Documentation for Theme Methods

Navigation Bar Hairline

No 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

27 Sep 18:46
Compare
Choose a tag to compare
  • Fixed Cocoapod Error: Chameleon.h not found (#60)

Carthage fix

27 Sep 05:12
Compare
Choose a tag to compare
  • Target for the dynamic lib set to iOS8

Carthage & bug fixes

27 Sep 05:11
Compare
Choose a tag to compare
  • 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

01 Jun 10:31
Compare
Choose a tag to compare
  • 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 to ChameleonShorthand.swift
Deprecated Methods
  • ColorScheme(colorSchemeType: ColorScheme, color: UIColor, isFlatScheme: Bool)
  • Replaced with: ColorSchemeOf(colorSchemeType: ColorScheme, color: UIColor, isFlatScheme: Bool) due to naming constraints.