[
  {
    "path": ".github/ISSUE_TEMPLATE.md",
    "content": "======\nRead this before submitting a new report ;)\n\n* Use the search function to find similar bugs before submitting a new one.\n* Bug related to Global theming ? Check #98 for a workaround or #74 #102 #153 #161.\n\n\nDELETE THIS TEXT BEFORE SUBMITING A NEW ISSUE.\n======\n"
  },
  {
    "path": ".gitignore",
    "content": "# Created by https://www.gitignore.io/\n\n## Build generated\nbuild/\nDerivedData\n\n## Various settings\n*.pbxuser\n!default.pbxuser\n*.mode1v3\n!default.mode1v3\n*.mode2v3\n!default.mode2v3\n*.perspectivev3\n!default.perspectivev3\nxcuserdata\n\n## Other\n*.xccheckout\n*.moved-aside\n*.xcuserstate\n*.xcscmblueprint\n\n## Build generated\nbuild/\nDerivedData\n\n## Obj-C/Swift specific\n*.hmap\n*.ipa\n\n# CocoaPods\n#\n# We recommend against adding the Pods directory to your .gitignore. However\n# you should judge for yourself, the pros and cons are mentioned at:\n# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control\n#\nPods/\n\n# Carthage\n#\n# Add this line if you want to avoid checking in source code from Carthage dependencies.\n# Carthage/Checkouts\n\nCarthage/Build\nCarthage.checkout\nCarthage.build\n"
  },
  {
    "path": "CHANGELOG.md",
    "content": "## 📄 Change Log\n\n### 2.0.5\n\n* Theme Support for UIImagePickerController (#83)\n* Objective-C Demo Project\n* Fixed Erroneous Swift Method Naming Convention Warnings\n* Bumped up the minimum version of iOS to `8.0`.\n* Fixed `If-Else` Statement Logic (#48)\n* Removed cast for `calloc` (#76).\n\n### 2.0.4\n\n* Minor Fixes.\n* Simplified `arrayOfColorsWithColorScheme` (#68)\n* `colorWithFlatVersionFrom` alpha bug fix (#69)\n\n### 2.0.3\n\n* Added `hidesNavigationBarHairline` boolean to UINavigationController, and by default it is now set to `NO`. (#64) \n* Improved Quick-Look Documentation for Theme Methods\n\n### 2.0.2\n\n* Carthage support added. (By [@bre7](https://github.com/bre7))\n* Demo project added. (By [@bre7](https://github.com/bre7))\n* Shields added to `README`. (By [@bre7](https://github.com/bre7))\n* Fixed *'Wrong Navigation Bar Color'* bug. ([#51](https://github.com/ViccAlexander/Chameleon/issues/51)) (By [@bre7](https://github.com/bre7))\n* Fixed *'Flatten'* bug. ([#53](https://github.com/ViccAlexander/Chameleon/issues/53)) (By [@bre7](https://github.com/bre7))\n* Fixed *'EXC_BAD_ACCESS Error'* issue. ([#57](https://github.com/ViccAlexander/Chameleon/issues/57)) (By [@bre7](https://github.com/bre7))\n* Several swift functions were made public. (By [@dexter505](https://github.com/dexter505))\n\n### 2.0.1\n\n* Fixed *'ColorWithFlatVersionOf'* bug. ([#50](https://github.com/ViccAlexander/Chameleon/pull/50)) (By [@bre7](https://github.com/bre7))\n\n### 2.0.0\n\n* Added support for hex colors, colors from images, themes, and lighten and darken by percentage methods. (By [@ViccAlexander](https://github.com/ViccAlexander)) \n\n###### Added Methods  \n\n**Chameleon.h**\n \n* `+ (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor withContentStyle:(UIContentStyle)contentStyle;`\n* `+ (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor withSecondaryColor:(UIColor *)secondaryColor andContentStyle:(UIContentStyle)contentStyle;`\n* `+ (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor  withSecondaryColor:(UIColor *)secondaryColor usingFontName:(NSString *)fontName andContentStyle:(UIContentStyle)contentStyle;`\n\n**NSArray+Chameleon.h**\n\n* `+ (NSArray *)arrayOfColorsFromImage:(UIImage *)image withFlatScheme (BOOL)isFlatScheme;`\n\n**UIColor+Chameleon.h**\n\n* `+ (UIColor *)colorWithAverageColorFromImage:(UIImage *)image;`\n* `+ (UIColor *)colorWithAverageColorFromImage:(UIImage *)image withAlpha:(CGFloat)alpha;`\n* `+ (UIColor *)colorWithRandomFlatColorOfShadeStyle:(UIShadeStyle)shadeStyle withAlpha:(CGFloat)alpha;`\n* `+ (UIColor *)colorWithComplementaryFlatColorOf:(UIColor *)color withAlpha:(CGFloat)alpha;`\n* `+ (UIColor *)colorWithContrastingBlackOrWhiteColorOn:(UIColor *)backgroundColor isFlat:(BOOL)flat alpha:(CGFloat)alpha;`\n* `+ (UIColor *)colorWithFlatVersionOf:(UIColor *)color withAlpha:(CGFloat)alpha;`\n* `+ (UIColor *)colorWithHexString:(NSString *)string;`\n* `+ (UIColor *)colorWithHexString:(NSString *)string withAlpha:(CGFloat)alpha;`\n* `- (UIColor *)flatten;`\n* `- (UIColor *)darkenByPercentage:(CGFloat)percentage;`\n* `- (UIColor *)lightenByPercentage:(CGFloat)percentage;`\n\n**UINavigationController+Chameleon.h**\n\n* `- (void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle;`\n* `- (void)setThemeUsingPrimaryColor:(UIColor *)primaryColor withContentStyle:(UIContentStyle)contentStyle;`\n* `- (void)setThemeUsingPrimaryColor:(UIColor *)primaryColor withSecondaryColor:(UIColor *)secondaryColor andContentStyle:(UIContentStyle)contentStyle;`\n* `setThemeUsingPrimaryColor:(UIColor *)primaryColor withSecondaryColor:(UIColor *)secondaryColor usingFontName:(NSString *)fontName andContentStyle:(UIContentStyle)contentStyle;`\n* `- (void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle;`\n\n                        \n###### Deprecated Methods\n\n**NSArray+Chameleon.h**\n\n* ~~`+ (NSArray *)arrayOfColorsWithColorScheme:(ColorScheme)colorScheme with:(UIColor *)color flatScheme:(BOOL)isFlatScheme `~~  \n\n> Replaced with: `+ (NSArray *)arrayOfColorsWithColorScheme:(ColorScheme)colorScheme usingColor:(UIColor *)color withFlatScheme:(BOOL)isFlatScheme;`\n\n**UIViewController+Chameleon.h**\n\n* ~~`- (void)flatify;`~~\n* ~~`- (void)flatifyAndContrast;`~~\n\n###### Added Macros\n* `AverageColorFromImage(image)`\n* `AverageColorFromImageWithAlpha(image, alpha)`\n* `RandomFlatColorWithShadeAndAlpha(shade, alpha)`\n* `ColorsWithScheme(colorSchemeType, color, isFlatScheme)`   \n* `ComplementaryFlatColorWithAlpha(color, alpha)`\n* `ContrastColorWithAlpha(backgroundColor, returnFlat, alpha)`\n* `HexColor(hexString)`\n* `HexColorWithAlpha(hexString, alpha)`\n* `RandomFlatColorWithShadeAndAlpha(shade, alpha)`\n* `ColorsFromImage(image, isFlatScheme)`  \n\n######Deprecated\n* `ColorsWithScheme(colorSchemeType, color, isFlatScheme)`\n\n> Replaced with: `ColorsWithScheme(colorSchemeType, color, isFlatScheme)`\n\n### 1.2.1\n• Added cocoapods support for Swift 2 *(Thanks to [**@bre7**](https://github.com/bre7))*. \n\n### 1.2.0\n• Fixed cocoapods installation error [#30](https://github.com/ViccAlexander/Chameleon/issues/30).  \n• Updated Swift syntax to Swift 1.2 *(Fixed by [**@peacemoon**](https://github.com/peacemoon))*.    \n• Split Objective-C & Swift Files into separate folders to keep files better organized.  \n• Renamed `Constants.swift` to `ChameleonShorthand.swift`  \n\n###### Deprecated Methods\n\n* ~~`FlatVersionOfColor(color)`~~  \n* ~~`ColorScheme(colorSchemeType: ColorScheme, color: UIColor, isFlatScheme: Bool)`~~   \n\nReplaced with: `ColorSchemeOf(colorSchemeType: ColorScheme, color: UIColor, isFlatScheme: Bool)` due to naming constraints. \n\n### 1.1.3\n• Chameleon shorthand is now supported in Swift. *(Thanks to [**@bre7**](https://github.com/bre7))*.  \n• Fixed Small Syntax Typo. *(Fixed by [**@ddwang**](https://github.com/ddwang))*.  \n• Fixed issue where `-colorWithRandomFlatColorOfShadeStyle` always returns random color of `UIShadeStyleLight` *(Fixed by [**@smokyonion**](https://github.com/smokyonion))*.    \n• UIGraphics context now uses the current screen's scale, preventing pixel wrap around for certain `UIColors` generated by `+ (UIColor *)colorWithGradientStyle` methods *(Fixed by [**@alist**](https://github.com/alist))*.  \n• Removed warnings regarding the absolute value function `fabsf` *(Fixed by [**@jherran**](https://github.com/jherran))*.  \n• Fixed the *`UIColor+Chameleon.m:444:13: code will never be executed*`, error state *(Fixed by [**@jherran**](https://github.com/jherran))*.  \n\n\n### 1.1.2\n• Updated Copyright in all files and launch images  \n• Added Launch Image in example project for iPhone 6 & iPhone 6 Plus  \n• Replaced the reserved word `for` with the word `with` in `arrayOfColorsWithColorScheme` *(Fixed by [**@sfader**](https://github.com/sfader))*.\n\n###### Deprecated Methods\n * ~~`initWithArray:for:flatScheme:`~~\n\nReplaced with: `initWithArray:with:flatScheme:`  \n\n### 1.1.1\n* ```ShadeStyle``` is now ```UIShadeStyle```\n* ```GradientStyle``` is now ```UIGradientStyle```\n* ```light``` is now ```UIShadeStyleLight```\n* ```dark``` is now ```UIShadeStyleDark```\n* ```linearGradientLeftToRight``` is now ```UIGradientStyleLeftToRight```\n* ```linearGradientTopToBottom``` is now ```UIGradientStyleTopToBottom```\n* Added: ```UIGradientStyleRadial```\n\n### 1.1.0\n* Added Gradient Colors\n* Added Storyboard Palette Add-on\n* Added Xcode Quick Help Documentation Support\n* Switched from RGB colorspace to HSB & LAB colorspaces (closer to human perception)\n* Implemented `ContrastingColor` which supports all alphas and has additional support for non-flat and flat colors\n* Changed Color difference algorithm so that it now uses CIE:2000 formula\n* Changed `RandomFlatColors` from enum to nsarray values\n* Edited `RandomFlatColor` so that it will no longer spit out the same color back to back\n* Switched complementary and triadic fourth and fifth colors order.\n* New Macro: `ClearColor`\n\n###### Deprecated Methods\n* ~~`colorWithContrastingBlackOrWhiteColorOn:`~~\n\nReplaced with: `colorWithContrastingBlackOrWhiteColorOn:isFlat:`  \n\n###### Deprecated Macros\n* ~~`ContrastingColorOf(backgroundColor)`~~  \n\nReplaced with: `ContrastingColorOf(backgroundColor, isFlat)`\n\n* ~~`ComplementaryColorOf(color)`~~\n\nReplaced with: `ComplementaryFlatColorOf(color)`\n\n* ~~`RandomColorWithShade(shade)`~~\n\nReplaced with: `RandomFlatColorWithShade(shade)`\n\n### 1.0.1\n* Added Table of Contents\n* Fixed a couple of spelling errors\n* Extra '#define' deleted *(Fixed by [**@cascio**](https://github.com/cascio))*.  \n* Imported UIKit in ChameleonStatusBar.h and NSArray+Chameleon.h *(Fixed by [**@jmhooper**](https://github.com/jmhooper))*.\n"
  },
  {
    "path": "Chameleon/Chameleon.h",
    "content": "//\n//  Chameleon.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 9/24/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for Chameleon.\nFOUNDATION_EXPORT double ChameleonVersionNumber;\n\n//! Project version string for Chameleon.\nFOUNDATION_EXPORT const unsigned char ChameleonVersionString[];\n\n// In this header, you should import all the public headers of your framework using statements like #import <Chameleon/PublicHeader.h>\n\n#import \"Chameleon_.h\"\n\n#import \"UIButton+Chameleon.h\"\n#import \"UILabel+Chameleon.h\"\n#import \"UIColor+ChameleonPrivate.h\"\n#import \"UIImage+ChameleonPrivate.h\"\n#import \"UIView+ChameleonPrivate.h\"\n#import \"UIAppearance+Swift.h\"\n\n#import \"NSArray+Chameleon.h\"\n#import \"UIColor+Chameleon.h\"\n#import \"UINavigationController+Chameleon.h\"\n#import \"UIViewController+Chameleon.h\"\n"
  },
  {
    "path": "Chameleon/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>FMWK</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>2.0.6</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>$(CURRENT_PROJECT_VERSION)</string>\n\t<key>NSPrincipalClass</key>\n\t<string></string>\n</dict>\n</plist>\n"
  },
  {
    "path": "Chameleon.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t0C6D34721C07B98400A7BF83 /* Chameleon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 240093F81BB4517400932727 /* Chameleon.framework */; };\n\t\t0C6D34731C07B98400A7BF83 /* Chameleon.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 240093F81BB4517400932727 /* Chameleon.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };\n\t\t0C8DABA81C07AC3800B28FE2 /* UIAppearance+Swift.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C8DABA61C07AC3800B28FE2 /* UIAppearance+Swift.m */; };\n\t\t0C8DABAB1C07B00000B28FE2 /* UIImage+ChameleonPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935E21BB4D62500C30559 /* UIImage+ChameleonPrivate.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t0C8DABAC1C07B00800B28FE2 /* UIAppearance+Swift.h in Headers */ = {isa = PBXBuildFile; fileRef = 0C8DABA51C07AC3800B28FE2 /* UIAppearance+Swift.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t0C8DABB51C07B5EA00B28FE2 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C8DABB41C07B5EA00B28FE2 /* main.m */; };\n\t\t0C8DABB81C07B5EA00B28FE2 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C8DABB71C07B5EA00B28FE2 /* AppDelegate.m */; };\n\t\t0C8DABBB1C07B5EA00B28FE2 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C8DABBA1C07B5EA00B28FE2 /* ViewController.m */; };\n\t\t0C8DABBE1C07B5EA00B28FE2 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0C8DABBC1C07B5EA00B28FE2 /* Main.storyboard */; };\n\t\t0C8DABC01C07B5EA00B28FE2 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0C8DABBF1C07B5EA00B28FE2 /* Assets.xcassets */; };\n\t\t0C8DABC31C07B5EA00B28FE2 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0C8DABC11C07B5EA00B28FE2 /* LaunchScreen.storyboard */; };\n\t\t240093FC1BB4517400932727 /* Chameleon.h in Headers */ = {isa = PBXBuildFile; fileRef = 240093FB1BB4517400932727 /* Chameleon.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935EC1BB4D62500C30559 /* Chameleon_.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935D41BB4D62500C30559 /* Chameleon_.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935ED1BB4D62500C30559 /* Chameleon_.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935D51BB4D62500C30559 /* Chameleon_.m */; };\n\t\t245935EE1BB4D62500C30559 /* ChameleonConstants.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935D61BB4D62500C30559 /* ChameleonConstants.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935EF1BB4D62500C30559 /* ChameleonConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935D71BB4D62500C30559 /* ChameleonConstants.m */; };\n\t\t245935F01BB4D62500C30559 /* ChameleonEnums.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935D81BB4D62500C30559 /* ChameleonEnums.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935F11BB4D62500C30559 /* ChameleonMacros.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935D91BB4D62500C30559 /* ChameleonMacros.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935F21BB4D62500C30559 /* NSArray+Chameleon.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935DA1BB4D62500C30559 /* NSArray+Chameleon.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935F31BB4D62500C30559 /* NSArray+Chameleon.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935DB1BB4D62500C30559 /* NSArray+Chameleon.m */; };\n\t\t245935F41BB4D62500C30559 /* UIButton+Chameleon.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935DC1BB4D62500C30559 /* UIButton+Chameleon.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935F51BB4D62500C30559 /* UIButton+Chameleon.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935DD1BB4D62500C30559 /* UIButton+Chameleon.m */; };\n\t\t245935F61BB4D62500C30559 /* UIColor+Chameleon.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935DE1BB4D62500C30559 /* UIColor+Chameleon.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935F71BB4D62500C30559 /* UIColor+Chameleon.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935DF1BB4D62500C30559 /* UIColor+Chameleon.m */; };\n\t\t245935F81BB4D62500C30559 /* UIColor+ChameleonPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935E01BB4D62500C30559 /* UIColor+ChameleonPrivate.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935F91BB4D62500C30559 /* UIColor+ChameleonPrivate.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935E11BB4D62500C30559 /* UIColor+ChameleonPrivate.m */; };\n\t\t245935FB1BB4D62500C30559 /* UIImage+ChameleonPrivate.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935E31BB4D62500C30559 /* UIImage+ChameleonPrivate.m */; };\n\t\t245935FC1BB4D62500C30559 /* UILabel+Chameleon.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935E41BB4D62500C30559 /* UILabel+Chameleon.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935FD1BB4D62500C30559 /* UILabel+Chameleon.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935E51BB4D62500C30559 /* UILabel+Chameleon.m */; };\n\t\t245935FE1BB4D62500C30559 /* UINavigationController+Chameleon.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935E61BB4D62500C30559 /* UINavigationController+Chameleon.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245935FF1BB4D62500C30559 /* UINavigationController+Chameleon.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935E71BB4D62500C30559 /* UINavigationController+Chameleon.m */; };\n\t\t245936001BB4D62500C30559 /* UIView+ChameleonPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935E81BB4D62500C30559 /* UIView+ChameleonPrivate.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245936011BB4D62500C30559 /* UIView+ChameleonPrivate.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935E91BB4D62500C30559 /* UIView+ChameleonPrivate.m */; };\n\t\t245936021BB4D62500C30559 /* UIViewController+Chameleon.h in Headers */ = {isa = PBXBuildFile; fileRef = 245935EA1BB4D62500C30559 /* UIViewController+Chameleon.h */; settings = {ATTRIBUTES = (Public, ); }; };\n\t\t245936031BB4D62500C30559 /* UIViewController+Chameleon.m in Sources */ = {isa = PBXBuildFile; fileRef = 245935EB1BB4D62500C30559 /* UIViewController+Chameleon.m */; };\n\t\t245936051BB4D62D00C30559 /* ChameleonShorthand.swift in Sources */ = {isa = PBXBuildFile; fileRef = 245936041BB4D62D00C30559 /* ChameleonShorthand.swift */; };\n\t\t246492FC1F0094DB001E4F26 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 246492FB1F0094DB001E4F26 /* AppDelegate.swift */; };\n\t\t246493011F0094DB001E4F26 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 246492FF1F0094DB001E4F26 /* Main.storyboard */; };\n\t\t246493031F0094DB001E4F26 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 246493021F0094DB001E4F26 /* Assets.xcassets */; };\n\t\t246493061F0094DB001E4F26 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 246493041F0094DB001E4F26 /* LaunchScreen.storyboard */; };\n\t\t247EB8AA1BB61EB3009B4904 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 247EB8A91BB61EB3009B4904 /* AppDelegate.swift */; };\n\t\t247EB8AC1BB61EB3009B4904 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 247EB8AB1BB61EB3009B4904 /* ViewController.swift */; };\n\t\t247EB8AF1BB61EB3009B4904 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 247EB8AD1BB61EB3009B4904 /* Main.storyboard */; };\n\t\t247EB8B11BB61EB3009B4904 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 247EB8B01BB61EB3009B4904 /* Assets.xcassets */; };\n\t\t247EB8B41BB61EB3009B4904 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 247EB8B21BB61EB3009B4904 /* LaunchScreen.storyboard */; };\n\t\t247EB8B91BB61F76009B4904 /* Chameleon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 240093F81BB4517400932727 /* Chameleon.framework */; };\n\t\t24D08ECB1F00954100D9F1A7 /* FirstViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24D08EC91F00953A00D9F1A7 /* FirstViewController.swift */; };\n\t\t24D08ECC1F00954100D9F1A7 /* SecondViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24D08ECA1F00953A00D9F1A7 /* SecondViewController.swift */; };\n\t\t24D08ECD1F00958200D9F1A7 /* Chameleon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 240093F81BB4517400932727 /* Chameleon.framework */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t0C6D34741C07B98400A7BF83 /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 240093EF1BB4517400932727 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 240093F71BB4517400932727;\n\t\t\tremoteInfo = Chameleon;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXCopyFilesBuildPhase section */\n\t\t0C6D34761C07B98400A7BF83 /* Embed Frameworks */ = {\n\t\t\tisa = PBXCopyFilesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tdstPath = \"\";\n\t\t\tdstSubfolderSpec = 10;\n\t\t\tfiles = (\n\t\t\t\t0C6D34731C07B98400A7BF83 /* Chameleon.framework in Embed Frameworks */,\n\t\t\t);\n\t\t\tname = \"Embed Frameworks\";\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXCopyFilesBuildPhase section */\n\n/* Begin PBXFileReference section */\n\t\t0C8DABA51C07AC3800B28FE2 /* UIAppearance+Swift.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UIAppearance+Swift.h\"; path = \"../Pod/Classes/Objective-C/UIAppearance+Swift.h\"; sourceTree = \"<group>\"; };\n\t\t0C8DABA61C07AC3800B28FE2 /* UIAppearance+Swift.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UIAppearance+Swift.m\"; path = \"../Pod/Classes/Objective-C/UIAppearance+Swift.m\"; sourceTree = \"<group>\"; };\n\t\t0C8DABB11C07B5EA00B28FE2 /* ChameleonDemo-Objc.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = \"ChameleonDemo-Objc.app\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t0C8DABB41C07B5EA00B28FE2 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = \"<group>\"; };\n\t\t0C8DABB61C07B5EA00B28FE2 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = \"<group>\"; };\n\t\t0C8DABB71C07B5EA00B28FE2 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = \"<group>\"; };\n\t\t0C8DABB91C07B5EA00B28FE2 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = \"<group>\"; };\n\t\t0C8DABBA1C07B5EA00B28FE2 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = \"<group>\"; };\n\t\t0C8DABBD1C07B5EA00B28FE2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t0C8DABBF1C07B5EA00B28FE2 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t0C8DABC21C07B5EA00B28FE2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t0C8DABC41C07B5EA00B28FE2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t240093F81BB4517400932727 /* Chameleon.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Chameleon.framework; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t240093FB1BB4517400932727 /* Chameleon.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Chameleon.h; sourceTree = \"<group>\"; };\n\t\t240093FD1BB4517400932727 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t245935D41BB4D62500C30559 /* Chameleon_.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Chameleon_.h; path = \"Pod/Classes/Objective-C/Chameleon_.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935D51BB4D62500C30559 /* Chameleon_.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Chameleon_.m; path = \"Pod/Classes/Objective-C/Chameleon_.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245935D61BB4D62500C30559 /* ChameleonConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ChameleonConstants.h; path = \"Pod/Classes/Objective-C/ChameleonConstants.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935D71BB4D62500C30559 /* ChameleonConstants.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ChameleonConstants.m; path = \"Pod/Classes/Objective-C/ChameleonConstants.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245935D81BB4D62500C30559 /* ChameleonEnums.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ChameleonEnums.h; path = \"Pod/Classes/Objective-C/ChameleonEnums.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935D91BB4D62500C30559 /* ChameleonMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ChameleonMacros.h; path = \"Pod/Classes/Objective-C/ChameleonMacros.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935DA1BB4D62500C30559 /* NSArray+Chameleon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"NSArray+Chameleon.h\"; path = \"Pod/Classes/Objective-C/NSArray+Chameleon.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935DB1BB4D62500C30559 /* NSArray+Chameleon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"NSArray+Chameleon.m\"; path = \"Pod/Classes/Objective-C/NSArray+Chameleon.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245935DC1BB4D62500C30559 /* UIButton+Chameleon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UIButton+Chameleon.h\"; path = \"Pod/Classes/Objective-C/UIButton+Chameleon.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935DD1BB4D62500C30559 /* UIButton+Chameleon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UIButton+Chameleon.m\"; path = \"Pod/Classes/Objective-C/UIButton+Chameleon.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245935DE1BB4D62500C30559 /* UIColor+Chameleon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UIColor+Chameleon.h\"; path = \"Pod/Classes/Objective-C/UIColor+Chameleon.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935DF1BB4D62500C30559 /* UIColor+Chameleon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UIColor+Chameleon.m\"; path = \"Pod/Classes/Objective-C/UIColor+Chameleon.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245935E01BB4D62500C30559 /* UIColor+ChameleonPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UIColor+ChameleonPrivate.h\"; path = \"Pod/Classes/Objective-C/UIColor+ChameleonPrivate.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935E11BB4D62500C30559 /* UIColor+ChameleonPrivate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UIColor+ChameleonPrivate.m\"; path = \"Pod/Classes/Objective-C/UIColor+ChameleonPrivate.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245935E21BB4D62500C30559 /* UIImage+ChameleonPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UIImage+ChameleonPrivate.h\"; path = \"Pod/Classes/Objective-C/UIImage+ChameleonPrivate.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935E31BB4D62500C30559 /* UIImage+ChameleonPrivate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UIImage+ChameleonPrivate.m\"; path = \"Pod/Classes/Objective-C/UIImage+ChameleonPrivate.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245935E41BB4D62500C30559 /* UILabel+Chameleon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UILabel+Chameleon.h\"; path = \"Pod/Classes/Objective-C/UILabel+Chameleon.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935E51BB4D62500C30559 /* UILabel+Chameleon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UILabel+Chameleon.m\"; path = \"Pod/Classes/Objective-C/UILabel+Chameleon.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245935E61BB4D62500C30559 /* UINavigationController+Chameleon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UINavigationController+Chameleon.h\"; path = \"Pod/Classes/Objective-C/UINavigationController+Chameleon.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935E71BB4D62500C30559 /* UINavigationController+Chameleon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UINavigationController+Chameleon.m\"; path = \"Pod/Classes/Objective-C/UINavigationController+Chameleon.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245935E81BB4D62500C30559 /* UIView+ChameleonPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UIView+ChameleonPrivate.h\"; path = \"Pod/Classes/Objective-C/UIView+ChameleonPrivate.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935E91BB4D62500C30559 /* UIView+ChameleonPrivate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UIView+ChameleonPrivate.m\"; path = \"Pod/Classes/Objective-C/UIView+ChameleonPrivate.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245935EA1BB4D62500C30559 /* UIViewController+Chameleon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = \"UIViewController+Chameleon.h\"; path = \"Pod/Classes/Objective-C/UIViewController+Chameleon.h\"; sourceTree = SOURCE_ROOT; };\n\t\t245935EB1BB4D62500C30559 /* UIViewController+Chameleon.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = \"UIViewController+Chameleon.m\"; path = \"Pod/Classes/Objective-C/UIViewController+Chameleon.m\"; sourceTree = SOURCE_ROOT; };\n\t\t245936041BB4D62D00C30559 /* ChameleonShorthand.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ChameleonShorthand.swift; path = Pod/Classes/Swift/ChameleonShorthand.swift; sourceTree = SOURCE_ROOT; };\n\t\t246492F91F0094DB001E4F26 /* ChameleonDemo-Swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = \"ChameleonDemo-Swift.app\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t246492FB1F0094DB001E4F26 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t246493001F0094DB001E4F26 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t246493021F0094DB001E4F26 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t246493051F0094DB001E4F26 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t246493071F0094DB001E4F26 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t247EB8A71BB61EB3009B4904 /* ChameleonDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ChameleonDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t247EB8A91BB61EB3009B4904 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t247EB8AB1BB61EB3009B4904 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = \"<group>\"; };\n\t\t247EB8AE1BB61EB3009B4904 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t247EB8B01BB61EB3009B4904 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t247EB8B31BB61EB3009B4904 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t247EB8B51BB61EB3009B4904 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t24D08EC91F00953A00D9F1A7 /* FirstViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FirstViewController.swift; sourceTree = \"<group>\"; };\n\t\t24D08ECA1F00953A00D9F1A7 /* SecondViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecondViewController.swift; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t0C8DABAE1C07B5EA00B28FE2 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0C6D34721C07B98400A7BF83 /* Chameleon.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t240093F41BB4517400932727 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t246492F61F0094DB001E4F26 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t24D08ECD1F00958200D9F1A7 /* Chameleon.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t247EB8A41BB61EB3009B4904 /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t247EB8B91BB61F76009B4904 /* Chameleon.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t0C8DABB21C07B5EA00B28FE2 /* ChameleonDemo-Objc */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0C8DABB61C07B5EA00B28FE2 /* AppDelegate.h */,\n\t\t\t\t0C8DABB71C07B5EA00B28FE2 /* AppDelegate.m */,\n\t\t\t\t0C8DABB91C07B5EA00B28FE2 /* ViewController.h */,\n\t\t\t\t0C8DABBA1C07B5EA00B28FE2 /* ViewController.m */,\n\t\t\t\t0C8DABBC1C07B5EA00B28FE2 /* Main.storyboard */,\n\t\t\t\t0C8DABBF1C07B5EA00B28FE2 /* Assets.xcassets */,\n\t\t\t\t0C8DABC11C07B5EA00B28FE2 /* LaunchScreen.storyboard */,\n\t\t\t\t0C8DABC41C07B5EA00B28FE2 /* Info.plist */,\n\t\t\t\t0C8DABB31C07B5EA00B28FE2 /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = \"ChameleonDemo-Objc\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0C8DABB31C07B5EA00B28FE2 /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t0C8DABB41C07B5EA00B28FE2 /* main.m */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t240093EE1BB4517400932727 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t240093FA1BB4517400932727 /* Chameleon */,\n\t\t\t\t247EB8A81BB61EB3009B4904 /* ChameleonDemo */,\n\t\t\t\t0C8DABB21C07B5EA00B28FE2 /* ChameleonDemo-Objc */,\n\t\t\t\t246492FA1F0094DB001E4F26 /* ChameleonDemo-Swift */,\n\t\t\t\t240093F91BB4517400932727 /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t240093F91BB4517400932727 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t240093F81BB4517400932727 /* Chameleon.framework */,\n\t\t\t\t247EB8A71BB61EB3009B4904 /* ChameleonDemo.app */,\n\t\t\t\t0C8DABB11C07B5EA00B28FE2 /* ChameleonDemo-Objc.app */,\n\t\t\t\t246492F91F0094DB001E4F26 /* ChameleonDemo-Swift.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t240093FA1BB4517400932727 /* Chameleon */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t245936041BB4D62D00C30559 /* ChameleonShorthand.swift */,\n\t\t\t\t240093FB1BB4517400932727 /* Chameleon.h */,\n\t\t\t\t245935D41BB4D62500C30559 /* Chameleon_.h */,\n\t\t\t\t245935D51BB4D62500C30559 /* Chameleon_.m */,\n\t\t\t\t245935D61BB4D62500C30559 /* ChameleonConstants.h */,\n\t\t\t\t245935D71BB4D62500C30559 /* ChameleonConstants.m */,\n\t\t\t\t245935D81BB4D62500C30559 /* ChameleonEnums.h */,\n\t\t\t\t245935D91BB4D62500C30559 /* ChameleonMacros.h */,\n\t\t\t\t245935DA1BB4D62500C30559 /* NSArray+Chameleon.h */,\n\t\t\t\t245935DB1BB4D62500C30559 /* NSArray+Chameleon.m */,\n\t\t\t\t245935DC1BB4D62500C30559 /* UIButton+Chameleon.h */,\n\t\t\t\t245935DD1BB4D62500C30559 /* UIButton+Chameleon.m */,\n\t\t\t\t245935DE1BB4D62500C30559 /* UIColor+Chameleon.h */,\n\t\t\t\t245935DF1BB4D62500C30559 /* UIColor+Chameleon.m */,\n\t\t\t\t245935E01BB4D62500C30559 /* UIColor+ChameleonPrivate.h */,\n\t\t\t\t245935E11BB4D62500C30559 /* UIColor+ChameleonPrivate.m */,\n\t\t\t\t245935E21BB4D62500C30559 /* UIImage+ChameleonPrivate.h */,\n\t\t\t\t245935E31BB4D62500C30559 /* UIImage+ChameleonPrivate.m */,\n\t\t\t\t245935E41BB4D62500C30559 /* UILabel+Chameleon.h */,\n\t\t\t\t245935E51BB4D62500C30559 /* UILabel+Chameleon.m */,\n\t\t\t\t245935E61BB4D62500C30559 /* UINavigationController+Chameleon.h */,\n\t\t\t\t245935E71BB4D62500C30559 /* UINavigationController+Chameleon.m */,\n\t\t\t\t245935E81BB4D62500C30559 /* UIView+ChameleonPrivate.h */,\n\t\t\t\t245935E91BB4D62500C30559 /* UIView+ChameleonPrivate.m */,\n\t\t\t\t245935EA1BB4D62500C30559 /* UIViewController+Chameleon.h */,\n\t\t\t\t245935EB1BB4D62500C30559 /* UIViewController+Chameleon.m */,\n\t\t\t\t0C8DABA51C07AC3800B28FE2 /* UIAppearance+Swift.h */,\n\t\t\t\t0C8DABA61C07AC3800B28FE2 /* UIAppearance+Swift.m */,\n\t\t\t\t240093FD1BB4517400932727 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = Chameleon;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t246492FA1F0094DB001E4F26 /* ChameleonDemo-Swift */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t246492FB1F0094DB001E4F26 /* AppDelegate.swift */,\n\t\t\t\t24D08EC91F00953A00D9F1A7 /* FirstViewController.swift */,\n\t\t\t\t24D08ECA1F00953A00D9F1A7 /* SecondViewController.swift */,\n\t\t\t\t246492FF1F0094DB001E4F26 /* Main.storyboard */,\n\t\t\t\t246493021F0094DB001E4F26 /* Assets.xcassets */,\n\t\t\t\t246493041F0094DB001E4F26 /* LaunchScreen.storyboard */,\n\t\t\t\t246493071F0094DB001E4F26 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = \"ChameleonDemo-Swift\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t247EB8A81BB61EB3009B4904 /* ChameleonDemo */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t247EB8A91BB61EB3009B4904 /* AppDelegate.swift */,\n\t\t\t\t247EB8AB1BB61EB3009B4904 /* ViewController.swift */,\n\t\t\t\t247EB8AD1BB61EB3009B4904 /* Main.storyboard */,\n\t\t\t\t247EB8B01BB61EB3009B4904 /* Assets.xcassets */,\n\t\t\t\t247EB8B21BB61EB3009B4904 /* LaunchScreen.storyboard */,\n\t\t\t\t247EB8B51BB61EB3009B4904 /* Info.plist */,\n\t\t\t);\n\t\t\tpath = ChameleonDemo;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXHeadersBuildPhase section */\n\t\t240093F51BB4517400932727 /* Headers */ = {\n\t\t\tisa = PBXHeadersBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t245935F41BB4D62500C30559 /* UIButton+Chameleon.h in Headers */,\n\t\t\t\t245935FC1BB4D62500C30559 /* UILabel+Chameleon.h in Headers */,\n\t\t\t\t245935F21BB4D62500C30559 /* NSArray+Chameleon.h in Headers */,\n\t\t\t\t240093FC1BB4517400932727 /* Chameleon.h in Headers */,\n\t\t\t\t245935EC1BB4D62500C30559 /* Chameleon_.h in Headers */,\n\t\t\t\t245935FE1BB4D62500C30559 /* UINavigationController+Chameleon.h in Headers */,\n\t\t\t\t245935F11BB4D62500C30559 /* ChameleonMacros.h in Headers */,\n\t\t\t\t245936001BB4D62500C30559 /* UIView+ChameleonPrivate.h in Headers */,\n\t\t\t\t245935F61BB4D62500C30559 /* UIColor+Chameleon.h in Headers */,\n\t\t\t\t245935F01BB4D62500C30559 /* ChameleonEnums.h in Headers */,\n\t\t\t\t245935EE1BB4D62500C30559 /* ChameleonConstants.h in Headers */,\n\t\t\t\t245935F81BB4D62500C30559 /* UIColor+ChameleonPrivate.h in Headers */,\n\t\t\t\t245936021BB4D62500C30559 /* UIViewController+Chameleon.h in Headers */,\n\t\t\t\t0C8DABAB1C07B00000B28FE2 /* UIImage+ChameleonPrivate.h in Headers */,\n\t\t\t\t0C8DABAC1C07B00800B28FE2 /* UIAppearance+Swift.h in Headers */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXHeadersBuildPhase section */\n\n/* Begin PBXNativeTarget section */\n\t\t0C8DABB01C07B5EA00B28FE2 /* ChameleonDemo-Objc */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 0C8DABC51C07B5EA00B28FE2 /* Build configuration list for PBXNativeTarget \"ChameleonDemo-Objc\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t0C8DABAD1C07B5EA00B28FE2 /* Sources */,\n\t\t\t\t0C8DABAE1C07B5EA00B28FE2 /* Frameworks */,\n\t\t\t\t0C8DABAF1C07B5EA00B28FE2 /* Resources */,\n\t\t\t\t0C6D34761C07B98400A7BF83 /* Embed Frameworks */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t0C6D34751C07B98400A7BF83 /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = \"ChameleonDemo-Objc\";\n\t\t\tproductName = \"ChameleonDemo-Objc\";\n\t\t\tproductReference = 0C8DABB11C07B5EA00B28FE2 /* ChameleonDemo-Objc.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t240093F71BB4517400932727 /* Chameleon */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 240094001BB4517400932727 /* Build configuration list for PBXNativeTarget \"Chameleon\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t240093F31BB4517400932727 /* Sources */,\n\t\t\t\t240093F41BB4517400932727 /* Frameworks */,\n\t\t\t\t240093F51BB4517400932727 /* Headers */,\n\t\t\t\t240093F61BB4517400932727 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Chameleon;\n\t\t\tproductName = Chameleon;\n\t\t\tproductReference = 240093F81BB4517400932727 /* Chameleon.framework */;\n\t\t\tproductType = \"com.apple.product-type.framework\";\n\t\t};\n\t\t246492F81F0094DB001E4F26 /* ChameleonDemo-Swift */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 2464930A1F0094DB001E4F26 /* Build configuration list for PBXNativeTarget \"ChameleonDemo-Swift\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t246492F51F0094DB001E4F26 /* Sources */,\n\t\t\t\t246492F61F0094DB001E4F26 /* Frameworks */,\n\t\t\t\t246492F71F0094DB001E4F26 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = \"ChameleonDemo-Swift\";\n\t\t\tproductName = \"ChameleonDemo-Swift\";\n\t\t\tproductReference = 246492F91F0094DB001E4F26 /* ChameleonDemo-Swift.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n\t\t247EB8A61BB61EB3009B4904 /* ChameleonDemo */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 247EB8B81BB61EB3009B4904 /* Build configuration list for PBXNativeTarget \"ChameleonDemo\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t247EB8A31BB61EB3009B4904 /* Sources */,\n\t\t\t\t247EB8A41BB61EB3009B4904 /* Frameworks */,\n\t\t\t\t247EB8A51BB61EB3009B4904 /* Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = ChameleonDemo;\n\t\t\tproductName = ChameleonDemo;\n\t\t\tproductReference = 247EB8A71BB61EB3009B4904 /* ChameleonDemo.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t240093EF1BB4517400932727 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastSwiftUpdateCheck = 0900;\n\t\t\t\tLastUpgradeCheck = 0900;\n\t\t\t\tORGANIZATIONNAME = \"Vicc Alexander\";\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t0C8DABB01C07B5EA00B28FE2 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 7.1.1;\n\t\t\t\t\t};\n\t\t\t\t\t240093F71BB4517400932727 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 7.0;\n\t\t\t\t\t\tLastSwiftMigration = 0800;\n\t\t\t\t\t};\n\t\t\t\t\t246492F81F0094DB001E4F26 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 9.0;\n\t\t\t\t\t};\n\t\t\t\t\t247EB8A61BB61EB3009B4904 = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 7.0;\n\t\t\t\t\t\tLastSwiftMigration = 0800;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 240093F21BB4517400932727 /* Build configuration list for PBXProject \"Chameleon\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 240093EE1BB4517400932727;\n\t\t\tproductRefGroup = 240093F91BB4517400932727 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t240093F71BB4517400932727 /* Chameleon */,\n\t\t\t\t247EB8A61BB61EB3009B4904 /* ChameleonDemo */,\n\t\t\t\t0C8DABB01C07B5EA00B28FE2 /* ChameleonDemo-Objc */,\n\t\t\t\t246492F81F0094DB001E4F26 /* ChameleonDemo-Swift */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t0C8DABAF1C07B5EA00B28FE2 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0C8DABC31C07B5EA00B28FE2 /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t0C8DABC01C07B5EA00B28FE2 /* Assets.xcassets in Resources */,\n\t\t\t\t0C8DABBE1C07B5EA00B28FE2 /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t240093F61BB4517400932727 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t246492F71F0094DB001E4F26 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t246493061F0094DB001E4F26 /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t246493031F0094DB001E4F26 /* Assets.xcassets in Resources */,\n\t\t\t\t246493011F0094DB001E4F26 /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t247EB8A51BB61EB3009B4904 /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t247EB8B41BB61EB3009B4904 /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t247EB8B11BB61EB3009B4904 /* Assets.xcassets in Resources */,\n\t\t\t\t247EB8AF1BB61EB3009B4904 /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t0C8DABAD1C07B5EA00B28FE2 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0C8DABBB1C07B5EA00B28FE2 /* ViewController.m in Sources */,\n\t\t\t\t0C8DABB81C07B5EA00B28FE2 /* AppDelegate.m in Sources */,\n\t\t\t\t0C8DABB51C07B5EA00B28FE2 /* main.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t240093F31BB4517400932727 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t245935F91BB4D62500C30559 /* UIColor+ChameleonPrivate.m in Sources */,\n\t\t\t\t245935F51BB4D62500C30559 /* UIButton+Chameleon.m in Sources */,\n\t\t\t\t245935F31BB4D62500C30559 /* NSArray+Chameleon.m in Sources */,\n\t\t\t\t245935FD1BB4D62500C30559 /* UILabel+Chameleon.m in Sources */,\n\t\t\t\t245935FB1BB4D62500C30559 /* UIImage+ChameleonPrivate.m in Sources */,\n\t\t\t\t245935EF1BB4D62500C30559 /* ChameleonConstants.m in Sources */,\n\t\t\t\t245936051BB4D62D00C30559 /* ChameleonShorthand.swift in Sources */,\n\t\t\t\t245936031BB4D62500C30559 /* UIViewController+Chameleon.m in Sources */,\n\t\t\t\t245935FF1BB4D62500C30559 /* UINavigationController+Chameleon.m in Sources */,\n\t\t\t\t0C8DABA81C07AC3800B28FE2 /* UIAppearance+Swift.m in Sources */,\n\t\t\t\t245936011BB4D62500C30559 /* UIView+ChameleonPrivate.m in Sources */,\n\t\t\t\t245935ED1BB4D62500C30559 /* Chameleon_.m in Sources */,\n\t\t\t\t245935F71BB4D62500C30559 /* UIColor+Chameleon.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t246492F51F0094DB001E4F26 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t24D08ECC1F00954100D9F1A7 /* SecondViewController.swift in Sources */,\n\t\t\t\t24D08ECB1F00954100D9F1A7 /* FirstViewController.swift in Sources */,\n\t\t\t\t246492FC1F0094DB001E4F26 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t247EB8A31BB61EB3009B4904 /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t247EB8AC1BB61EB3009B4904 /* ViewController.swift in Sources */,\n\t\t\t\t247EB8AA1BB61EB3009B4904 /* AppDelegate.swift in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t0C6D34751C07B98400A7BF83 /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 240093F71BB4517400932727 /* Chameleon */;\n\t\t\ttargetProxy = 0C6D34741C07B98400A7BF83 /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin PBXVariantGroup section */\n\t\t0C8DABBC1C07B5EA00B28FE2 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0C8DABBD1C07B5EA00B28FE2 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t0C8DABC11C07B5EA00B28FE2 /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t0C8DABC21C07B5EA00B28FE2 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t246492FF1F0094DB001E4F26 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t246493001F0094DB001E4F26 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t246493041F0094DB001E4F26 /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t246493051F0094DB001E4F26 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t247EB8AD1BB61EB3009B4904 /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t247EB8AE1BB61EB3009B4904 /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t247EB8B21BB61EB3009B4904 /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t247EB8B31BB61EB3009B4904 /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t0C8DABC61C07B5EA00B28FE2 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;\n\t\t\t\tINFOPLIST_FILE = \"ChameleonDemo-Objc/Info.plist\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.viccalexander.ChameleonDemo-Objc\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t0C8DABC71C07B5EA00B28FE2 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;\n\t\t\t\tINFOPLIST_FILE = \"ChameleonDemo-Objc/Info.plist\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.viccalexander.ChameleonDemo-Objc\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t240093FE1BB4517400932727 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tCURRENT_PROJECT_VERSION = 1;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t\tVERSION_INFO_PREFIX = \"\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t240093FF1BB4517400932727 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tCURRENT_PROJECT_VERSION = 1;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t\tVERSION_INFO_PREFIX = \"\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t240094011BB4517400932727 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\tDEFINES_MODULE = YES;\n\t\t\t\tDYLIB_COMPATIBILITY_VERSION = 1;\n\t\t\t\tDYLIB_CURRENT_VERSION = 1;\n\t\t\t\tDYLIB_INSTALL_NAME_BASE = \"@rpath\";\n\t\t\t\tINFOPLIST_FILE = Chameleon/Info.plist;\n\t\t\t\tINSTALL_PATH = \"$(LOCAL_LIBRARY_DIR)/Frameworks\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.viccalexander.Chameleon;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tSWIFT_VERSION = 3.0;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t240094021BB4517400932727 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tCLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"\";\n\t\t\t\tDEFINES_MODULE = YES;\n\t\t\t\tDYLIB_COMPATIBILITY_VERSION = 1;\n\t\t\t\tDYLIB_CURRENT_VERSION = 1;\n\t\t\t\tDYLIB_INSTALL_NAME_BASE = \"@rpath\";\n\t\t\t\tINFOPLIST_FILE = Chameleon/Info.plist;\n\t\t\t\tINSTALL_PATH = \"$(LOCAL_LIBRARY_DIR)/Frameworks\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks @loader_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.viccalexander.Chameleon;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSKIP_INSTALL = YES;\n\t\t\t\tSWIFT_VERSION = 3.0;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t246493081F0094DB001E4F26 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tINFOPLIST_FILE = \"ChameleonDemo-Swift/Info.plist\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.viccalexander.ChameleonDemo-Swift\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;\n\t\t\t\tSWIFT_VERSION = 3.0;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t246493091F0094DB001E4F26 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++14\";\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_DOCUMENTATION_COMMENTS = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;\n\t\t\t\tCODE_SIGN_IDENTITY = \"iPhone Developer\";\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu11;\n\t\t\t\tINFOPLIST_FILE = \"ChameleonDemo-Swift/Info.plist\";\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"com.viccalexander.ChameleonDemo-Swift\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 3.0;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t247EB8B61BB61EB3009B4904 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = ChameleonDemo/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.viccalexander.ChameleonDemo;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 3.0;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t247EB8B71BB61EB3009B4904 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tINFOPLIST_FILE = ChameleonDemo/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.viccalexander.ChameleonDemo;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_VERSION = 3.0;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t0C8DABC51C07B5EA00B28FE2 /* Build configuration list for PBXNativeTarget \"ChameleonDemo-Objc\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t0C8DABC61C07B5EA00B28FE2 /* Debug */,\n\t\t\t\t0C8DABC71C07B5EA00B28FE2 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t240093F21BB4517400932727 /* Build configuration list for PBXProject \"Chameleon\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t240093FE1BB4517400932727 /* Debug */,\n\t\t\t\t240093FF1BB4517400932727 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t240094001BB4517400932727 /* Build configuration list for PBXNativeTarget \"Chameleon\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t240094011BB4517400932727 /* Debug */,\n\t\t\t\t240094021BB4517400932727 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t2464930A1F0094DB001E4F26 /* Build configuration list for PBXNativeTarget \"ChameleonDemo-Swift\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t246493081F0094DB001E4F26 /* Debug */,\n\t\t\t\t246493091F0094DB001E4F26 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t247EB8B81BB61EB3009B4904 /* Build configuration list for PBXNativeTarget \"ChameleonDemo\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t247EB8B61BB61EB3009B4904 /* Debug */,\n\t\t\t\t247EB8B71BB61EB3009B4904 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 240093EF1BB4517400932727 /* Project object */;\n}\n"
  },
  {
    "path": "Chameleon.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"self:Chameleon.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "Chameleon.xcodeproj/xcshareddata/xcschemes/Chameleon.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0900\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"240093F71BB4517400932727\"\n               BuildableName = \"Chameleon.framework\"\n               BlueprintName = \"Chameleon\"\n               ReferencedContainer = \"container:Chameleon.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      language = \"\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      language = \"\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"240093F71BB4517400932727\"\n            BuildableName = \"Chameleon.framework\"\n            BlueprintName = \"Chameleon\"\n            ReferencedContainer = \"container:Chameleon.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"240093F71BB4517400932727\"\n            BuildableName = \"Chameleon.framework\"\n            BlueprintName = \"Chameleon\"\n            ReferencedContainer = \"container:Chameleon.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "ChameleonDemo/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  ChameleonDemo\n//\n//  Created by Vicc Alexander on 9/25/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\nimport UIKit\nimport Chameleon\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n    public func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {\n\n        Chameleon.setGlobalThemeUsingPrimaryColor(.flatPlum,\n            withSecondaryColor: .flatBlue,\n            andContentStyle: .contrast)\n        \n        return true\n    }\n\n\n}\n\n"
  },
  {
    "path": "ChameleonDemo/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"ipad\",\n      \"size\" : \"76x76\",\n      \"scale\" : \"2x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ChameleonDemo/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"8191\" systemVersion=\"15A282b\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8154\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <animations/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "ChameleonDemo/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"11201\" systemVersion=\"16A323\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"Xln-K6-UFC\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"11161\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Title goes Here-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"ViewController\" customModule=\"ChameleonDemo\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <stepper opaque=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"750\" verticalHuggingPriority=\"750\" fixedFrame=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" maximumValue=\"100\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"19T-Ed-0Qn\">\n                                <frame key=\"frameInset\" minX=\"35\" minY=\"89\" width=\"94\" height=\"29\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                            </stepper>\n                            <pageControl opaque=\"NO\" contentMode=\"scaleToFill\" fixedFrame=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" numberOfPages=\"5\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"itF-AN-yqB\">\n                                <frame key=\"frameInset\" minX=\"137\" minY=\"85\" width=\"90\" height=\"37\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                            </pageControl>\n                            <progressView opaque=\"NO\" contentMode=\"scaleToFill\" verticalHuggingPriority=\"750\" fixedFrame=\"YES\" progress=\"0.5\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"poA-HK-aBg\">\n                                <frame key=\"frameInset\" minX=\"35\" minY=\"205\" width=\"150\" height=\"2\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                            </progressView>\n                            <switch opaque=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"750\" verticalHuggingPriority=\"750\" fixedFrame=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" on=\"YES\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"lWe-yR-1HQ\">\n                                <frame key=\"frameInset\" minX=\"178\" minY=\"141\" width=\"51\" height=\"31\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                            </switch>\n                            <slider opaque=\"NO\" contentMode=\"scaleToFill\" fixedFrame=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" value=\"0.5\" minValue=\"0.0\" maxValue=\"1\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"ebB-OC-Xdd\">\n                                <frame key=\"frameInset\" minX=\"33\" minY=\"240\" width=\"118\" height=\"31\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                            </slider>\n                            <segmentedControl opaque=\"NO\" contentMode=\"scaleToFill\" fixedFrame=\"YES\" contentHorizontalAlignment=\"left\" contentVerticalAlignment=\"top\" segmentControlStyle=\"plain\" selectedSegmentIndex=\"0\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"7Gc-EA-0wb\">\n                                <frame key=\"frameInset\" minX=\"35\" minY=\"143\" width=\"121\" height=\"29\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <segments>\n                                    <segment title=\"First\"/>\n                                    <segment title=\"Second\"/>\n                                </segments>\n                            </segmentedControl>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" fixedFrame=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" buttonType=\"roundedRect\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"wA2-Zr-ic0\">\n                                <frame key=\"frameInset\" minX=\"181\" minY=\"240\" width=\"46\" height=\"30\"/>\n                                <autoresizingMask key=\"autoresizingMask\" flexibleMaxX=\"YES\" flexibleMaxY=\"YES\"/>\n                                <state key=\"normal\" title=\"Button\"/>\n                                <connections>\n                                    <segue destination=\"J6h-sm-yf4\" kind=\"show\" id=\"yPA-9P-BPJ\"/>\n                                </connections>\n                            </button>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"0.80000000000000004\" green=\"0.0\" blue=\"0.0\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </view>\n                    <navigationItem key=\"navigationItem\" title=\"Title goes Here\" id=\"4Do-bz-Jkp\"/>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1446\" y=\"385\"/>\n        </scene>\n        <!--View Controller-->\n        <scene sceneID=\"Gcf-85-iFb\">\n            <objects>\n                <viewController id=\"J6h-sm-yf4\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"8s3-LU-Yoa\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"tHt-yw-TUs\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"PHB-Bq-g40\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"c1C-pA-Qlf\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"2238\" y=\"384\"/>\n        </scene>\n        <!--Navigation Controller-->\n        <scene sceneID=\"C9s-fF-qGp\">\n            <objects>\n                <navigationController automaticallyAdjustsScrollViewInsets=\"NO\" id=\"Xln-K6-UFC\" sceneMemberID=\"viewController\">\n                    <toolbarItems/>\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"ppb-Cb-Vaf\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"320\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                        <color key=\"barTintColor\" red=\"0.96799742229999997\" green=\"0.3209621513\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </navigationBar>\n                    <nil name=\"viewControllers\"/>\n                    <connections>\n                        <segue destination=\"BYZ-38-t0r\" kind=\"relationship\" relationship=\"rootViewController\" id=\"AQQ-Fd-CjT\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"A2b-rc-aii\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"582\" y=\"385\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "ChameleonDemo/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>2.0.6</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIViewControllerBasedStatusBarAppearance</key>\n\t<false/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ChameleonDemo/ViewController.swift",
    "content": "//\n//  ViewController.swift\n//  ChameleonDemo\n//\n//  Created by Vicc Alexander on 9/25/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\nimport UIKit\nimport Chameleon\n\nclass ViewController: UIViewController {\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        view.backgroundColor = GradientColor(UIGradientStyle.leftToRight, frame: view.frame, colors: [UIColor.black, UIColor.yellow])\n    }\n}\n"
  },
  {
    "path": "ChameleonDemo-ObjC/AppDelegate.h",
    "content": "//\n//  AppDelegate.h\n//  ChameleonDemo-Objc\n//\n//  Created by Vicc Alexander on 11/26/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n@import Chameleon;\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n\n@end\n\n"
  },
  {
    "path": "ChameleonDemo-ObjC/AppDelegate.m",
    "content": "//\n//  AppDelegate.m\n//  ChameleonDemo-Objc\n//\n//  Created by Vicc Alexander on 11/26/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"AppDelegate.h\"\n\n@interface AppDelegate ()\n\n@end\n\n@implementation AppDelegate\n\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {\n    \n    //Set global theme\n    [Chameleon setGlobalThemeUsingPrimaryColor:FlatMint withSecondaryColor:FlatBlue andContentStyle:UIContentStyleContrast];\n    \n    \n    return YES;\n}\n\n- (void)applicationWillResignActive:(UIApplication *)application {\n    // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.\n    // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.\n}\n\n- (void)applicationDidEnterBackground:(UIApplication *)application {\n    // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.\n    // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.\n}\n\n- (void)applicationWillEnterForeground:(UIApplication *)application {\n    // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.\n}\n\n- (void)applicationDidBecomeActive:(UIApplication *)application {\n    // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.\n}\n\n- (void)applicationWillTerminate:(UIApplication *)application {\n    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.\n}\n\n@end\n"
  },
  {
    "path": "ChameleonDemo-ObjC/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ChameleonDemo-ObjC/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"8150\" systemVersion=\"15A204g\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"8122\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <animations/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "ChameleonDemo-ObjC/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"9060\" systemVersion=\"15B42\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" initialViewController=\"DDR-cw-uah\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"9051\"/>\n    </dependencies>\n    <scenes>\n        <!--Chameleon-->\n        <scene sceneID=\"htd-oj-yMi\">\n            <objects>\n                <viewController id=\"bxX-DA-4YG\" customClass=\"ViewController\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"XeJ-fS-pDC\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"bo3-pv-2fG\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"7XF-ox-U3N\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"64\" width=\"600\" height=\"536\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <stepper opaque=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"750\" verticalHuggingPriority=\"750\" fixedFrame=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" maximumValue=\"100\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Fcl-sO-xGd\">\n                                <rect key=\"frame\" x=\"35\" y=\"89\" width=\"94\" height=\"29\"/>\n                                <animations/>\n                            </stepper>\n                            <progressView opaque=\"NO\" contentMode=\"scaleToFill\" verticalHuggingPriority=\"750\" fixedFrame=\"YES\" progress=\"0.5\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"uno-15-6FV\">\n                                <rect key=\"frame\" x=\"35\" y=\"205\" width=\"150\" height=\"2\"/>\n                                <animations/>\n                            </progressView>\n                            <switch opaque=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"750\" verticalHuggingPriority=\"750\" fixedFrame=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" on=\"YES\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"tZl-0w-AEK\">\n                                <rect key=\"frame\" x=\"178\" y=\"141\" width=\"51\" height=\"31\"/>\n                                <animations/>\n                            </switch>\n                            <slider opaque=\"NO\" contentMode=\"scaleToFill\" fixedFrame=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" value=\"0.5\" minValue=\"0.0\" maxValue=\"1\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"sEd-ni-n9b\">\n                                <rect key=\"frame\" x=\"33\" y=\"240\" width=\"118\" height=\"31\"/>\n                                <animations/>\n                            </slider>\n                            <segmentedControl opaque=\"NO\" contentMode=\"scaleToFill\" fixedFrame=\"YES\" contentHorizontalAlignment=\"left\" contentVerticalAlignment=\"top\" segmentControlStyle=\"plain\" selectedSegmentIndex=\"0\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"OD8-BK-xRp\">\n                                <rect key=\"frame\" x=\"35\" y=\"143\" width=\"121\" height=\"29\"/>\n                                <animations/>\n                                <segments>\n                                    <segment title=\"First\"/>\n                                    <segment title=\"Second\"/>\n                                </segments>\n                            </segmentedControl>\n                            <button opaque=\"NO\" contentMode=\"scaleToFill\" fixedFrame=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" buttonType=\"roundedRect\" lineBreakMode=\"middleTruncation\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"vd1-BC-0GS\">\n                                <rect key=\"frame\" x=\"181\" y=\"240\" width=\"46\" height=\"30\"/>\n                                <animations/>\n                                <state key=\"normal\" title=\"Button\"/>\n                            </button>\n                            <pageControl opaque=\"NO\" contentMode=\"scaleToFill\" fixedFrame=\"YES\" contentHorizontalAlignment=\"center\" contentVerticalAlignment=\"center\" numberOfPages=\"5\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"02d-LT-XqT\">\n                                <rect key=\"frame\" x=\"137\" y=\"85\" width=\"90\" height=\"37\"/>\n                                <animations/>\n                            </pageControl>\n                        </subviews>\n                        <animations/>\n                        <color key=\"backgroundColor\" red=\"0.80000000000000004\" green=\"0.0\" blue=\"0.0\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                    </view>\n                    <navigationItem key=\"navigationItem\" title=\"Chameleon\" id=\"qSC-Xc-gWl\"/>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"y4Y-TI-tC2\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1877\" y=\"283\"/>\n        </scene>\n        <!--Navigation Controller-->\n        <scene sceneID=\"TU8-a7-Gfj\">\n            <objects>\n                <navigationController automaticallyAdjustsScrollViewInsets=\"NO\" id=\"DDR-cw-uah\" sceneMemberID=\"viewController\">\n                    <toolbarItems/>\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" translucent=\"NO\" id=\"hi6-Wf-Ozl\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"320\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                        <animations/>\n                        <color key=\"barTintColor\" red=\"1\" green=\"0.0\" blue=\"1\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                    </navigationBar>\n                    <nil name=\"viewControllers\"/>\n                    <connections>\n                        <segue destination=\"bxX-DA-4YG\" kind=\"relationship\" relationship=\"rootViewController\" id=\"okW-km-o5G\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"bwH-Yb-JKT\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1065\" y=\"283\"/>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "ChameleonDemo-ObjC/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>2.0.6</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIViewControllerBasedStatusBarAppearance</key>\n\t<false/>\n</dict>\n</plist>\n"
  },
  {
    "path": "ChameleonDemo-ObjC/ViewController.h",
    "content": "//\n//  ViewController.h\n//  ChameleonDemo-Objc\n//\n//  Created by Vicc Alexander on 11/26/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n@import Chameleon;\n\n@interface ViewController : UIViewController\n\n\n@end\n\n"
  },
  {
    "path": "ChameleonDemo-ObjC/ViewController.m",
    "content": "//\n//  ViewController.m\n//  ChameleonDemo-Objc\n//\n//  Created by Vicc Alexander on 11/26/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"ViewController.h\"\n\n@interface ViewController ()\n\n@end\n\n@implementation ViewController\n\n- (void)viewDidLoad {\n    \n    //Super\n    [super viewDidLoad];\n    \n    //Set View Background\n    self.view.backgroundColor = FlatYellow;\n}\n\n- (void)didReceiveMemoryWarning {\n    \n    //Super\n    [super didReceiveMemoryWarning];\n}\n\n@end\n"
  },
  {
    "path": "ChameleonDemo-ObjC/main.m",
    "content": "//\n//  main.m\n//  ChameleonDemo-Objc\n//\n//  Created by Vicc Alexander on 11/26/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import \"AppDelegate.h\"\n\nint main(int argc, char * argv[]) {\n    @autoreleasepool {\n        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));\n    }\n}\n"
  },
  {
    "path": "ChameleonDemo-Swift/AppDelegate.swift",
    "content": "//\n//  AppDelegate.swift\n//  ChameleonDemo\n//\n//  Created by Wei Huang on 5/5/17.\n//  Copyright © 2017 Wei Huang. All rights reserved.\n//\n\nimport UIKit\n\n@UIApplicationMain\nclass AppDelegate: UIResponder, UIApplicationDelegate {\n\n    var window: UIWindow?\n\n\n    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {\n        return true\n    }\n\n\n}\n\n"
  },
  {
    "path": "ChameleonDemo-Swift/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"20x20\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"29x29\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"40x40\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Demo-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"iphone\",\n      \"size\" : \"60x60\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"idiom\" : \"ios-marketing\",\n      \"size\" : \"1024x1024\",\n      \"scale\" : \"1x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ChameleonDemo-Swift/Assets.xcassets/Contents.json",
    "content": "{\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ChameleonDemo-Swift/Assets.xcassets/SampleImageOne.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"SampleImageOne-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ChameleonDemo-Swift/Assets.xcassets/SampleImageTwo.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"SampleImageTwo-1.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ChameleonDemo-Swift/Assets.xcassets/first.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"first.pdf\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ChameleonDemo-Swift/Assets.xcassets/logo.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"logo@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ChameleonDemo-Swift/Assets.xcassets/second.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"second.pdf\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}"
  },
  {
    "path": "ChameleonDemo-Swift/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"13122.19\" systemVersion=\"16F73\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <device id=\"retina4_7\" orientation=\"portrait\">\n        <adaptation id=\"fullscreen\"/>\n    </device>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"13104.16\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Llm-lL-Icb\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xb3-aO-Qok\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" image=\"logo\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"H1p-zD-1W4\">\n                                <rect key=\"frame\" x=\"39.5\" y=\"185.5\" width=\"295\" height=\"295\"/>\n                            </imageView>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstItem=\"H1p-zD-1W4\" firstAttribute=\"centerY\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"centerY\" id=\"1d3-Nm-RQM\"/>\n                            <constraint firstItem=\"H1p-zD-1W4\" firstAttribute=\"centerX\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"centerX\" id=\"ypH-Je-3rG\"/>\n                        </constraints>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n    <resources>\n        <image name=\"logo\" width=\"295\" height=\"295\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "ChameleonDemo-Swift/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"13122.19\" systemVersion=\"16F73\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" colorMatched=\"YES\" initialViewController=\"49e-Tb-3d3\">\n    <device id=\"retina5_5\" orientation=\"portrait\">\n        <adaptation id=\"fullscreen\"/>\n    </device>\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"13104.16\"/>\n        <capability name=\"Alignment constraints to the first baseline\" minToolsVersion=\"6.0\"/>\n        <capability name=\"Constraints to layout margins\" minToolsVersion=\"6.0\"/>\n        <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n    </dependencies>\n    <scenes>\n        <!--Basics-->\n        <scene sceneID=\"wca-15-Njr\">\n            <objects>\n                <tableViewController id=\"2KV-cp-EhT\" customClass=\"FirstViewController\" customModule=\"ChameleonDemo_Swift\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <tableView key=\"view\" clipsSubviews=\"YES\" contentMode=\"scaleToFill\" alwaysBounceVertical=\"YES\" dataMode=\"static\" style=\"plain\" allowsSelection=\"NO\" rowHeight=\"44\" sectionHeaderHeight=\"28\" sectionFooterHeight=\"28\" id=\"1Ma-KC-gUD\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"736\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <sections>\n                            <tableViewSection id=\"ZHn-Pf-Tjz\">\n                                <cells>\n                                    <tableViewCell clipsSubviews=\"YES\" contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" rowHeight=\"60\" id=\"fuT-ff-gWP\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"60\"/>\n                                        <autoresizingMask key=\"autoresizingMask\"/>\n                                        <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"fuT-ff-gWP\" id=\"iQa-AC-kQ6\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"59.666666666666664\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <subviews>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Random Flat Color:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"evh-Zv-7g5\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"7\" width=\"280\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" red=\"0.20000000300000001\" green=\"0.20000000300000001\" blue=\"0.20000000300000001\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= UIColor.randomFlat\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"4BE-fg-PdX\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"27\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"3yr-ng-YHK\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"p9z-I4-Wgd\">\n                                                    <rect key=\"frame\" x=\"318\" y=\"7\" width=\"76\" height=\"44\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"76\" id=\"oIG-Sy-45U\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"33\"/>\n                                                    <color key=\"textColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kDA-pX-dex\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"39\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"OUz-k2-ilm\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                            </subviews>\n                                            <constraints>\n                                                <constraint firstItem=\"p9z-I4-Wgd\" firstAttribute=\"leading\" secondItem=\"evh-Zv-7g5\" secondAttribute=\"trailing\" constant=\"18\" id=\"1yu-Jn-ZYV\"/>\n                                                <constraint firstItem=\"4BE-fg-PdX\" firstAttribute=\"top\" secondItem=\"evh-Zv-7g5\" secondAttribute=\"bottom\" id=\"68f-Jx-63I\"/>\n                                                <constraint firstItem=\"evh-Zv-7g5\" firstAttribute=\"leading\" secondItem=\"iQa-AC-kQ6\" secondAttribute=\"leadingMargin\" constant=\"12\" id=\"6zv-Sf-erv\"/>\n                                                <constraint firstItem=\"4BE-fg-PdX\" firstAttribute=\"trailing\" secondItem=\"kDA-pX-dex\" secondAttribute=\"trailing\" id=\"HQr-UM-ov2\"/>\n                                                <constraint firstItem=\"4BE-fg-PdX\" firstAttribute=\"leading\" secondItem=\"kDA-pX-dex\" secondAttribute=\"leading\" id=\"Ihj-iT-V0V\"/>\n                                                <constraint firstItem=\"kDA-pX-dex\" firstAttribute=\"bottom\" secondItem=\"p9z-I4-Wgd\" secondAttribute=\"bottom\" id=\"Te2-Gd-07D\"/>\n                                                <constraint firstItem=\"evh-Zv-7g5\" firstAttribute=\"top\" secondItem=\"p9z-I4-Wgd\" secondAttribute=\"top\" id=\"UpS-UE-nEg\"/>\n                                                <constraint firstItem=\"evh-Zv-7g5\" firstAttribute=\"trailing\" secondItem=\"4BE-fg-PdX\" secondAttribute=\"trailing\" id=\"aPQ-Wv-nYx\"/>\n                                                <constraint firstItem=\"evh-Zv-7g5\" firstAttribute=\"leading\" secondItem=\"4BE-fg-PdX\" secondAttribute=\"leading\" id=\"qxc-TQ-pAX\"/>\n                                                <constraint firstItem=\"p9z-I4-Wgd\" firstAttribute=\"centerY\" secondItem=\"iQa-AC-kQ6\" secondAttribute=\"centerY\" id=\"sTp-Wx-jgM\"/>\n                                                <constraint firstItem=\"kDA-pX-dex\" firstAttribute=\"top\" secondItem=\"4BE-fg-PdX\" secondAttribute=\"bottom\" id=\"x8u-jq-8UE\"/>\n                                                <constraint firstItem=\"evh-Zv-7g5\" firstAttribute=\"top\" secondItem=\"iQa-AC-kQ6\" secondAttribute=\"topMargin\" constant=\"-1\" id=\"xLB-Me-hL9\"/>\n                                                <constraint firstAttribute=\"trailingMargin\" secondItem=\"p9z-I4-Wgd\" secondAttribute=\"trailing\" constant=\"12\" id=\"yvy-S8-472\"/>\n                                            </constraints>\n                                        </tableViewCellContentView>\n                                    </tableViewCell>\n                                    <tableViewCell clipsSubviews=\"YES\" contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" rowHeight=\"60\" id=\"grQ-La-gFI\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"60\" width=\"414\" height=\"60\"/>\n                                        <autoresizingMask key=\"autoresizingMask\"/>\n                                        <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"grQ-La-gFI\" id=\"3Jk-uq-GVj\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"59.666666666666664\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <subviews>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Complementary Flat Color:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Aho-F6-dOk\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"7\" width=\"280\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" red=\"0.20000000300000001\" green=\"0.20000000300000001\" blue=\"0.20000000300000001\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= ComplementaryFlatColorOf(randomFlatColor)\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"cm3-jI-NVD\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"27\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"zK3-hU-mzN\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"HRB-I2-wlq\">\n                                                    <rect key=\"frame\" x=\"318\" y=\"7\" width=\"76\" height=\"44\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"76\" id=\"Dw4-w8-gWH\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"33\"/>\n                                                    <nil key=\"textColor\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"lMq-Qt-K4X\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"39\" width=\"0.0\" height=\"0.0\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"cHS-gG-N6h\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"39\" width=\"280\" height=\"12\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                            </subviews>\n                                            <constraints>\n                                                <constraint firstItem=\"HRB-I2-wlq\" firstAttribute=\"centerY\" secondItem=\"3Jk-uq-GVj\" secondAttribute=\"centerY\" id=\"0o4-Mf-W3C\"/>\n                                                <constraint firstItem=\"HRB-I2-wlq\" firstAttribute=\"leading\" secondItem=\"Aho-F6-dOk\" secondAttribute=\"trailing\" constant=\"18\" id=\"4l6-Df-cHS\"/>\n                                                <constraint firstItem=\"cHS-gG-N6h\" firstAttribute=\"bottom\" secondItem=\"HRB-I2-wlq\" secondAttribute=\"bottom\" id=\"6Rq-Eh-QKG\"/>\n                                                <constraint firstAttribute=\"trailingMargin\" secondItem=\"HRB-I2-wlq\" secondAttribute=\"trailing\" constant=\"12\" id=\"CBT-6L-ARv\"/>\n                                                <constraint firstItem=\"Aho-F6-dOk\" firstAttribute=\"trailing\" secondItem=\"cm3-jI-NVD\" secondAttribute=\"trailing\" id=\"HKs-fx-LoJ\"/>\n                                                <constraint firstItem=\"Aho-F6-dOk\" firstAttribute=\"leading\" secondItem=\"lMq-Qt-K4X\" secondAttribute=\"leading\" id=\"RBK-mR-aeu\"/>\n                                                <constraint firstItem=\"lMq-Qt-K4X\" firstAttribute=\"leading\" secondItem=\"cHS-gG-N6h\" secondAttribute=\"leading\" id=\"S6q-OQ-bHj\"/>\n                                                <constraint firstItem=\"cm3-jI-NVD\" firstAttribute=\"leading\" secondItem=\"lMq-Qt-K4X\" secondAttribute=\"leading\" id=\"SKr-dC-Cqr\"/>\n                                                <constraint firstItem=\"cm3-jI-NVD\" firstAttribute=\"top\" secondItem=\"Aho-F6-dOk\" secondAttribute=\"bottom\" id=\"T0F-gj-E5b\"/>\n                                                <constraint firstItem=\"cm3-jI-NVD\" firstAttribute=\"trailing\" secondItem=\"cHS-gG-N6h\" secondAttribute=\"trailing\" id=\"bGi-Qo-Jm9\"/>\n                                                <constraint firstItem=\"lMq-Qt-K4X\" firstAttribute=\"bottom\" secondItem=\"cm3-jI-NVD\" secondAttribute=\"bottom\" id=\"d4z-bg-hxj\"/>\n                                                <constraint firstItem=\"Aho-F6-dOk\" firstAttribute=\"leading\" secondItem=\"3Jk-uq-GVj\" secondAttribute=\"leadingMargin\" constant=\"12\" id=\"gd1-1x-OJf\"/>\n                                                <constraint firstItem=\"Aho-F6-dOk\" firstAttribute=\"top\" secondItem=\"3Jk-uq-GVj\" secondAttribute=\"topMargin\" constant=\"-1\" id=\"hfv-uj-7T1\"/>\n                                                <constraint firstItem=\"Aho-F6-dOk\" firstAttribute=\"top\" secondItem=\"HRB-I2-wlq\" secondAttribute=\"top\" id=\"igg-Cm-HIx\"/>\n                                                <constraint firstItem=\"lMq-Qt-K4X\" firstAttribute=\"firstBaseline\" secondItem=\"cHS-gG-N6h\" secondAttribute=\"firstBaseline\" id=\"qAK-Q6-pQV\"/>\n                                                <constraint firstItem=\"cHS-gG-N6h\" firstAttribute=\"baseline\" secondItem=\"lMq-Qt-K4X\" secondAttribute=\"firstBaseline\" id=\"rgu-M8-c3n\"/>\n                                            </constraints>\n                                        </tableViewCellContentView>\n                                    </tableViewCell>\n                                    <tableViewCell clipsSubviews=\"YES\" contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" rowHeight=\"60\" id=\"Ym8-x5-eCy\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"120\" width=\"414\" height=\"60\"/>\n                                        <autoresizingMask key=\"autoresizingMask\"/>\n                                        <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"Ym8-x5-eCy\" id=\"ccw-xw-rd5\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"59.666666666666664\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <subviews>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Contrast Flat Color:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Lzh-4J-h2z\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"7\" width=\"280\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" red=\"0.20000000300000001\" green=\"0.20000000300000001\" blue=\"0.20000000300000001\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= ContrastColorOf(randomFlatColor, returnFlat: true)\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"KLU-sl-kJR\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"27\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"30Y-kX-l34\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"5zV-dt-yNY\">\n                                                    <rect key=\"frame\" x=\"318\" y=\"7\" width=\"76\" height=\"44\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"76\" id=\"HWA-Ty-fvM\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"33\"/>\n                                                    <nil key=\"textColor\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Mg6-bB-jia\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"39\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"RAR-ak-4qM\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                            </subviews>\n                                            <constraints>\n                                                <constraint firstItem=\"5zV-dt-yNY\" firstAttribute=\"leading\" secondItem=\"Lzh-4J-h2z\" secondAttribute=\"trailing\" constant=\"18\" id=\"Bfd-UI-rH5\"/>\n                                                <constraint firstItem=\"Lzh-4J-h2z\" firstAttribute=\"top\" secondItem=\"5zV-dt-yNY\" secondAttribute=\"top\" id=\"F7X-9B-8ja\"/>\n                                                <constraint firstItem=\"KLU-sl-kJR\" firstAttribute=\"top\" secondItem=\"Lzh-4J-h2z\" secondAttribute=\"bottom\" id=\"Gal-Uj-6Yu\"/>\n                                                <constraint firstAttribute=\"trailingMargin\" secondItem=\"5zV-dt-yNY\" secondAttribute=\"trailing\" constant=\"12\" id=\"Gto-hZ-RhL\"/>\n                                                <constraint firstItem=\"Lzh-4J-h2z\" firstAttribute=\"top\" secondItem=\"ccw-xw-rd5\" secondAttribute=\"topMargin\" constant=\"-1\" id=\"Ree-qb-1UY\"/>\n                                                <constraint firstItem=\"Lzh-4J-h2z\" firstAttribute=\"leading\" secondItem=\"KLU-sl-kJR\" secondAttribute=\"leading\" id=\"T9e-xc-r5E\"/>\n                                                <constraint firstItem=\"Mg6-bB-jia\" firstAttribute=\"bottom\" secondItem=\"5zV-dt-yNY\" secondAttribute=\"bottom\" id=\"WvY-Mq-o2e\"/>\n                                                <constraint firstItem=\"Lzh-4J-h2z\" firstAttribute=\"trailing\" secondItem=\"KLU-sl-kJR\" secondAttribute=\"trailing\" id=\"Yev-0J-SsU\"/>\n                                                <constraint firstItem=\"KLU-sl-kJR\" firstAttribute=\"trailing\" secondItem=\"Mg6-bB-jia\" secondAttribute=\"trailing\" id=\"aGa-Nf-k1x\"/>\n                                                <constraint firstItem=\"Lzh-4J-h2z\" firstAttribute=\"leading\" secondItem=\"ccw-xw-rd5\" secondAttribute=\"leadingMargin\" constant=\"12\" id=\"eN1-fF-5Hs\"/>\n                                                <constraint firstItem=\"KLU-sl-kJR\" firstAttribute=\"leading\" secondItem=\"Mg6-bB-jia\" secondAttribute=\"leading\" id=\"jev-fN-S1J\"/>\n                                                <constraint firstItem=\"Mg6-bB-jia\" firstAttribute=\"top\" secondItem=\"KLU-sl-kJR\" secondAttribute=\"bottom\" id=\"mMl-MG-4aU\"/>\n                                                <constraint firstItem=\"5zV-dt-yNY\" firstAttribute=\"centerY\" secondItem=\"ccw-xw-rd5\" secondAttribute=\"centerY\" id=\"uuF-WU-Efa\"/>\n                                            </constraints>\n                                        </tableViewCellContentView>\n                                    </tableViewCell>\n                                    <tableViewCell clipsSubviews=\"YES\" contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" rowHeight=\"112\" id=\"rp0-TN-A31\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"180\" width=\"414\" height=\"112\"/>\n                                        <autoresizingMask key=\"autoresizingMask\"/>\n                                        <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"rp0-TN-A31\" id=\"tiv-uT-pdu\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"111.66666666666667\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <subviews>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Flattening Non-Flat Color:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Rta-7Q-vBV\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"7\" width=\"175\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" red=\"0.20000000300000001\" green=\"0.20000000300000001\" blue=\"0.20000000300000001\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= randomNonFlatColor.flatten()\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"t8J-LA-xHL\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"27\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"iMN-pz-PMA\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"33X-7b-xGc\">\n                                                    <rect key=\"frame\" x=\"318\" y=\"7\" width=\"76\" height=\"44\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"76\" id=\"Kah-CE-efa\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"33\"/>\n                                                    <nil key=\"textColor\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Dgu-Zv-Y8x\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"39\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"4Bs-al-ko1\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Before-Flattening Color:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"vEq-3Q-Qim\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"59\" width=\"164\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"20\" id=\"9VD-Bh-Umv\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"5eO-J0-Kjs\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"79\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"4L5-Vb-gzf\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Nr5-Ir-aKt\">\n                                                    <rect key=\"frame\" x=\"318\" y=\"59\" width=\"76\" height=\"44\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"33\"/>\n                                                    <nil key=\"textColor\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"MMB-ga-lu5\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"91\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"Ta6-Sc-6DZ\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                            </subviews>\n                                            <constraints>\n                                                <constraint firstItem=\"Nr5-Ir-aKt\" firstAttribute=\"top\" secondItem=\"33X-7b-xGc\" secondAttribute=\"bottom\" constant=\"8\" symbolic=\"YES\" id=\"2HR-Iv-lhq\"/>\n                                                <constraint firstItem=\"Dgu-Zv-Y8x\" firstAttribute=\"leading\" secondItem=\"vEq-3Q-Qim\" secondAttribute=\"leading\" id=\"ALD-E7-XeB\"/>\n                                                <constraint firstItem=\"Dgu-Zv-Y8x\" firstAttribute=\"trailing\" secondItem=\"5eO-J0-Kjs\" secondAttribute=\"trailing\" id=\"COo-G1-lGI\"/>\n                                                <constraint firstItem=\"Rta-7Q-vBV\" firstAttribute=\"top\" secondItem=\"33X-7b-xGc\" secondAttribute=\"top\" id=\"H9S-w3-LrO\"/>\n                                                <constraint firstItem=\"MMB-ga-lu5\" firstAttribute=\"top\" secondItem=\"5eO-J0-Kjs\" secondAttribute=\"bottom\" id=\"Hpz-Sy-cnX\"/>\n                                                <constraint firstItem=\"5eO-J0-Kjs\" firstAttribute=\"leading\" secondItem=\"MMB-ga-lu5\" secondAttribute=\"leading\" id=\"Kab-EK-FCu\"/>\n                                                <constraint firstItem=\"33X-7b-xGc\" firstAttribute=\"trailing\" secondItem=\"Nr5-Ir-aKt\" secondAttribute=\"trailing\" id=\"O3s-nv-yfj\"/>\n                                                <constraint firstItem=\"Dgu-Zv-Y8x\" firstAttribute=\"top\" secondItem=\"t8J-LA-xHL\" secondAttribute=\"bottom\" id=\"OWd-Za-jm9\"/>\n                                                <constraint firstItem=\"5eO-J0-Kjs\" firstAttribute=\"top\" secondItem=\"vEq-3Q-Qim\" secondAttribute=\"bottom\" id=\"SL2-io-dOC\"/>\n                                                <constraint firstItem=\"vEq-3Q-Qim\" firstAttribute=\"top\" secondItem=\"Nr5-Ir-aKt\" secondAttribute=\"top\" id=\"Soo-BW-Urp\"/>\n                                                <constraint firstItem=\"5eO-J0-Kjs\" firstAttribute=\"trailing\" secondItem=\"MMB-ga-lu5\" secondAttribute=\"trailing\" id=\"Y2B-9X-5f3\"/>\n                                                <constraint firstItem=\"Rta-7Q-vBV\" firstAttribute=\"top\" secondItem=\"tiv-uT-pdu\" secondAttribute=\"topMargin\" constant=\"-1\" id=\"Y9i-GM-Kas\"/>\n                                                <constraint firstItem=\"33X-7b-xGc\" firstAttribute=\"leading\" secondItem=\"t8J-LA-xHL\" secondAttribute=\"trailing\" constant=\"18\" id=\"aAH-ax-Y8g\"/>\n                                                <constraint firstItem=\"t8J-LA-xHL\" firstAttribute=\"leading\" secondItem=\"Dgu-Zv-Y8x\" secondAttribute=\"leading\" id=\"d4h-8V-0vQ\"/>\n                                                <constraint firstItem=\"vEq-3Q-Qim\" firstAttribute=\"leading\" secondItem=\"5eO-J0-Kjs\" secondAttribute=\"leading\" id=\"fnd-14-aQj\"/>\n                                                <constraint firstItem=\"Rta-7Q-vBV\" firstAttribute=\"leading\" secondItem=\"t8J-LA-xHL\" secondAttribute=\"leading\" id=\"geS-O0-jxt\"/>\n                                                <constraint firstItem=\"33X-7b-xGc\" firstAttribute=\"leading\" secondItem=\"Nr5-Ir-aKt\" secondAttribute=\"leading\" id=\"hKv-Lm-lSj\"/>\n                                                <constraint firstAttribute=\"trailingMargin\" secondItem=\"33X-7b-xGc\" secondAttribute=\"trailing\" constant=\"12\" id=\"pGl-ti-yty\"/>\n                                                <constraint firstItem=\"vEq-3Q-Qim\" firstAttribute=\"top\" secondItem=\"Dgu-Zv-Y8x\" secondAttribute=\"bottom\" constant=\"8\" symbolic=\"YES\" id=\"pUo-g4-ApO\"/>\n                                                <constraint firstAttribute=\"bottomMargin\" secondItem=\"MMB-ga-lu5\" secondAttribute=\"bottom\" constant=\"0.6666666666666714\" id=\"rYp-pr-jaq\"/>\n                                                <constraint firstItem=\"MMB-ga-lu5\" firstAttribute=\"bottom\" secondItem=\"Nr5-Ir-aKt\" secondAttribute=\"bottom\" id=\"ron-DS-sVT\"/>\n                                                <constraint firstItem=\"t8J-LA-xHL\" firstAttribute=\"top\" secondItem=\"Rta-7Q-vBV\" secondAttribute=\"bottom\" id=\"uPS-1f-wBe\"/>\n                                                <constraint firstItem=\"t8J-LA-xHL\" firstAttribute=\"trailing\" secondItem=\"Dgu-Zv-Y8x\" secondAttribute=\"trailing\" id=\"whM-wm-ENg\"/>\n                                                <constraint firstItem=\"Rta-7Q-vBV\" firstAttribute=\"leading\" secondItem=\"tiv-uT-pdu\" secondAttribute=\"leadingMargin\" constant=\"12\" id=\"wwn-Pg-3Z3\"/>\n                                            </constraints>\n                                        </tableViewCellContentView>\n                                    </tableViewCell>\n                                    <tableViewCell clipsSubviews=\"YES\" contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" rowHeight=\"60\" id=\"NVy-kn-dJg\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"292\" width=\"414\" height=\"60\"/>\n                                        <autoresizingMask key=\"autoresizingMask\"/>\n                                        <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"NVy-kn-dJg\" id=\"3MB-nW-XEQ\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"59.666666666666664\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <subviews>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Lighter Color:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"LKi-2z-F4H\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"7\" width=\"280\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" red=\"0.20000000300000001\" green=\"0.20000000300000001\" blue=\"0.20000000300000001\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= ContrastColorOf(randomFlatColor, returnFlat: true)\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"YBU-wq-bAQ\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"27\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"O2G-hD-Ven\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Oar-tX-F0i\">\n                                                    <rect key=\"frame\" x=\"318\" y=\"7\" width=\"76\" height=\"44\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"76\" id=\"URR-16-GZI\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"33\"/>\n                                                    <nil key=\"textColor\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"UD4-Ak-G6v\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"39\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"4vM-Af-Duc\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                            </subviews>\n                                            <constraints>\n                                                <constraint firstItem=\"YBU-wq-bAQ\" firstAttribute=\"top\" secondItem=\"LKi-2z-F4H\" secondAttribute=\"bottom\" id=\"0sD-GS-Osc\"/>\n                                                <constraint firstItem=\"UD4-Ak-G6v\" firstAttribute=\"bottom\" secondItem=\"Oar-tX-F0i\" secondAttribute=\"bottom\" id=\"1Mh-li-j1y\"/>\n                                                <constraint firstItem=\"LKi-2z-F4H\" firstAttribute=\"top\" secondItem=\"3MB-nW-XEQ\" secondAttribute=\"topMargin\" constant=\"-1\" id=\"93z-VV-1kx\"/>\n                                                <constraint firstAttribute=\"trailingMargin\" secondItem=\"Oar-tX-F0i\" secondAttribute=\"trailing\" constant=\"12\" id=\"GGv-SM-e4x\"/>\n                                                <constraint firstItem=\"LKi-2z-F4H\" firstAttribute=\"leading\" secondItem=\"3MB-nW-XEQ\" secondAttribute=\"leadingMargin\" constant=\"12\" id=\"S5K-lJ-VWN\"/>\n                                                <constraint firstItem=\"LKi-2z-F4H\" firstAttribute=\"leading\" secondItem=\"YBU-wq-bAQ\" secondAttribute=\"leading\" id=\"Uvg-5j-E3R\"/>\n                                                <constraint firstItem=\"YBU-wq-bAQ\" firstAttribute=\"trailing\" secondItem=\"UD4-Ak-G6v\" secondAttribute=\"trailing\" id=\"anl-Rd-wng\"/>\n                                                <constraint firstItem=\"Oar-tX-F0i\" firstAttribute=\"centerY\" secondItem=\"3MB-nW-XEQ\" secondAttribute=\"centerY\" id=\"ffV-uD-zda\"/>\n                                                <constraint firstItem=\"LKi-2z-F4H\" firstAttribute=\"trailing\" secondItem=\"YBU-wq-bAQ\" secondAttribute=\"trailing\" id=\"gh5-ZP-E3v\"/>\n                                                <constraint firstItem=\"Oar-tX-F0i\" firstAttribute=\"leading\" secondItem=\"LKi-2z-F4H\" secondAttribute=\"trailing\" constant=\"18\" id=\"jR1-KN-tB5\"/>\n                                                <constraint firstItem=\"YBU-wq-bAQ\" firstAttribute=\"leading\" secondItem=\"UD4-Ak-G6v\" secondAttribute=\"leading\" id=\"lK5-eI-8ra\"/>\n                                                <constraint firstItem=\"UD4-Ak-G6v\" firstAttribute=\"top\" secondItem=\"YBU-wq-bAQ\" secondAttribute=\"bottom\" id=\"o0A-5j-ZFn\"/>\n                                                <constraint firstItem=\"LKi-2z-F4H\" firstAttribute=\"top\" secondItem=\"Oar-tX-F0i\" secondAttribute=\"top\" id=\"s13-3B-L3Q\"/>\n                                            </constraints>\n                                        </tableViewCellContentView>\n                                    </tableViewCell>\n                                    <tableViewCell clipsSubviews=\"YES\" contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" rowHeight=\"60\" id=\"qLc-ye-yCo\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"352\" width=\"414\" height=\"60\"/>\n                                        <autoresizingMask key=\"autoresizingMask\"/>\n                                        <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"qLc-ye-yCo\" id=\"ZJ2-EG-7YT\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"59.666666666666664\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <subviews>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Darker Color:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"N6n-P1-L87\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"7\" width=\"280\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" red=\"0.20000000300000001\" green=\"0.20000000300000001\" blue=\"0.20000000300000001\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= ContrastColorOf(randomFlatColor, returnFlat: true)\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"gEy-ol-rDg\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"27\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"dMh-Va-W1k\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"nwY-in-USC\">\n                                                    <rect key=\"frame\" x=\"318\" y=\"7\" width=\"76\" height=\"44\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"76\" id=\"cFN-bp-bH7\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"33\"/>\n                                                    <nil key=\"textColor\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"wCh-F9-KRL\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"39\" width=\"280\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"SAT-cn-jYV\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                            </subviews>\n                                            <constraints>\n                                                <constraint firstAttribute=\"trailingMargin\" secondItem=\"nwY-in-USC\" secondAttribute=\"trailing\" constant=\"12\" id=\"2Pp-2V-zpU\"/>\n                                                <constraint firstItem=\"N6n-P1-L87\" firstAttribute=\"top\" secondItem=\"nwY-in-USC\" secondAttribute=\"top\" id=\"DzQ-or-bmJ\"/>\n                                                <constraint firstItem=\"wCh-F9-KRL\" firstAttribute=\"bottom\" secondItem=\"nwY-in-USC\" secondAttribute=\"bottom\" id=\"G0F-O4-Ycm\"/>\n                                                <constraint firstItem=\"gEy-ol-rDg\" firstAttribute=\"trailing\" secondItem=\"wCh-F9-KRL\" secondAttribute=\"trailing\" id=\"Pg1-zu-Liw\"/>\n                                                <constraint firstItem=\"N6n-P1-L87\" firstAttribute=\"leading\" secondItem=\"ZJ2-EG-7YT\" secondAttribute=\"leadingMargin\" constant=\"12\" id=\"Piz-fP-R2X\"/>\n                                                <constraint firstItem=\"gEy-ol-rDg\" firstAttribute=\"top\" secondItem=\"N6n-P1-L87\" secondAttribute=\"bottom\" id=\"TLh-Id-zcw\"/>\n                                                <constraint firstItem=\"N6n-P1-L87\" firstAttribute=\"trailing\" secondItem=\"gEy-ol-rDg\" secondAttribute=\"trailing\" id=\"Woo-m5-epk\"/>\n                                                <constraint firstItem=\"N6n-P1-L87\" firstAttribute=\"leading\" secondItem=\"gEy-ol-rDg\" secondAttribute=\"leading\" id=\"eNY-Iu-TuY\"/>\n                                                <constraint firstItem=\"wCh-F9-KRL\" firstAttribute=\"top\" secondItem=\"gEy-ol-rDg\" secondAttribute=\"bottom\" id=\"llA-y3-xBr\"/>\n                                                <constraint firstItem=\"nwY-in-USC\" firstAttribute=\"centerY\" secondItem=\"ZJ2-EG-7YT\" secondAttribute=\"centerY\" id=\"uvo-AI-J46\"/>\n                                                <constraint firstItem=\"gEy-ol-rDg\" firstAttribute=\"leading\" secondItem=\"wCh-F9-KRL\" secondAttribute=\"leading\" id=\"wA8-PU-Lnd\"/>\n                                                <constraint firstItem=\"N6n-P1-L87\" firstAttribute=\"top\" secondItem=\"ZJ2-EG-7YT\" secondAttribute=\"topMargin\" constant=\"-1\" id=\"wpb-mo-YgM\"/>\n                                                <constraint firstItem=\"nwY-in-USC\" firstAttribute=\"leading\" secondItem=\"N6n-P1-L87\" secondAttribute=\"trailing\" constant=\"18\" id=\"z5h-v8-9Yb\"/>\n                                            </constraints>\n                                        </tableViewCellContentView>\n                                    </tableViewCell>\n                                    <tableViewCell clipsSubviews=\"YES\" contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" rowHeight=\"196\" id=\"dFO-o2-xAH\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"412\" width=\"414\" height=\"196\"/>\n                                        <autoresizingMask key=\"autoresizingMask\"/>\n                                        <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"dFO-o2-xAH\" id=\"vAN-Mj-3g1\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"195.66666666666666\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <subviews>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Gradient Color:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"9lT-P7-wg0\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"7\" width=\"280\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"20\" id=\"5PS-iw-p0I\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" red=\"0.20000000300000001\" green=\"0.20000000300000001\" blue=\"0.20000000300000001\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= UIColor(gradientStyle:UIGradientStyle,\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"TqJ-YO-TDe\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"27\" width=\"197\" height=\"12\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"B21-3F-D5u\">\n                                                    <rect key=\"frame\" x=\"318\" y=\"7\" width=\"76\" height=\"44\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"76\" id=\"pqr-XD-ebZ\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"33\"/>\n                                                    <nil key=\"textColor\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"withFrame:CGRect, andColors:[UIColor])\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"BIF-v0-l3J\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"39\" width=\"280\" height=\"12\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Gradient Backgorund with Contrast Text:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"OR3-cC-S3a\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"59\" width=\"275\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"FANCY COLOR\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"AXN-zm-Toy\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"99\" width=\"374\" height=\"88\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n                                                    <nil key=\"textColor\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Component Colors:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"46d-wI-aMQ\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"79\" width=\"94\" height=\"12\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" misplaced=\"YES\" text=\"1st\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"BVK-b8-MHa\">\n                                                    <rect key=\"frame\" x=\"122\" y=\"79\" width=\"16\" height=\"12\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" misplaced=\"YES\" text=\"1st\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"e78-Gx-kWJ\">\n                                                    <rect key=\"frame\" x=\"146\" y=\"79\" width=\"14\" height=\"12\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" misplaced=\"YES\" text=\"1st\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"4tE-E4-Hvb\">\n                                                    <rect key=\"frame\" x=\"168\" y=\"79\" width=\"14\" height=\"12\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                            </subviews>\n                                            <constraints>\n                                                <constraint firstItem=\"BIF-v0-l3J\" firstAttribute=\"top\" secondItem=\"TqJ-YO-TDe\" secondAttribute=\"bottom\" id=\"2RG-JX-aCn\"/>\n                                                <constraint firstItem=\"46d-wI-aMQ\" firstAttribute=\"baseline\" secondItem=\"BVK-b8-MHa\" secondAttribute=\"baseline\" id=\"Blc-OC-4no\"/>\n                                                <constraint firstItem=\"9lT-P7-wg0\" firstAttribute=\"leading\" secondItem=\"vAN-Mj-3g1\" secondAttribute=\"leadingMargin\" constant=\"12\" id=\"DG5-Cv-v4F\"/>\n                                                <constraint firstItem=\"BIF-v0-l3J\" firstAttribute=\"leading\" secondItem=\"OR3-cC-S3a\" secondAttribute=\"leading\" id=\"DS7-Rh-yda\"/>\n                                                <constraint firstItem=\"AXN-zm-Toy\" firstAttribute=\"top\" secondItem=\"46d-wI-aMQ\" secondAttribute=\"bottom\" constant=\"8\" symbolic=\"YES\" id=\"GXc-e0-CxU\"/>\n                                                <constraint firstItem=\"OR3-cC-S3a\" firstAttribute=\"leading\" secondItem=\"46d-wI-aMQ\" secondAttribute=\"leading\" id=\"K1E-8G-J9V\"/>\n                                                <constraint firstItem=\"9lT-P7-wg0\" firstAttribute=\"leading\" secondItem=\"TqJ-YO-TDe\" secondAttribute=\"leading\" id=\"LXo-7G-y3S\"/>\n                                                <constraint firstItem=\"OR3-cC-S3a\" firstAttribute=\"top\" secondItem=\"BIF-v0-l3J\" secondAttribute=\"bottom\" constant=\"8\" symbolic=\"YES\" id=\"PYF-Fd-Zp0\"/>\n                                                <constraint firstItem=\"BVK-b8-MHa\" firstAttribute=\"leading\" secondItem=\"46d-wI-aMQ\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"Qwn-XP-cvK\"/>\n                                                <constraint firstItem=\"BVK-b8-MHa\" firstAttribute=\"baseline\" secondItem=\"46d-wI-aMQ\" secondAttribute=\"firstBaseline\" id=\"RRa-WO-7qL\"/>\n                                                <constraint firstAttribute=\"bottomMargin\" secondItem=\"AXN-zm-Toy\" secondAttribute=\"bottom\" constant=\"0.66666666666665719\" id=\"TCb-HJ-3X2\"/>\n                                                <constraint firstItem=\"e78-Gx-kWJ\" firstAttribute=\"leading\" secondItem=\"BVK-b8-MHa\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"TOT-gU-aqh\"/>\n                                                <constraint firstItem=\"9lT-P7-wg0\" firstAttribute=\"trailing\" secondItem=\"BIF-v0-l3J\" secondAttribute=\"trailing\" id=\"XeN-V8-eD8\"/>\n                                                <constraint firstItem=\"B21-3F-D5u\" firstAttribute=\"leading\" secondItem=\"9lT-P7-wg0\" secondAttribute=\"trailing\" constant=\"18\" id=\"eX7-mj-j1o\"/>\n                                                <constraint firstItem=\"TqJ-YO-TDe\" firstAttribute=\"top\" secondItem=\"9lT-P7-wg0\" secondAttribute=\"bottom\" id=\"f4V-9y-Otx\"/>\n                                                <constraint firstItem=\"TqJ-YO-TDe\" firstAttribute=\"leading\" secondItem=\"BIF-v0-l3J\" secondAttribute=\"leading\" id=\"fBg-EO-lEv\"/>\n                                                <constraint firstItem=\"AXN-zm-Toy\" firstAttribute=\"centerX\" secondItem=\"vAN-Mj-3g1\" secondAttribute=\"centerX\" id=\"fCx-7c-6Aq\"/>\n                                                <constraint firstItem=\"e78-Gx-kWJ\" firstAttribute=\"baseline\" secondItem=\"4tE-E4-Hvb\" secondAttribute=\"baseline\" id=\"kCn-Sd-T6S\"/>\n                                                <constraint firstItem=\"AXN-zm-Toy\" firstAttribute=\"top\" secondItem=\"B21-3F-D5u\" secondAttribute=\"bottom\" constant=\"48\" id=\"nPe-xf-Xvb\"/>\n                                                <constraint firstItem=\"46d-wI-aMQ\" firstAttribute=\"top\" secondItem=\"OR3-cC-S3a\" secondAttribute=\"bottom\" id=\"ndQ-XQ-APy\"/>\n                                                <constraint firstItem=\"4tE-E4-Hvb\" firstAttribute=\"leading\" secondItem=\"e78-Gx-kWJ\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"oS0-WN-yE1\"/>\n                                                <constraint firstItem=\"9lT-P7-wg0\" firstAttribute=\"top\" secondItem=\"B21-3F-D5u\" secondAttribute=\"top\" id=\"qU2-7X-vdV\"/>\n                                                <constraint firstItem=\"46d-wI-aMQ\" firstAttribute=\"leading\" secondItem=\"AXN-zm-Toy\" secondAttribute=\"leading\" id=\"r2z-og-xT8\"/>\n                                                <constraint firstItem=\"BIF-v0-l3J\" firstAttribute=\"bottom\" secondItem=\"B21-3F-D5u\" secondAttribute=\"bottom\" id=\"rQ8-d0-16D\"/>\n                                                <constraint firstItem=\"B21-3F-D5u\" firstAttribute=\"trailing\" secondItem=\"AXN-zm-Toy\" secondAttribute=\"trailing\" id=\"wPj-r8-b9S\"/>\n                                                <constraint firstItem=\"BVK-b8-MHa\" firstAttribute=\"baseline\" secondItem=\"e78-Gx-kWJ\" secondAttribute=\"baseline\" id=\"wZn-bW-eNs\"/>\n                                                <constraint firstItem=\"9lT-P7-wg0\" firstAttribute=\"top\" secondItem=\"vAN-Mj-3g1\" secondAttribute=\"topMargin\" constant=\"-1\" id=\"wsC-hT-6wp\"/>\n                                            </constraints>\n                                        </tableViewCellContentView>\n                                    </tableViewCell>\n                                </cells>\n                            </tableViewSection>\n                        </sections>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"2KV-cp-EhT\" id=\"Efz-Dt-A6s\"/>\n                            <outlet property=\"delegate\" destination=\"2KV-cp-EhT\" id=\"s9b-L8-zcS\"/>\n                        </connections>\n                    </tableView>\n                    <navigationItem key=\"navigationItem\" title=\"Basics\" id=\"xGB-mC-2wr\">\n                        <barButtonItem key=\"rightBarButtonItem\" systemItem=\"refresh\" id=\"seP-hR-WTu\"/>\n                    </navigationItem>\n                    <connections>\n                        <outlet property=\"beforeFlatteningColorLabel\" destination=\"Nr5-Ir-aKt\" id=\"WKh-Hq-kQu\"/>\n                        <outlet property=\"complementaryFlatColorLabel\" destination=\"HRB-I2-wlq\" id=\"x7n-Vq-uT5\"/>\n                        <outlet property=\"contrastFlatColorLabel\" destination=\"5zV-dt-yNY\" id=\"DGP-3l-FLu\"/>\n                        <outlet property=\"darkerColorLabel\" destination=\"nwY-in-USC\" id=\"KQN-hf-XUJ\"/>\n                        <outlet property=\"flatteningNonFlatColorLabel\" destination=\"33X-7b-xGc\" id=\"MrV-cH-Hcg\"/>\n                        <outlet property=\"gradientColorLabel\" destination=\"B21-3F-D5u\" id=\"28D-yG-VCc\"/>\n                        <outlet property=\"gradientComponentColorOneLabel\" destination=\"BVK-b8-MHa\" id=\"fex-am-IMy\"/>\n                        <outlet property=\"gradientComponentColorThreeLabel\" destination=\"4tE-E4-Hvb\" id=\"38k-vr-2ET\"/>\n                        <outlet property=\"gradientComponentColorTwoLabel\" destination=\"e78-Gx-kWJ\" id=\"mXj-gL-aLy\"/>\n                        <outlet property=\"gradientWithContrastLabel\" destination=\"AXN-zm-Toy\" id=\"rVt-IA-Fra\"/>\n                        <outlet property=\"lighterColorLabel\" destination=\"Oar-tX-F0i\" id=\"P8C-04-3dn\"/>\n                        <outlet property=\"randomFlatColorLabel\" destination=\"p9z-I4-Wgd\" id=\"lN9-TQ-NQn\"/>\n                        <outlet property=\"refreshButton\" destination=\"seP-hR-WTu\" id=\"swl-Vv-4K3\"/>\n                    </connections>\n                </tableViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"rC3-Ko-z7Y\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1688\" y=\"-321\"/>\n        </scene>\n        <!--Colors From Image-->\n        <scene sceneID=\"MRd-TS-qgN\">\n            <objects>\n                <tableViewController id=\"Edd-zr-jGo\" customClass=\"SecondViewController\" customModule=\"ChameleonDemo_Swift\" customModuleProvider=\"target\" sceneMemberID=\"viewController\">\n                    <tableView key=\"view\" clipsSubviews=\"YES\" contentMode=\"scaleToFill\" alwaysBounceVertical=\"YES\" dataMode=\"static\" style=\"plain\" separatorStyle=\"default\" rowHeight=\"44\" sectionHeaderHeight=\"28\" sectionFooterHeight=\"28\" id=\"7um-P7-LyC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"736\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                        <sections>\n                            <tableViewSection id=\"9Wl-vh-N2A\">\n                                <cells>\n                                    <tableViewCell clipsSubviews=\"YES\" contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" rowHeight=\"304\" id=\"GVO-xC-NHV\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"304\"/>\n                                        <autoresizingMask key=\"autoresizingMask\"/>\n                                        <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"GVO-xC-NHV\" id=\"ICn-Nt-b2M\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"303.66666666666669\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <subviews>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Sample Image #1:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"ia8-4G-PxT\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"8\" width=\"127\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"20\" id=\"22M-e5-UEa\"/>\n                                                        <constraint firstAttribute=\"width\" constant=\"127\" id=\"h5K-R5-4ue\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" red=\"0.20000000300000001\" green=\"0.20000000300000001\" blue=\"0.20000000300000001\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"bqk-v3-o6a\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"36\" width=\"374\" height=\"170\"/>\n                                                </imageView>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Average Color From Image:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"PBO-KY-bDt\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"214\" width=\"183\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Colors From Image:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"EQi-c1-LzF\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"264\" width=\"183\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Slt-37-hgu\">\n                                                    <rect key=\"frame\" x=\"318\" y=\"214\" width=\"76\" height=\"44\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"76\" id=\"reu-lo-QSR\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"33\"/>\n                                                    <nil key=\"textColor\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"RYW-Is-bto\">\n                                                    <rect key=\"frame\" x=\"237\" y=\"264\" width=\"25\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"25\" id=\"NMI-ey-fOV\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"BDm-ZQ-cmZ\">\n                                                    <rect key=\"frame\" x=\"270\" y=\"264\" width=\"25\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"25\" id=\"UIP-Gf-lvh\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Po8-Ai-CW8\">\n                                                    <rect key=\"frame\" x=\"303\" y=\"264\" width=\"25\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"SaA-TE-lru\">\n                                                    <rect key=\"frame\" x=\"336\" y=\"264\" width=\"25\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"25\" id=\"Dan-BS-q6u\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"nFR-IO-rPj\">\n                                                    <rect key=\"frame\" x=\"369\" y=\"264\" width=\"25\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= AverageColorFromImage(sampleImageOne)\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Fdt-4F-O20\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"234\" width=\"219\" height=\"12\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"12\" id=\"jg1-7x-BXa\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= ColorsFromImage(sampleImageOne, withFlatScheme: true)\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"LPc-QA-XeO\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"283\" width=\"308\" height=\"12\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                            </subviews>\n                                            <constraints>\n                                                <constraint firstItem=\"PBO-KY-bDt\" firstAttribute=\"leading\" secondItem=\"Fdt-4F-O20\" secondAttribute=\"leading\" id=\"0WI-3i-wxm\"/>\n                                                <constraint firstItem=\"EQi-c1-LzF\" firstAttribute=\"firstBaseline\" secondItem=\"RYW-Is-bto\" secondAttribute=\"firstBaseline\" id=\"1jo-Ow-SpT\"/>\n                                                <constraint firstItem=\"ia8-4G-PxT\" firstAttribute=\"top\" secondItem=\"ICn-Nt-b2M\" secondAttribute=\"topMargin\" id=\"282-cO-9KM\"/>\n                                                <constraint firstItem=\"LPc-QA-XeO\" firstAttribute=\"top\" secondItem=\"Slt-37-hgu\" secondAttribute=\"bottom\" constant=\"25\" id=\"3cr-Jr-Ytp\"/>\n                                                <constraint firstItem=\"PBO-KY-bDt\" firstAttribute=\"trailing\" secondItem=\"EQi-c1-LzF\" secondAttribute=\"trailing\" id=\"4Oh-3i-lBY\"/>\n                                                <constraint firstItem=\"BDm-ZQ-cmZ\" firstAttribute=\"baseline\" secondItem=\"Po8-Ai-CW8\" secondAttribute=\"baseline\" id=\"5Tm-34-2Cd\"/>\n                                                <constraint firstItem=\"RYW-Is-bto\" firstAttribute=\"baseline\" secondItem=\"BDm-ZQ-cmZ\" secondAttribute=\"baseline\" id=\"5yI-kz-yDM\"/>\n                                                <constraint firstItem=\"PBO-KY-bDt\" firstAttribute=\"top\" secondItem=\"Slt-37-hgu\" secondAttribute=\"top\" id=\"8eZ-2D-hvx\"/>\n                                                <constraint firstItem=\"Po8-Ai-CW8\" firstAttribute=\"firstBaseline\" secondItem=\"SaA-TE-lru\" secondAttribute=\"firstBaseline\" id=\"9zo-5Q-eVJ\"/>\n                                                <constraint firstItem=\"bqk-v3-o6a\" firstAttribute=\"trailing\" secondItem=\"Slt-37-hgu\" secondAttribute=\"trailing\" id=\"I3Z-F9-8FL\"/>\n                                                <constraint firstItem=\"ia8-4G-PxT\" firstAttribute=\"leading\" secondItem=\"bqk-v3-o6a\" secondAttribute=\"leading\" id=\"IB7-ba-omD\"/>\n                                                <constraint firstItem=\"Slt-37-hgu\" firstAttribute=\"trailing\" secondItem=\"nFR-IO-rPj\" secondAttribute=\"trailing\" id=\"Kse-XA-z93\"/>\n                                                <constraint firstItem=\"Fdt-4F-O20\" firstAttribute=\"leading\" secondItem=\"EQi-c1-LzF\" secondAttribute=\"leading\" id=\"O59-qM-8C0\"/>\n                                                <constraint firstAttribute=\"bottomMargin\" secondItem=\"EQi-c1-LzF\" secondAttribute=\"bottom\" constant=\"11.666666666666686\" id=\"PVB-o1-GsX\"/>\n                                                <constraint firstItem=\"RYW-Is-bto\" firstAttribute=\"top\" secondItem=\"bqk-v3-o6a\" secondAttribute=\"bottom\" constant=\"58\" id=\"QBM-6q-h2q\"/>\n                                                <constraint firstItem=\"EQi-c1-LzF\" firstAttribute=\"leading\" secondItem=\"LPc-QA-XeO\" secondAttribute=\"leading\" id=\"QFF-dO-X1E\"/>\n                                                <constraint firstItem=\"Po8-Ai-CW8\" firstAttribute=\"baseline\" secondItem=\"SaA-TE-lru\" secondAttribute=\"baseline\" id=\"RPn-l7-C3Z\"/>\n                                                <constraint firstItem=\"Fdt-4F-O20\" firstAttribute=\"top\" secondItem=\"PBO-KY-bDt\" secondAttribute=\"bottom\" id=\"Sua-fR-x5c\"/>\n                                                <constraint firstItem=\"EQi-c1-LzF\" firstAttribute=\"baseline\" secondItem=\"RYW-Is-bto\" secondAttribute=\"baseline\" id=\"TEJ-SM-NoF\"/>\n                                                <constraint firstItem=\"BDm-ZQ-cmZ\" firstAttribute=\"firstBaseline\" secondItem=\"Po8-Ai-CW8\" secondAttribute=\"firstBaseline\" id=\"TPg-9w-b1k\"/>\n                                                <constraint firstAttribute=\"trailingMargin\" secondItem=\"LPc-QA-XeO\" secondAttribute=\"trailing\" constant=\"78\" id=\"XlQ-Sx-g2q\"/>\n                                                <constraint firstItem=\"SaA-TE-lru\" firstAttribute=\"baseline\" secondItem=\"nFR-IO-rPj\" secondAttribute=\"baseline\" id=\"YhO-LQ-tCV\"/>\n                                                <constraint firstItem=\"RYW-Is-bto\" firstAttribute=\"leading\" secondItem=\"EQi-c1-LzF\" secondAttribute=\"trailing\" constant=\"34\" id=\"ck1-HR-gdZ\"/>\n                                                <constraint firstItem=\"SaA-TE-lru\" firstAttribute=\"leading\" secondItem=\"Po8-Ai-CW8\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"dAb-XO-tzQ\"/>\n                                                <constraint firstItem=\"nFR-IO-rPj\" firstAttribute=\"leading\" secondItem=\"SaA-TE-lru\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"e0A-ei-3BA\"/>\n                                                <constraint firstItem=\"Po8-Ai-CW8\" firstAttribute=\"leading\" secondItem=\"BDm-ZQ-cmZ\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"evZ-ga-cQ1\"/>\n                                                <constraint firstItem=\"BDm-ZQ-cmZ\" firstAttribute=\"leading\" secondItem=\"RYW-Is-bto\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"fjI-Xv-YPW\"/>\n                                                <constraint firstItem=\"SaA-TE-lru\" firstAttribute=\"leading\" secondItem=\"LPc-QA-XeO\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"fyA-Zg-8hc\"/>\n                                                <constraint firstItem=\"Po8-Ai-CW8\" firstAttribute=\"top\" secondItem=\"Slt-37-hgu\" secondAttribute=\"bottom\" constant=\"6\" id=\"gAE-Mj-Eua\"/>\n                                                <constraint firstItem=\"bqk-v3-o6a\" firstAttribute=\"leading\" secondItem=\"PBO-KY-bDt\" secondAttribute=\"leading\" id=\"hGj-Iz-Sx3\"/>\n                                                <constraint firstItem=\"PBO-KY-bDt\" firstAttribute=\"top\" secondItem=\"bqk-v3-o6a\" secondAttribute=\"bottom\" constant=\"8\" symbolic=\"YES\" id=\"jfM-rk-w8v\"/>\n                                                <constraint firstItem=\"EQi-c1-LzF\" firstAttribute=\"top\" secondItem=\"Fdt-4F-O20\" secondAttribute=\"bottom\" constant=\"18\" id=\"pDc-bG-Qdl\"/>\n                                                <constraint firstItem=\"RYW-Is-bto\" firstAttribute=\"firstBaseline\" secondItem=\"BDm-ZQ-cmZ\" secondAttribute=\"firstBaseline\" id=\"pyV-Br-g73\"/>\n                                                <constraint firstAttribute=\"bottomMargin\" secondItem=\"LPc-QA-XeO\" secondAttribute=\"bottom\" constant=\"0.66666666666668561\" id=\"qsj-dD-wDi\"/>\n                                                <constraint firstItem=\"bqk-v3-o6a\" firstAttribute=\"centerX\" secondItem=\"ICn-Nt-b2M\" secondAttribute=\"centerX\" id=\"uOF-Yw-yfR\"/>\n                                                <constraint firstItem=\"Slt-37-hgu\" firstAttribute=\"leading\" secondItem=\"Fdt-4F-O20\" secondAttribute=\"trailing\" constant=\"79\" id=\"wDl-HI-5bl\"/>\n                                                <constraint firstItem=\"bqk-v3-o6a\" firstAttribute=\"top\" secondItem=\"ia8-4G-PxT\" secondAttribute=\"bottom\" constant=\"8\" symbolic=\"YES\" id=\"wM7-3A-kQd\"/>\n                                                <constraint firstItem=\"SaA-TE-lru\" firstAttribute=\"firstBaseline\" secondItem=\"nFR-IO-rPj\" secondAttribute=\"firstBaseline\" id=\"zTa-v4-cTL\"/>\n                                            </constraints>\n                                        </tableViewCellContentView>\n                                    </tableViewCell>\n                                    <tableViewCell clipsSubviews=\"YES\" contentMode=\"scaleToFill\" selectionStyle=\"default\" indentationWidth=\"10\" rowHeight=\"304\" id=\"6wQ-QP-c1Z\">\n                                        <rect key=\"frame\" x=\"0.0\" y=\"304\" width=\"414\" height=\"304\"/>\n                                        <autoresizingMask key=\"autoresizingMask\"/>\n                                        <tableViewCellContentView key=\"contentView\" opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" tableViewCell=\"6wQ-QP-c1Z\" id=\"m0M-ha-5eP\">\n                                            <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"414\" height=\"303.66666666666669\"/>\n                                            <autoresizingMask key=\"autoresizingMask\"/>\n                                            <subviews>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Sample Image #2:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"MyV-zW-kAQ\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"7\" width=\"127\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"20\" id=\"AFG-rr-Uqz\"/>\n                                                        <constraint firstAttribute=\"width\" constant=\"127\" id=\"X9e-CD-mTq\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" red=\"0.20000000300000001\" green=\"0.20000000300000001\" blue=\"0.20000000300000001\" alpha=\"1\" colorSpace=\"calibratedRGB\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <imageView userInteractionEnabled=\"NO\" contentMode=\"scaleToFill\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"hUm-3c-hJh\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"35\" width=\"374\" height=\"170\"/>\n                                                </imageView>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Average Color From Image:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"ptF-6E-4t9\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"213\" width=\"183\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"20\" id=\"5x5-Jg-1h7\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Colors From Image:\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"Mdv-fB-ehY\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"263\" width=\"183\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"height\" constant=\"20\" id=\"pk5-2B-qiw\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= AverageColorFromImage(sampleImageTwo)\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"lMz-XU-WTV\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"233\" width=\"280\" height=\"12\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"= ColorsFromImage(sampleImageTwo, withFlatScheme: true)\" textAlignment=\"natural\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"l5t-VX-ojB\">\n                                                    <rect key=\"frame\" x=\"20\" y=\"283\" width=\"293\" height=\"12\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"10\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"kG4-16-3b2\">\n                                                    <rect key=\"frame\" x=\"318\" y=\"213\" width=\"76\" height=\"44\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"76\" id=\"m6j-PI-mfk\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"33\"/>\n                                                    <nil key=\"textColor\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"c58-Oe-I3L\">\n                                                    <rect key=\"frame\" x=\"237\" y=\"263\" width=\"25\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"25\" id=\"j6W-xF-foI\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"FI2-Eu-YRY\">\n                                                    <rect key=\"frame\" x=\"270\" y=\"263\" width=\"25\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"25\" id=\"WZn-9j-3bh\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"N5j-fW-ee7\">\n                                                    <rect key=\"frame\" x=\"303\" y=\"263\" width=\"25\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"25\" id=\"FZe-ot-aLh\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"FCb-ak-sma\">\n                                                    <rect key=\"frame\" x=\"336\" y=\"263\" width=\"25\" height=\"20\"/>\n                                                    <constraints>\n                                                        <constraint firstAttribute=\"width\" constant=\"25\" id=\"P9m-1A-vfc\"/>\n                                                    </constraints>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                                <label opaque=\"NO\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Aa\" textAlignment=\"right\" lineBreakMode=\"tailTruncation\" numberOfLines=\"0\" baselineAdjustment=\"alignBaselines\" adjustsFontSizeToFit=\"NO\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"hU1-qB-ubE\">\n                                                    <rect key=\"frame\" x=\"369\" y=\"263\" width=\"25\" height=\"20\"/>\n                                                    <fontDescription key=\"fontDescription\" type=\"system\" weight=\"semibold\" pointSize=\"14\"/>\n                                                    <color key=\"textColor\" white=\"0.33333333333333331\" alpha=\"1\" colorSpace=\"calibratedWhite\"/>\n                                                    <nil key=\"highlightedColor\"/>\n                                                </label>\n                                            </subviews>\n                                            <constraints>\n                                                <constraint firstItem=\"FI2-Eu-YRY\" firstAttribute=\"firstBaseline\" secondItem=\"N5j-fW-ee7\" secondAttribute=\"firstBaseline\" id=\"0Av-hQ-J9s\"/>\n                                                <constraint firstItem=\"lMz-XU-WTV\" firstAttribute=\"top\" secondItem=\"ptF-6E-4t9\" secondAttribute=\"bottom\" id=\"3II-ew-Tg3\"/>\n                                                <constraint firstItem=\"c58-Oe-I3L\" firstAttribute=\"baseline\" secondItem=\"FI2-Eu-YRY\" secondAttribute=\"baseline\" id=\"3wW-zo-5Dk\"/>\n                                                <constraint firstItem=\"hU1-qB-ubE\" firstAttribute=\"leading\" secondItem=\"FCb-ak-sma\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"4en-O9-Uhe\"/>\n                                                <constraint firstItem=\"N5j-fW-ee7\" firstAttribute=\"firstBaseline\" secondItem=\"FCb-ak-sma\" secondAttribute=\"firstBaseline\" id=\"8fc-f1-gLP\"/>\n                                                <constraint firstItem=\"N5j-fW-ee7\" firstAttribute=\"baseline\" secondItem=\"FCb-ak-sma\" secondAttribute=\"baseline\" id=\"9Kf-G9-eN2\"/>\n                                                <constraint firstItem=\"lMz-XU-WTV\" firstAttribute=\"leading\" secondItem=\"Mdv-fB-ehY\" secondAttribute=\"leading\" id=\"9Xx-53-SLv\"/>\n                                                <constraint firstItem=\"Mdv-fB-ehY\" firstAttribute=\"baseline\" secondItem=\"c58-Oe-I3L\" secondAttribute=\"baseline\" id=\"F4W-NO-yEd\"/>\n                                                <constraint firstItem=\"hUm-3c-hJh\" firstAttribute=\"leading\" secondItem=\"ptF-6E-4t9\" secondAttribute=\"leading\" id=\"HLA-U2-sPp\"/>\n                                                <constraint firstItem=\"ptF-6E-4t9\" firstAttribute=\"leading\" secondItem=\"lMz-XU-WTV\" secondAttribute=\"leading\" id=\"MFw-sI-BkB\"/>\n                                                <constraint firstItem=\"c58-Oe-I3L\" firstAttribute=\"firstBaseline\" secondItem=\"FI2-Eu-YRY\" secondAttribute=\"firstBaseline\" id=\"NL5-GS-r7e\"/>\n                                                <constraint firstItem=\"hUm-3c-hJh\" firstAttribute=\"top\" secondItem=\"MyV-zW-kAQ\" secondAttribute=\"bottom\" constant=\"8\" symbolic=\"YES\" id=\"Nyc-TZ-96s\"/>\n                                                <constraint firstItem=\"Mdv-fB-ehY\" firstAttribute=\"leading\" secondItem=\"l5t-VX-ojB\" secondAttribute=\"leading\" id=\"R49-dG-XKF\"/>\n                                                <constraint firstItem=\"kG4-16-3b2\" firstAttribute=\"leading\" secondItem=\"lMz-XU-WTV\" secondAttribute=\"trailing\" constant=\"18\" id=\"SY6-kt-WUa\"/>\n                                                <constraint firstItem=\"hUm-3c-hJh\" firstAttribute=\"centerX\" secondItem=\"m0M-ha-5eP\" secondAttribute=\"centerX\" id=\"TvD-q4-xTs\"/>\n                                                <constraint firstItem=\"N5j-fW-ee7\" firstAttribute=\"top\" secondItem=\"kG4-16-3b2\" secondAttribute=\"bottom\" constant=\"6\" id=\"Ui7-vQ-Mhe\"/>\n                                                <constraint firstItem=\"Mdv-fB-ehY\" firstAttribute=\"top\" secondItem=\"lMz-XU-WTV\" secondAttribute=\"bottom\" constant=\"18\" id=\"W0S-dO-Ccv\"/>\n                                                <constraint firstItem=\"ptF-6E-4t9\" firstAttribute=\"top\" secondItem=\"hUm-3c-hJh\" secondAttribute=\"bottom\" constant=\"8\" symbolic=\"YES\" id=\"X2v-ZX-cU9\"/>\n                                                <constraint firstItem=\"hUm-3c-hJh\" firstAttribute=\"trailing\" secondItem=\"kG4-16-3b2\" secondAttribute=\"trailing\" id=\"XVR-py-3Ys\"/>\n                                                <constraint firstItem=\"N5j-fW-ee7\" firstAttribute=\"leading\" secondItem=\"FI2-Eu-YRY\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"cVe-Wx-QG0\"/>\n                                                <constraint firstItem=\"FI2-Eu-YRY\" firstAttribute=\"baseline\" secondItem=\"N5j-fW-ee7\" secondAttribute=\"baseline\" id=\"eQZ-2b-8YR\"/>\n                                                <constraint firstItem=\"MyV-zW-kAQ\" firstAttribute=\"top\" secondItem=\"m0M-ha-5eP\" secondAttribute=\"topMargin\" constant=\"-1\" id=\"edv-Jg-MNx\"/>\n                                                <constraint firstItem=\"FCb-ak-sma\" firstAttribute=\"leading\" secondItem=\"N5j-fW-ee7\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"fsF-I0-MEd\"/>\n                                                <constraint firstItem=\"Mdv-fB-ehY\" firstAttribute=\"firstBaseline\" secondItem=\"c58-Oe-I3L\" secondAttribute=\"firstBaseline\" id=\"hdI-wH-eYJ\"/>\n                                                <constraint firstAttribute=\"bottomMargin\" secondItem=\"FCb-ak-sma\" secondAttribute=\"bottom\" constant=\"12.666666666666686\" id=\"hnC-B7-VKN\"/>\n                                                <constraint firstItem=\"MyV-zW-kAQ\" firstAttribute=\"leading\" secondItem=\"m0M-ha-5eP\" secondAttribute=\"leadingMargin\" constant=\"12\" id=\"i4d-6o-roz\"/>\n                                                <constraint firstItem=\"FCb-ak-sma\" firstAttribute=\"baseline\" secondItem=\"hU1-qB-ubE\" secondAttribute=\"baseline\" id=\"klz-ow-yBD\"/>\n                                                <constraint firstItem=\"ptF-6E-4t9\" firstAttribute=\"trailing\" secondItem=\"Mdv-fB-ehY\" secondAttribute=\"trailing\" id=\"lbB-Zf-KiD\"/>\n                                                <constraint firstItem=\"MyV-zW-kAQ\" firstAttribute=\"leading\" secondItem=\"hUm-3c-hJh\" secondAttribute=\"leading\" id=\"mxn-0S-W6I\"/>\n                                                <constraint firstItem=\"c58-Oe-I3L\" firstAttribute=\"leading\" secondItem=\"Mdv-fB-ehY\" secondAttribute=\"trailing\" constant=\"34\" id=\"n9t-3o-Vpt\"/>\n                                                <constraint firstItem=\"ptF-6E-4t9\" firstAttribute=\"top\" secondItem=\"kG4-16-3b2\" secondAttribute=\"top\" id=\"sZL-hY-kU1\"/>\n                                                <constraint firstItem=\"l5t-VX-ojB\" firstAttribute=\"top\" secondItem=\"Mdv-fB-ehY\" secondAttribute=\"bottom\" id=\"saT-Li-1qh\"/>\n                                                <constraint firstItem=\"FI2-Eu-YRY\" firstAttribute=\"leading\" secondItem=\"c58-Oe-I3L\" secondAttribute=\"trailing\" constant=\"8\" symbolic=\"YES\" id=\"wdf-5V-phh\"/>\n                                                <constraint firstItem=\"kG4-16-3b2\" firstAttribute=\"trailing\" secondItem=\"hU1-qB-ubE\" secondAttribute=\"trailing\" id=\"wwm-jl-Sb7\"/>\n                                                <constraint firstItem=\"FCb-ak-sma\" firstAttribute=\"firstBaseline\" secondItem=\"hU1-qB-ubE\" secondAttribute=\"firstBaseline\" id=\"zkd-YJ-0QB\"/>\n                                            </constraints>\n                                        </tableViewCellContentView>\n                                    </tableViewCell>\n                                </cells>\n                            </tableViewSection>\n                        </sections>\n                        <connections>\n                            <outlet property=\"dataSource\" destination=\"Edd-zr-jGo\" id=\"DfX-rA-RbZ\"/>\n                            <outlet property=\"delegate\" destination=\"Edd-zr-jGo\" id=\"M2r-GD-0Ug\"/>\n                        </connections>\n                    </tableView>\n                    <navigationItem key=\"navigationItem\" title=\"Colors From Image\" id=\"AZp-9b-nNt\"/>\n                    <connections>\n                        <outlet property=\"sampleOneAverageColorLabel\" destination=\"Slt-37-hgu\" id=\"4ek-G2-iHY\"/>\n                        <outlet property=\"sampleOneComponentColorFiveLabel\" destination=\"nFR-IO-rPj\" id=\"Baf-tH-wzB\"/>\n                        <outlet property=\"sampleOneComponentColorFourLabel\" destination=\"SaA-TE-lru\" id=\"OGv-FC-ugb\"/>\n                        <outlet property=\"sampleOneComponentColorOneLabel\" destination=\"RYW-Is-bto\" id=\"OeO-VX-57f\"/>\n                        <outlet property=\"sampleOneComponentColorThreeLabel\" destination=\"Po8-Ai-CW8\" id=\"2A1-xw-MmC\"/>\n                        <outlet property=\"sampleOneComponentColorTwoLabel\" destination=\"BDm-ZQ-cmZ\" id=\"2ZX-r9-8CN\"/>\n                        <outlet property=\"sampleOneImageView\" destination=\"bqk-v3-o6a\" id=\"gag-bf-O5o\"/>\n                        <outlet property=\"sampleTwoAverageColorLabel\" destination=\"kG4-16-3b2\" id=\"6tJ-oL-Meu\"/>\n                        <outlet property=\"sampleTwoComponentColorFiveLabel\" destination=\"hU1-qB-ubE\" id=\"aga-dw-rDK\"/>\n                        <outlet property=\"sampleTwoComponentColorFourLabel\" destination=\"FCb-ak-sma\" id=\"Nd1-jW-y14\"/>\n                        <outlet property=\"sampleTwoComponentColorOneLabel\" destination=\"c58-Oe-I3L\" id=\"QWT-M2-UeB\"/>\n                        <outlet property=\"sampleTwoComponentColorThreeLabel\" destination=\"N5j-fW-ee7\" id=\"Xim-C5-CDz\"/>\n                        <outlet property=\"sampleTwoComponentColorTwoLabel\" destination=\"FI2-Eu-YRY\" id=\"gCP-PH-5Nt\"/>\n                        <outlet property=\"sampleTwoImageView\" destination=\"hUm-3c-hJh\" id=\"Bam-Ci-BMb\"/>\n                    </connections>\n                </tableViewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"CaO-ir-Vbf\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"1687\" y=\"359\"/>\n        </scene>\n        <!--Tab Bar Controller-->\n        <scene sceneID=\"yl2-sM-qoP\">\n            <objects>\n                <tabBarController id=\"49e-Tb-3d3\" sceneMemberID=\"viewController\">\n                    <nil key=\"simulatedBottomBarMetrics\"/>\n                    <tabBar key=\"tabBar\" contentMode=\"scaleToFill\" id=\"W28-zg-YXA\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"975\" width=\"768\" height=\"49\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" flexibleMinY=\"YES\"/>\n                        <color key=\"backgroundColor\" red=\"0.0\" green=\"0.0\" blue=\"0.0\" alpha=\"0.0\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                    </tabBar>\n                    <connections>\n                        <segue destination=\"5eg-kw-tLb\" kind=\"relationship\" relationship=\"viewControllers\" id=\"u7Y-xg-7CH\"/>\n                        <segue destination=\"t8x-DV-FaB\" kind=\"relationship\" relationship=\"viewControllers\" id=\"lzU-1b-eKA\"/>\n                    </connections>\n                </tabBarController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"HuB-VB-40B\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"0.0\" y=\"0.0\"/>\n        </scene>\n        <!--Basics-->\n        <scene sceneID=\"9EU-Ap-W1m\">\n            <objects>\n                <navigationController automaticallyAdjustsScrollViewInsets=\"NO\" id=\"5eg-kw-tLb\" sceneMemberID=\"viewController\">\n                    <tabBarItem key=\"tabBarItem\" title=\"Basics\" image=\"first\" id=\"acW-dT-cKf\"/>\n                    <toolbarItems/>\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"jc2-k8-2a9\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <nil name=\"viewControllers\"/>\n                    <connections>\n                        <segue destination=\"2KV-cp-EhT\" kind=\"relationship\" relationship=\"rootViewController\" id=\"kxB-AM-qlZ\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"jJs-Fg-n1B\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"749.60000000000002\" y=\"-320.68965517241384\"/>\n        </scene>\n        <!--Colors From Image-->\n        <scene sceneID=\"psj-Fp-NH1\">\n            <objects>\n                <navigationController automaticallyAdjustsScrollViewInsets=\"NO\" id=\"t8x-DV-FaB\" sceneMemberID=\"viewController\">\n                    <tabBarItem key=\"tabBarItem\" title=\"Colors From Image\" image=\"second\" id=\"cPa-gy-q4n\"/>\n                    <toolbarItems/>\n                    <navigationBar key=\"navigationBar\" contentMode=\"scaleToFill\" id=\"Kh5-WP-DQk\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"44\"/>\n                        <autoresizingMask key=\"autoresizingMask\"/>\n                    </navigationBar>\n                    <nil name=\"viewControllers\"/>\n                    <connections>\n                        <segue destination=\"Edd-zr-jGo\" kind=\"relationship\" relationship=\"rootViewController\" id=\"8mq-Fq-sTT\"/>\n                    </connections>\n                </navigationController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"Zi7-cV-HUz\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"749.60000000000002\" y=\"359.37031484257875\"/>\n        </scene>\n    </scenes>\n    <resources>\n        <image name=\"first\" width=\"30\" height=\"30\"/>\n        <image name=\"second\" width=\"30\" height=\"30\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "ChameleonDemo-Swift/FirstViewController.swift",
    "content": "//\n//  FirstViewController.swift\n//  ChameleonDemo\n//\n//  Created by Wei Huang on 5/5/17.\n//  Copyright © 2017 Wei Huang. All rights reserved.\n//\n\nimport UIKit\nimport  Chameleon\n\nclass FirstViewController: UITableViewController {\n    \n    @IBOutlet weak var randomFlatColorLabel: UILabel!\n    \n    @IBOutlet weak var complementaryFlatColorLabel: UILabel!\n    \n    @IBOutlet weak var contrastFlatColorLabel: UILabel!\n    \n    @IBOutlet weak var flatteningNonFlatColorLabel: UILabel!\n    \n    @IBOutlet weak var beforeFlatteningColorLabel: UILabel!\n    \n    @IBOutlet weak var lighterColorLabel: UILabel!\n    \n    @IBOutlet weak var darkerColorLabel: UILabel!\n\n    @IBOutlet weak var gradientColorLabel: UILabel!\n    \n    @IBOutlet weak var gradientComponentColorOneLabel: UILabel!\n    \n    @IBOutlet weak var gradientComponentColorTwoLabel: UILabel!\n    \n    @IBOutlet weak var gradientComponentColorThreeLabel: UILabel!\n    \n    @IBOutlet weak var gradientWithContrastLabel: UILabel!\n    \n    @IBOutlet weak var refreshButton: UIBarButtonItem!\n    \n    // MARK: Life cycles\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        // Do any additional setup after loading the view, typically from a nib.\n        initChameleonColors()\n        \n        // Hide nav bar hairline\n        self.navigationController?.hidesNavigationBarHairline = true\n    }\n    \n    override func viewWillAppear(_ animated: Bool) {\n//        initChameleonColors()\n    }\n    \n    \n    // MARK: Chameleon related\n    func initChameleonColors() {\n        \n        let randomFlatColor = UIColor.randomFlat\n        let randomFlatColorContract = ContrastColorOf(randomFlatColor, returnFlat: true)\n        // Nav bar\n        navigationController?.navigationBar.barTintColor = randomFlatColor\n        navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: randomFlatColorContract]\n        // Tab bar\n        tabBarController?.tabBar.barTintColor = randomFlatColor\n        tabBarController?.tabBar.tintColor = randomFlatColorContract\n        // Refresh button\n        refreshButton.tintColor = randomFlatColorContract\n        // Random flat color\n        randomFlatColorLabel.text = \"Aa \\u{25A0}\"\n        randomFlatColorLabel.textColor = randomFlatColor\n        // Complementary flat color\n        complementaryFlatColorLabel.text = \"Aa \\u{25A0}\"\n        complementaryFlatColorLabel.textColor = ComplementaryFlatColorOf(randomFlatColor)\n        // Contrast flat color\n        contrastFlatColorLabel.text = \"Aa \\u{25A0}\"\n        contrastFlatColorLabel.textColor = ContrastColorOf(randomFlatColor, returnFlat: true)\n        // Flattening non-flat color\n        let randomColor = generateRandomColor() // custom method, not part of Chameleon\n        flatteningNonFlatColorLabel.text = \"Aa \\u{25A0}\"\n        flatteningNonFlatColorLabel.textColor = randomColor.flatten()\n        beforeFlatteningColorLabel.text = \"Aa \\u{25A0}\"\n        beforeFlatteningColorLabel.textColor = randomColor\n        // Lighter color > not yet reliable\n        lighterColorLabel.text = \"Aa \\u{25A0}\"\n        lighterColorLabel.textColor = randomFlatColor.lighten(byPercentage: 0.5)\n        // Darker color > not yet reliable\n        darkerColorLabel.text = \"Aa \\u{25A0}\"\n        darkerColorLabel.textColor = randomFlatColor.darken(byPercentage: 0.5)\n        // Gradient color\n        let firstRandomColor = UIColor.randomFlat\n        let secondRandomColor = UIColor.randomFlat\n        let thirdRandomColor = UIColor.randomFlat\n        let gradientColor = GradientColor(.leftToRight, frame: gradientColorLabel.frame, colors: [firstRandomColor, secondRandomColor, thirdRandomColor])\n        let gradientColorLargeFrame = GradientColor(.leftToRight, frame: gradientWithContrastLabel.frame, colors: [firstRandomColor, secondRandomColor, thirdRandomColor])\n        gradientColorLabel.text = \"Aa \\u{25A0}\"\n        gradientColorLabel.textColor = gradientColor\n        // Gradient backgorund with contrast text\n        gradientComponentColorOneLabel.text = \"\\u{25A0}\"\n        gradientComponentColorOneLabel.textColor = firstRandomColor\n        gradientComponentColorTwoLabel.text = \"\\u{25A0}\"\n        gradientComponentColorTwoLabel.textColor = secondRandomColor\n        gradientComponentColorThreeLabel.text = \"\\u{25A0}\"\n        gradientComponentColorThreeLabel.textColor = thirdRandomColor\n        gradientWithContrastLabel.text = \"FANCY COLOR\"\n        gradientWithContrastLabel.textColor = ContrastColorOf(gradientColorLargeFrame, returnFlat: true)\n        gradientWithContrastLabel.backgroundColor = gradientColorLargeFrame\n        gradientWithContrastLabel.layer.masksToBounds = true\n        gradientWithContrastLabel.layer.cornerRadius = 8\n    }\n    \n    // Refresh colors\n    @IBAction func refreshButtonAction(_ sender: Any) {\n        initChameleonColors()\n    }\n    \n    // Generate a random color\n    func generateRandomColor() -> UIColor {\n        let red = Float(arc4random_uniform(256))/255.0\n        let green = Float(arc4random_uniform(256))/255.0\n        let blue = Float(arc4random_uniform(256))/255.0\n        \n        return UIColor(colorLiteralRed: red, green: green, blue: blue, alpha: 1.0)\n    }\n}\n\n\n"
  },
  {
    "path": "ChameleonDemo-Swift/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>$(DEVELOPMENT_LANGUAGE)</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n</dict>\n</plist>\n"
  },
  {
    "path": "ChameleonDemo-Swift/SecondViewController.swift",
    "content": "//\n//  SecondViewController.swift\n//  ChameleonDemo\n//\n//  Created by Wei Huang on 5/5/17.\n//  Copyright © 2017 Wei Huang. All rights reserved.\n//\n//  - Attribution: image #1 - vecteezy.com\n//  - Attribution: image #1 - 500px.com\n\nimport UIKit\nimport  Chameleon\n\nclass SecondViewController: UITableViewController {\n    @IBOutlet weak var sampleOneImageView: UIImageView!\n    \n    @IBOutlet weak var sampleOneAverageColorLabel: UILabel!\n\n    @IBOutlet weak var sampleOneComponentColorOneLabel: UILabel!\n    \n    @IBOutlet weak var sampleOneComponentColorTwoLabel: UILabel!\n    \n    @IBOutlet weak var sampleOneComponentColorThreeLabel: UILabel!\n    \n    @IBOutlet weak var sampleOneComponentColorFourLabel: UILabel!\n    \n    @IBOutlet weak var sampleOneComponentColorFiveLabel: UILabel!\n\n    @IBOutlet weak var sampleTwoImageView: UIImageView!\n\n    @IBOutlet weak var sampleTwoAverageColorLabel: UILabel!\n    \n    @IBOutlet weak var sampleTwoComponentColorOneLabel: UILabel!\n    \n    @IBOutlet weak var sampleTwoComponentColorTwoLabel: UILabel!\n    \n    @IBOutlet weak var sampleTwoComponentColorThreeLabel: UILabel!\n    \n    @IBOutlet weak var sampleTwoComponentColorFourLabel: UILabel!\n    \n    @IBOutlet weak var sampleTwoComponentColorFiveLabel: UILabel!\n    \n    override func viewDidLoad() {\n        super.viewDidLoad()\n        navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: tabBarController?.tabBar.tintColor ?? UIColor.gray]\n        navigationController?.navigationBar.barTintColor = tabBarController?.tabBar.barTintColor ?? UIColor.lightGray\n        sampleOneImageView.image = #imageLiteral(resourceName: \"SampleImageOne\")\n        sampleTwoImageView.image = #imageLiteral(resourceName: \"SampleImageTwo\")\n        sampleOneImageView.layer.masksToBounds = true\n        sampleTwoImageView.layer.masksToBounds = true\n        sampleOneImageView.layer.cornerRadius = 8\n        sampleTwoImageView.layer.cornerRadius = 8\n        initChameleon()\n    }\n    \n    override func viewWillAppear(_ animated: Bool) {\n        navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: tabBarController?.tabBar.tintColor ?? UIColor.gray]\n        navigationController?.navigationBar.barTintColor = tabBarController?.tabBar.barTintColor ?? UIColor.lightGray\n    }\n    \n    // Chameleon related\n    func initChameleon() {\n        let sampleOneImageColors = ColorsFromImage(#imageLiteral(resourceName: \"SampleImageOne\"), withFlatScheme: true)\n        print(sampleOneImageColors.count)\n        let sampleTwoImageColors = ColorsFromImage(#imageLiteral(resourceName: \"SampleImageTwo\"), withFlatScheme: true)\n        print(sampleTwoImageColors.count)\n        let sampleOneImageAverageColor = AverageColorFromImage(#imageLiteral(resourceName: \"SampleImageOne\"))\n        let sampleTwoImageAverageColor = AverageColorFromImage(#imageLiteral(resourceName: \"SampleImageTwo\"))\n        \n        sampleOneAverageColorLabel.text = \"Aa \\u{25A0}\"\n        sampleOneAverageColorLabel.textColor = sampleOneImageAverageColor\n        \n        sampleTwoAverageColorLabel.text = \"Aa \\u{25A0}\"\n        sampleTwoAverageColorLabel.textColor = sampleTwoImageAverageColor\n        \n        sampleOneComponentColorOneLabel.text = \"\\u{25A0}\"\n        sampleOneComponentColorOneLabel.textColor = sampleOneImageColors[0]\n        sampleOneComponentColorTwoLabel.text = \"\\u{25A0}\"\n        sampleOneComponentColorTwoLabel.textColor = sampleOneImageColors[1]\n        sampleOneComponentColorThreeLabel.text = \"\\u{25A0}\"\n         sampleOneComponentColorThreeLabel.textColor = sampleOneImageColors[2]\n        sampleOneComponentColorFourLabel.text = \"\\u{25A0}\"\n        sampleOneComponentColorFourLabel.textColor = sampleOneImageColors[3]\n        sampleOneComponentColorFiveLabel.text = \"\\u{25A0}\"\n        sampleOneComponentColorFiveLabel.textColor = sampleOneImageColors[4]\n        \n        sampleTwoComponentColorOneLabel.text = \"\\u{25A0}\"\n        sampleTwoComponentColorOneLabel.textColor = sampleOneImageColors[0]\n        sampleTwoComponentColorTwoLabel.text = \"\\u{25A0}\"\n        sampleTwoComponentColorTwoLabel.textColor = sampleOneImageColors[1]\n        sampleTwoComponentColorThreeLabel.text = \"\\u{25A0}\"\n        sampleTwoComponentColorThreeLabel.textColor = sampleOneImageColors[2]\n        sampleTwoComponentColorFourLabel.text = \"\\u{25A0}\"\n        sampleTwoComponentColorFourLabel.textColor = sampleOneImageColors[3]\n        sampleTwoComponentColorFiveLabel.text = \"\\u{25A0}\"\n        sampleTwoComponentColorFiveLabel.textColor = sampleOneImageColors[4]\n    }\n}\n\n"
  },
  {
    "path": "ChameleonFramework.podspec",
    "content": "Pod::Spec.new do |s|\n  s.name         \t\t= \"ChameleonFramework\"\n  s.version     \t\t= \"2.1.0\"\n  s.summary      \t\t= \"Color Framework for iOS (Obj-C & Swift)\"\n  s.homepage    \t\t= \"https://github.com/ViccAlexander/Chameleon\"\n  s.screenshots  \t\t= \"https://camo.githubusercontent.com/bde5aa6ee0e1feec044d184a735da8024c60c04c/687474703a2f2f692e696d6775722e636f6d2f427771486842342e706e67\"\n\n  s.license      \t\t= { :type => \"MIT\", :file => \"LICENSE.md\" }\n  s.author       \t\t= \"Vicc Alexander\"\n  s.social_media_url   \t= \"http://twitter.com/ViccsMind\"\n  s.platform     \t\t= :ios\n  s.ios.deployment_target = '8.0'\n  s.source       \t\t= { :git => \"https://github.com/ViccAlexander/Chameleon.git\", \n                     \t\t:tag => s.version.to_s }\n\n  s.public_header_files = 'Pod/Classes/Objective-C/**/*.h'\n  s.frameworks   = 'UIKit', 'QuartzCore', 'CoreGraphics'\n\n  s.default_subspecs = 'Default'\n\n  s.subspec 'Default' do |ss|\n    ss.source_files = 'Pod/Classes/Objective-C/**/*.{h,m}'\n  end\n\n  s.subspec 'Swift' do |ss|\n      ss.ios.deployment_target = '8.0'\n      ss.source_files = 'Pod/Classes/Swift/ChameleonShorthand.swift'\n      ss.dependency 'ChameleonFramework/Default'\n  end\nend\n"
  },
  {
    "path": "Extras/Chameleon.sketchpalette",
    "content": "{\"compatibleVersion\":\"1.0\",\"pluginVersion\":\"1.1\",\"colors\":[\"#E64E42\",\"#BF3A31\",\"#E57F31\",\"#D25519\",\"#FFCC2F\",\"#FEA829\",\"#F0DEB7\",\"#D5C298\",\"#354A5D\",\"#2D3E50\",\"#2B2B2B\",\"#262626\",\"#9B5DB5\",\"#8D48AB\",\"#3C7080\",\"#376272\",\"#3B9AD9\",\"#2F81B8\",\"#39CB75\",\"#30AD63\",\"#2ABC9D\",\"#23A086\",\"#EDF1F2\",\"#BEC4C8\",\"#808C8D\",\"#365F42\",\"#2E5037\",\"#7561C3\",\"#5B4BA1\",\"#5E4536\",\"#503B2D\",\"#5D365D\",\"#4F2C4F\",\"#ED737D\",\"#D8565C\",\"#A6C646\",\"#8FAF30\",\"#F37FC3\",\"#D35F9E\",\"#78312C\",\"#652723\",\"#A38673\",\"#8D7260\",\"#B9CAF0\",\"#9AABD2\",\"#5167A0\",\"#3A4E7F\"]}"
  },
  {
    "path": "LICENSE.md",
    "content": "##The MIT License (MIT)\n\n> Copyright (c) 2014-2015 Vicc Alexander\n\n> Permission is hereby granted, free of charge, to any person obtaining a copy\n> of this software and associated documentation files (the \"Software\"), to deal\n> in the Software without restriction, including without limitation the rights\n> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n> copies of the Software, and to permit persons to whom the Software is\n> furnished to do so, subject to the following conditions: \n\n> The above copyright notice and this permission notice shall be included in all\n> copies or substantial portions of the Software.\n\n> THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n> SOFTWARE. \n"
  },
  {
    "path": "Pod/Classes/Objective-C/Chameleon.h",
    "content": "//\n//  Chameleon.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 9/24/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for Chameleon.\nFOUNDATION_EXPORT double ChameleonVersionNumber;\n\n//! Project version string for Chameleon.\nFOUNDATION_EXPORT const unsigned char ChameleonVersionString[];\n\n// In this header, you should import all the public headers of your framework using statements like #import <Chameleon/PublicHeader.h>\n\n#import \"Chameleon_.h\"\n\n#import \"UIButton+Chameleon.h\"\n#import \"UILabel+Chameleon.h\"\n#import \"UIColor+ChameleonPrivate.h\"\n#import \"UIImage+ChameleonPrivate.h\"\n#import \"UIView+ChameleonPrivate.h\"\n#import \"UIAppearance+Swift.h\"\n\n#import \"NSArray+Chameleon.h\"\n#import \"UIColor+Chameleon.h\"\n#import \"UINavigationController+Chameleon.h\"\n#import \"UIViewController+Chameleon.h\"\n"
  },
  {
    "path": "Pod/Classes/Objective-C/ChameleonConstants.h",
    "content": "//\n//  Constants.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/4/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\n/**\n *  A contrasting status bar, intended for use on any backgrounds.\n *\n *  @since 2.0\n */\nextern const UIStatusBarStyle UIStatusBarStyleContrast;\n\n@interface ChameleonConstants : NSObject\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/ChameleonConstants.m",
    "content": "//\n//  Constants.m\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/4/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"ChameleonConstants.h\"\n\nconst UIStatusBarStyle UIStatusBarStyleContrast = 100;\n\n@implementation ChameleonConstants\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/ChameleonEnums.h",
    "content": "//\n//  ChameleonEnums.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/8/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#ifndef Chameleon_ChameleonEnums_h\n#define Chameleon_ChameleonEnums_h\n\n/**\n *  Specifies how text-based UI elements and other content such as switch knobs, should be colored.\n *\n *  @since 2.0\n */\n\ntypedef NS_ENUM(NSUInteger, UIContentStyle) {\n    /**\n     *  Automatically chooses and colors text-based elements with the shade that best contrasts its @c backgroundColor.\n     *\n     *  @since 2.0\n     */\n    UIContentStyleContrast,\n    /**\n     *  Colors text-based elements using a light shade.\n     *\n     *  @since 2.0\n     */\n    UIContentStyleLight,\n    /**\n     *  Colors text-based elements using a light shade.\n     *\n     *  @since 2.0\n     */\n    UIContentStyleDark\n};\n\n#endif\n"
  },
  {
    "path": "Pod/Classes/Objective-C/ChameleonMacros.h",
    "content": "\n//  ChameleonMacros.h\n\n/*\n \n The MIT License (MIT)\n \n Copyright (c) 2014-2015 Vicc Alexander.\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n \n */\n\n#import \"UIColor+Chameleon.h\"\n\n#pragma mark - Light Shades Shorthand\n\n#define FlatBlack [UIColor flatBlackColor]\n#define FlatBlue [UIColor flatBlueColor]\n#define FlatBrown [UIColor flatBrownColor]\n#define FlatCoffee [UIColor flatCoffeeColor]\n#define FlatForestGreen [UIColor flatForestGreenColor]\n#define FlatGray [UIColor flatGrayColor]\n#define FlatGreen [UIColor flatGreenColor]\n#define FlatLime [UIColor flatLimeColor]\n#define FlatMagenta [UIColor flatMagentaColor]\n#define FlatMaroon [UIColor flatMaroonColor]\n#define FlatMint [UIColor flatMintColor]\n#define FlatNavyBlue [UIColor flatNavyBlueColor]\n#define FlatOrange [UIColor flatOrangeColor]\n#define FlatPink [UIColor flatPinkColor]\n#define FlatPlum [UIColor flatPlumColor]\n#define FlatPowderBlue [UIColor flatPowderBlueColor]\n#define FlatPurple [UIColor flatPurpleColor]\n#define FlatRed [UIColor flatRedColor]\n#define FlatSand [UIColor flatSandColor]\n#define FlatSkyBlue [UIColor flatSkyBlueColor]\n#define FlatTeal [UIColor flatTealColor]\n#define FlatWatermelon [UIColor flatWatermelonColor]\n#define FlatWhite [UIColor flatWhiteColor]\n#define FlatYellow [UIColor flatYellowColor]\n\n// ---------------------------------------------------\n\n#pragma mark - Dark Shades Shorthand\n\n#define FlatBlackDark [UIColor flatBlackDarkColor]\n#define FlatBlueDark [UIColor flatBlueDarkColor]\n#define FlatBrownDark [UIColor flatBrownDarkColor]\n#define FlatCoffeeDark [UIColor flatCoffeeDarkColor]\n#define FlatForestGreenDark [UIColor flatForestGreenDarkColor]\n#define FlatGrayDark [UIColor flatGrayDarkColor]\n#define FlatGreenDark [UIColor flatGreenDarkColor]\n#define FlatLimeDark [UIColor flatLimeDarkColor]\n#define FlatMagentaDark [UIColor flatMagentaDarkColor]\n#define FlatMaroonDark [UIColor flatMaroonDarkColor]\n#define FlatMintDark [UIColor flatMintDarkColor]\n#define FlatNavyBlueDark [UIColor flatNavyBlueDarkColor]\n#define FlatOrangeDark [UIColor flatOrangeDarkColor]\n#define FlatPinkDark [UIColor flatPinkDarkColor]\n#define FlatPlumDark [UIColor flatPlumDarkColor]\n#define FlatPowderBlueDark [UIColor flatPowderBlueDarkColor]\n#define FlatPurpleDark [UIColor flatPurpleDarkColor]\n#define FlatRedDark [UIColor flatRedDarkColor]\n#define FlatSandDark [UIColor flatSandDarkColor]\n#define FlatSkyBlueDark [UIColor flatSkyBlueDarkColor]\n#define FlatTealDark [UIColor flatTealDarkColor]\n#define FlatWatermelonDark [UIColor flatWatermelonDarkColor]\n#define FlatWhiteDark [UIColor flatWhiteDarkColor]\n#define FlatYellowDark [UIColor flatYellowDarkColor]\n\n// ---------------------------------------------------\n\n#pragma mark - Special Colors Shorthand\n\n#define RandomFlatColor [UIColor randomFlatColor]\n#define ClearColor [UIColor clearColor]\n\n// ---------------------------------------------------\n\n#pragma mark - UIColor Methods Shorthand\n\n#define AverageColorFromImage(image) [UIColor colorWithAverageColorFromImage:image]\n#define AverageColorFromImageWithAlpha(image, alpha) [UIColor colorWithAverageColorFromImage:image withAlpha:alpha]\n\n#define ComplementaryFlatColor(color) [UIColor colorWithComplementaryFlatColorOf:color]\n#define ComplementaryFlatColorWithAlpha(color, alpha) [UIColor colorWithComplementaryFlatColorOf:color withAlpha:alpha]\n\n#define ContrastColor(backgroundColor, returnFlat) [UIColor colorWithContrastingBlackOrWhiteColorOn:backgroundColor isFlat:returnFlat]\n#define ContrastColorWithAlpha(backgroundColor, returnFlat, alpha) [UIColor colorWithContrastingBlackOrWhiteColorOn:backgroundColor isFlat:returnFlat alpha:alpha]\n\n#define GradientColor(gradientStyle, frame, colors) [UIColor colorWithGradientStyle:gradientStyle withFrame:frame andColors:colors]\n\n#define HexColor(hexString) [UIColor colorWithHexString:hexString]\n#define HexColorWithAlpha(hexString, alpha) [UIColor colorWithHexString:hexString withAlpha:alpha]\n\n#define RandomFlatColorInArray(colors) [UIColor colorWithRandomColorInArray:colors]\n#define RandomFlatColorExcluding(colors) [UIColor colorWithRandomFlatColorExcludingColorsInArray:colors];\n#define RandomFlatColorWithShade(shade) [UIColor colorWithRandomFlatColorOfShadeStyle:shade]\n#define RandomFlatColorWithShadeAndAlpha(shade, alpha) [UIColor colorWithRandomFlatColorOfShadeStyle:shade withAlpha:alpha]\n\n// ---------------------------------------------------\n\n#pragma mark - NSArray Shorthand\n\n#define ColorsWithScheme(colorSchemeType, color, isFlatScheme) [NSArray arrayOfColorsWithColorScheme:colorSchemeType usingColor:color withFlatScheme:isFlatScheme]\n#define ColorsFromImage(image, isFlatScheme) [NSArray arrayOfColorsFromImage:image withFlatScheme:isFlatScheme]\n\n"
  },
  {
    "path": "Pod/Classes/Objective-C/Chameleon_.h",
    "content": "//\n//  ChameleonInternal.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/4/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\n#import \"ChameleonConstants.h\"\n#import \"ChameleonEnums.h\"\n#import \"ChameleonMacros.h\"\n\n#import \"NSArray+Chameleon.h\"\n#import \"UIColor+Chameleon.h\"\n#import \"UINavigationController+Chameleon.h\"\n#import \"UIViewController+Chameleon.h\"\n\n@interface Chameleon : NSObject\n\n#pragma mark - Global Theming\n\n/**\n *  Set a global theme using a primary color and the specified content style.\n *\n *  @param primaryColor The primary color to theme all controllers with.\n *  @param contentStyle The contentStyle.\n *\n *  @note By default the secondary color will be a darker shade of the specified primary color.\n *\n *  @since 2.0\n */\n+ (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor\n                 withContentStyle:(UIContentStyle)contentStyle;\n\n/**\n *  Set a global theme using a primary color, secondary color, and the specified content style.\n *\n *  @param primaryColor   The primary color to theme all controllers with.\n *  @param secondaryColor The secondary color to theme all controllers with.\n *  @param contentStyle   The contentStyle.\n *\n *  @since 2.0\n */\n+ (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor\n               withSecondaryColor:(UIColor *)secondaryColor\n                  andContentStyle:(UIContentStyle)contentStyle;\n\n/**\n *  Set a global theme using a primary color, secondary color, font name, and the specified content style.\n *\n *  @param primaryColor   The primary color to theme all controllers with.\n *  @param secondaryColor The secondary color to theme all controllers with.\n *  @param fontName       The default font for all text-based UI elements.\n *  @param contentStyle   The contentStyle.\n *\n *  @since 2.0\n */\n+ (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor\n               withSecondaryColor:(UIColor *)secondaryColor\n                    usingFontName:(NSString *)fontName\n                  andContentStyle:(UIContentStyle)contentStyle;\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/Chameleon_.m",
    "content": "//\n//  ChameleonInternal.m\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/4/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"Chameleon_.h\"\n#import \"UILabel+Chameleon.h\"\n#import \"UIButton+Chameleon.h\"\n#import \"UIAppearance+Swift.h\"\n\n@implementation Chameleon\n\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n\n+ (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor\n                       withContentStyle:(UIContentStyle)contentStyle {\n    \n    if (contentStyle == UIContentStyleContrast) {\n        \n        if ([ContrastColor(primaryColor, YES) isEqual:FlatWhite]) {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        } else {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n        }\n        \n    } else if (contentStyle == UIContentStyleLight) {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        \n    } else {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n    }\n    \n    [[self class] customizeBarButtonItemWithPrimaryColor:primaryColor contentStyle:contentStyle];\n    [[self class] customizeButtonWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeNavigationBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizePageControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeProgressViewWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSearchBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSegmentedControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSliderWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeStepperWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSwitchWithPrimaryColor:primaryColor];\n    [[self class] customizeTabBarWithBarTintColor:FlatWhite andTintColor:primaryColor];\n    [[self class] customizeToolbarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeImagePickerControllerWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n}\n\n\n+ (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor\n                     withSecondaryColor:(UIColor *)secondaryColor\n                        andContentStyle:(UIContentStyle)contentStyle {\n    \n    if (contentStyle == UIContentStyleContrast) {\n        \n        if ([ContrastColor(primaryColor, YES) isEqual:FlatWhite]) {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        } else {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n        }\n        \n    } else if (contentStyle == UIContentStyleLight) {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        \n    } else {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n    }\n    \n    [[self class] customizeBarButtonItemWithPrimaryColor:primaryColor contentStyle:contentStyle];\n    [[self class] customizeButtonWithPrimaryColor:primaryColor secondaryColor:secondaryColor withContentStyle:contentStyle];\n    [[self class] customizeNavigationBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizePageControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeProgressViewWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeSearchBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSegmentedControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSliderWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeStepperWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSwitchWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeTabBarWithBarTintColor:FlatWhite andTintColor:primaryColor];\n    [[self class] customizeToolbarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeImagePickerControllerWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n}\n\n+ (void)setGlobalThemeUsingPrimaryColor:(UIColor *)primaryColor\n                     withSecondaryColor:(UIColor *)secondaryColor\n                          usingFontName:(NSString *)fontName\n                        andContentStyle:(UIContentStyle)contentStyle {\n    \n    if (contentStyle == UIContentStyleContrast) {\n        \n        if ([ContrastColor(primaryColor, YES) isEqual:FlatWhite]) {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        } else {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n        }\n        \n    } else if (contentStyle == UIContentStyleLight) {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        \n    } else {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n    }\n    \n    [[UILabel appearance] setSubstituteFontName:fontName];\n    [[UIButton appearance] setSubstituteFontName:fontName];\n    \n    [[self class] customizeNavigationBarWithBarColor:primaryColor textColor:ContrastColor(primaryColor, YES) fontName:fontName fontSize:20 buttonColor:ContrastColor(primaryColor, YES)];\n    [[self class] customizeBarButtonItemWithPrimaryColor:primaryColor fontName:fontName fontSize:18 contentStyle:contentStyle];\n    [[self class] customizeSegmentedControlWithPrimaryColor:primaryColor withFontName:fontName withFontSize:14 withContentStyle:contentStyle];\n    [[self class] customizeButtonWithPrimaryColor:primaryColor secondaryColor:secondaryColor withContentStyle:contentStyle];\n    [[self class] customizePageControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeProgressViewWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeSearchBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSliderWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeStepperWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSwitchWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeTabBarWithBarTintColor:FlatWhite andTintColor:primaryColor];\n    [[self class] customizeToolbarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeImagePickerControllerWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    \n    /*\n     \n     if (contentStyle == UIContentStyleContrast) {\n     \n     if ([ContrastColor(primaryColor, YES) isEqual:FlatWhite]) {\n     [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n     } else {\n     [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n     }\n     \n     } else if (contentStyle == UIContentStyleLight) {\n     \n     [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n     \n     } else {\n     \n     [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n     }\n     \n     [[self class] customizeBarButtonItemWithPrimaryColor:primaryColor fontName:fontName fontSize:18 contentStyle:contentStyle];\n     [[self class] customizeButtonWithPrimaryColor:primaryColor fontName:fontName fontSize:17 contentStyle:contentStyle];\n     [[self class] customizeLabelWithPrimaryColor:primaryColor fontName:fontName fontSize:18 withContentStyle:contentStyle];\n     [[self class] customizePageControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n     [[self class] customizeProgressViewWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n     [[self class] customizeSearchBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n     [[self class] customizeSliderWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n     [[self class] customizeStepperWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n     [[self class] customizeSwitchWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n     [[self class] customizeTabBarWithBarTintColor:FlatWhite tintColor:primaryColor fontName:fontName fontSize:11];\n     [[self class] customizeToolbarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n     \n     */\n}\n\n#pragma mark - UIBarButtonItem\n\n+ (void)customizeBarButtonItemWithPrimaryColor:(UIColor *)primaryColor\n                                  contentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIBarButtonItem appearance] setTintColor:primaryColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UISearchBar class], nil] setTintColor:contentColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], nil] setTintColor:contentColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UIToolbar class], nil] setTintColor:contentColor];\n    \n    \n}\n\n+ (void)customizeBarButtonItemWithPrimaryColor:(UIColor *)primaryColor\n                                      fontName:(NSString *)fontName\n                                      fontSize:(float)fontSize\n                                  contentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIBarButtonItem appearance] setTintColor:primaryColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UISearchBar class], nil] setTintColor:contentColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], nil] setTintColor:contentColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UIToolbar class], nil] setTintColor:contentColor];\n    \n    \n    if ([UIFont fontWithName:fontName size:fontSize]) {\n        [[UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], nil] setTitleTextAttributes:@{ NSForegroundColorAttributeName:contentColor,\n                                                                                                            NSFontAttributeName:[UIFont fontWithName:fontName size:fontSize]} forState:UIControlStateNormal];\n    }\n}\n\n#pragma mark - UIButton\n\n+ (void)customizeButtonWithPrimaryColor:(UIColor *)primaryColor\n                       withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIButton appearance] setTintColor:contentColor];\n    [[UIButton appearance] setBackgroundColor:primaryColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UISearchBar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UISearchBar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UINavigationBar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UINavigationBar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UIToolbar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UIToolbar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UIStepper class], nil] setTintColor:primaryColor];\n    [[UIButton appearanceWhenContainedIn:[UIStepper class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearance] setTitleShadowColor:ClearColor forState:UIControlStateNormal];\n}\n\n+ (void)customizeButtonWithPrimaryColor:(UIColor *)primaryColor\n                         secondaryColor:(UIColor *)secondaryColor\n                       withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    UIColor *secondaryContentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            secondaryContentColor = ContrastColor(secondaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            secondaryContentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            secondaryContentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            secondaryContentColor = ContrastColor(secondaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIButton appearance] setTintColor:secondaryContentColor];\n    [[UIButton appearance] setBackgroundColor:secondaryColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UISearchBar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UISearchBar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UINavigationBar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UINavigationBar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UIToolbar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UIToolbar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UIStepper class], nil] setTintColor:primaryColor];\n    [[UIButton appearanceWhenContainedIn:[UIStepper class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearance] setTitleShadowColor:ClearColor forState:UIControlStateNormal];\n}\n\n#pragma mark - UIImagePickerController\n\n+ (void)customizeImagePickerControllerWithPrimaryColor:(UIColor *)primaryColor withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    //Workaround for Swift http://stackoverflow.com/a/28765193\n    [[UIButton appearanceWhenContainedWithin:@[[UIView class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n    [[UIButton appearanceWhenContainedWithin:@[[UIView class],[UIImagePickerController class]]] setTintColor:ClearColor];\n    [[UIButton appearanceWhenContainedWithin:@[[UINavigationBar class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n    [[UIButton appearanceWhenContainedWithin:@[[UINavigationBar class],[UIImagePickerController class]]] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedWithin:@[[UITableViewCell class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n    \n    //[[UIButton appearanceWhenContainedInInstancesOfClasses:@[[UIView class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n    //[[UIButton appearanceWhenContainedInInstancesOfClasses:@[[UIView class],[UIImagePickerController class]]] setTintColor:contentColor];\n    //[[UIButton appearanceWhenContainedInInstancesOfClasses:@[[UINavigationBar class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n    //[[UIButton appearanceWhenContainedInInstancesOfClasses:@[[UINavigationBar class],[UIImagePickerController class]]] setTintColor:contentColor];\n    //[[UIButton appearanceWhenContainedInInstancesOfClasses:@[[UITableViewCell class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n}\n\n\n#pragma mark - UILabel\n\n+ (void)customizeLabelWithPrimaryColor:(UIColor *)primaryColor\n                              fontName:(NSString *)fontName\n                              fontSize:(CGFloat)fontSize\n                      withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UILabel appearanceWhenContainedIn:[UINavigationBar class], nil] setTextColor:contentColor];\n    [[UILabel appearanceWhenContainedIn:[UIToolbar class], nil] setTextColor:contentColor];\n    \n    UIFont *font = [UIFont fontWithName:fontName size:fontSize];\n    \n    if (font) {\n        [[UILabel appearance] setFont:[UIFont fontWithName:fontName size:fontSize]];\n        [[UILabel appearanceWhenContainedIn:[UITextField class], nil] setFont:[UIFont fontWithName:fontName size:14]];\n        [[UILabel appearanceWhenContainedIn:[UIButton class], nil] setFont:[UIFont fontWithName:fontName size:18]];\n    }\n}\n\n#pragma mark - UINavigationBar\n\n+ (void)customizeNavigationBarWithPrimaryColor:(UIColor *)primaryColor\n                              withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UINavigationBar appearance] setBarTintColor:primaryColor];\n    [[UINavigationBar appearance] setTintColor:contentColor];\n    [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName:contentColor}];\n    [[UINavigationBar appearance] setShadowImage:[UIImage new]];\n    //    [[UINavigationBar appearance] setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];\n}\n\n+ (void)customizeNavigationBarWithBarColor:(UIColor *)barColor\n                                 textColor:(UIColor *)textColor\n                               buttonColor:(UIColor *)buttonColor {\n    \n    [[UINavigationBar appearance] setBarTintColor:barColor];\n    [[UINavigationBar appearance] setTintColor:buttonColor];\n    [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName:textColor}];\n    [[UINavigationBar appearance] setShadowImage:[UIImage new]];\n    //    [[UINavigationBar appearance] setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];\n}\n\n+ (void)customizeNavigationBarWithBarColor:(UIColor *)barColor\n                                 textColor:(UIColor *)textColor\n                                  fontName:(NSString *)fontName\n                                  fontSize:(CGFloat)fontSize\n                               buttonColor:(UIColor *)buttonColor {\n    \n    [[UINavigationBar appearance] setBarTintColor:barColor];\n    [[UINavigationBar appearance] setTintColor:buttonColor];\n    [[UINavigationBar appearance] setShadowImage:[UIImage new]];\n    //    [[UINavigationBar appearance] setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];\n    \n    if ([UIFont fontWithName:fontName size:fontSize]) {\n        [[UINavigationBar appearance] setTitleTextAttributes:@{ NSForegroundColorAttributeName:textColor, NSFontAttributeName:[UIFont fontWithName:fontName size:fontSize] }];\n    }\n}\n\n#pragma mark - UIPageControl\n\n+ (void)customizePageControlWithPrimaryColor:(UIColor *)primaryColor\n                            withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIPageControl appearance] setCurrentPageIndicatorTintColor:primaryColor];\n    [[UIPageControl appearance] setPageIndicatorTintColor:[primaryColor colorWithAlphaComponent:0.4]];\n    [[UIPageControl appearanceWhenContainedIn:[UINavigationBar class], nil] setCurrentPageIndicatorTintColor:contentColor];\n    [[UIPageControl appearanceWhenContainedIn:[UINavigationBar class], nil] setPageIndicatorTintColor:[contentColor colorWithAlphaComponent:0.4]];\n    [[UIPageControl appearanceWhenContainedIn:[UIToolbar class], nil] setCurrentPageIndicatorTintColor:contentColor];\n    [[UIPageControl appearanceWhenContainedIn:[UIToolbar class], nil] setPageIndicatorTintColor:[contentColor colorWithAlphaComponent:0.4]];\n}\n\n#pragma mark - UIProgressView\n\n+ (void)customizeProgressViewWithPrimaryColor:(UIColor *)primaryColor\n                             withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIProgressView appearance] setProgressTintColor:primaryColor];\n    [[UIProgressView appearanceWhenContainedIn:[UINavigationBar class], nil] setProgressTintColor:contentColor];\n    [[UIProgressView appearanceWhenContainedIn:[UIToolbar class], nil] setProgressTintColor:contentColor];\n    [[UIProgressView appearance] setTrackTintColor:[UIColor lightGrayColor]];\n    [[UIProgressView appearanceWhenContainedIn:[UINavigationBar class], nil] setTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    [[UIProgressView appearanceWhenContainedIn:[UIToolbar class], nil] setTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n}\n\n+ (void)customizeProgressViewWithPrimaryColor:(UIColor *)primaryColor\n                            andSecondaryColor:(UIColor *)secondaryColor {\n    \n    [[UIProgressView appearance] setProgressTintColor:secondaryColor];\n    [[UIProgressView appearanceWhenContainedIn:[UINavigationBar class], nil] setProgressTintColor:secondaryColor];\n    [[UIProgressView appearanceWhenContainedIn:[UIToolbar class], nil] setProgressTintColor:secondaryColor];\n    [[UIProgressView appearance] setTrackTintColor:[UIColor lightGrayColor]];\n    [[UIProgressView appearanceWhenContainedIn:[UINavigationBar class], nil] setTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    [[UIProgressView appearanceWhenContainedIn:[UIToolbar class], nil] setTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n}\n\n#pragma mark - UISearchBar\n\n+ (void)customizeSearchBarWithPrimaryColor:(UIColor *)primaryColor withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UISearchBar appearance] setBarTintColor:primaryColor];\n    [[UISearchBar appearance] setBackgroundColor:primaryColor];\n    [[UISearchBar appearance] setTintColor:contentColor];\n    [[UISearchBar appearance] setBackgroundImage:[UIImage new] forBarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault];\n}\n\n#pragma mark - UISegmentedControl\n\n+ (void)customizeSegmentedControlWithPrimaryColor:(UIColor *)primaryColor\n                                 withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UISegmentedControl appearance] setTintColor:primaryColor];\n    [[UISegmentedControl appearanceWhenContainedIn:[UINavigationBar class], nil]\n     setTintColor:contentColor];\n    [[UISegmentedControl appearanceWhenContainedIn:[UIToolbar class], nil]\n     setTintColor:contentColor];\n}\n\n+ (void)customizeSegmentedControlWithPrimaryColor:(UIColor *)primaryColor\n                                     withFontName:(NSString *)fontName\n                                     withFontSize:(CGFloat)fontSize\n                                 withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UISegmentedControl appearance] setTintColor:primaryColor];\n    [[UISegmentedControl appearanceWhenContainedIn:[UINavigationBar class], nil]\n     setTintColor:contentColor];\n    [[UISegmentedControl appearanceWhenContainedIn:[UIToolbar class], nil]\n     setTintColor:contentColor];\n    \n    UIFont *font = [UIFont fontWithName:fontName size:fontSize];\n    if (font) {\n        [[UISegmentedControl appearance] setTitleTextAttributes:@{NSFontAttributeName:font}\n                                                       forState:UIControlStateNormal];\n    }\n}\n\n#pragma mark - UISlider\n\n+ (void)customizeSliderWithPrimaryColor:(UIColor *)primaryColor\n                       withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UISlider appearance] setMinimumTrackTintColor:primaryColor];\n    [[UISlider appearanceWhenContainedIn:[UINavigationBar class], nil] setMinimumTrackTintColor:contentColor];\n    [[UISlider appearanceWhenContainedIn:[UIToolbar class], nil] setMinimumTrackTintColor:contentColor];\n    [[UISlider appearance] setMaximumTrackTintColor:[UIColor lightGrayColor]];\n    [[UISlider appearanceWhenContainedIn:[UINavigationBar class], nil] setMaximumTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    [[UISlider appearanceWhenContainedIn:[UIToolbar class], nil] setMaximumTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    \n    [[UISlider appearance] setThumbTintColor:primaryColor];\n    [[UISlider appearanceWhenContainedIn:[UIToolbar class], nil] setThumbTintColor:contentColor];\n}\n\n+ (void)customizeSliderWithPrimaryColor:(UIColor *)primaryColor\n                      andSecondaryColor:(UIColor *)secondaryColor {\n    \n    [[UISlider appearance] setMinimumTrackTintColor:secondaryColor];\n    [[UISlider appearanceWhenContainedIn:[UINavigationBar class], nil] setMinimumTrackTintColor:secondaryColor];\n    [[UISlider appearanceWhenContainedIn:[UIToolbar class], nil] setMinimumTrackTintColor:secondaryColor];\n    [[UISlider appearance] setMaximumTrackTintColor:[UIColor lightGrayColor]];\n    [[UISlider appearanceWhenContainedIn:[UINavigationBar class], nil] setMaximumTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    [[UISlider appearanceWhenContainedIn:[UIToolbar class], nil] setMaximumTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    \n    [[UISlider appearance] setThumbTintColor:secondaryColor];\n    [[UISlider appearanceWhenContainedIn:[UIToolbar class], nil] setThumbTintColor:ContrastColor(primaryColor, NO)];\n}\n\n#pragma mark - UIStepper\n\n+ (void)customizeStepperWithPrimaryColor:(UIColor *)primaryColor\n                        withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIStepper appearance] setTintColor:primaryColor];\n    [[UIStepper appearanceWhenContainedIn:[UINavigationBar class], nil]\n     setTintColor:contentColor];\n    [[UIStepper appearanceWhenContainedIn:[UIToolbar class], nil]\n     setTintColor:contentColor];\n}\n\n#pragma mark - UISwitch\n\n+ (void)customizeSwitchWithPrimaryColor:(UIColor *)primaryColor {\n    \n    [[UISwitch appearance] setOnTintColor:primaryColor];\n    [[UISwitch appearanceWhenContainedIn:[UINavigationBar class], nil] setOnTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    [[UISwitch appearanceWhenContainedIn:[UIToolbar class], nil] setOnTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n}\n\n+ (void)customizeSwitchWithPrimaryColor:(UIColor *)primaryColor\n                      andSecondaryColor:(UIColor *)secondaryColor {\n    \n    [[UISwitch appearance] setOnTintColor:secondaryColor];\n    [[UISwitch appearanceWhenContainedIn:[UINavigationBar class], nil] setOnTintColor:secondaryColor];\n    [[UISwitch appearanceWhenContainedIn:[UIToolbar class], nil] setOnTintColor:secondaryColor];\n}\n\n#pragma mark - UITabBar\n\n+ (void)customizeTabBarWithBarTintColor:(UIColor *)barTintColor\n                           andTintColor:(UIColor *)tintColor {\n    \n    [[UITabBar appearance] setBarTintColor:barTintColor];\n    [[UITabBar appearance] setTintColor:tintColor];\n}\n\n+ (void)customizeTabBarWithBarTintColor:(UIColor *)barTintColor\n                              tintColor:(UIColor *)tintColor\n                               fontName:(NSString *)fontName\n                               fontSize:(CGFloat)fontSize {\n    \n    [[UITabBar appearance] setBarTintColor:barTintColor];\n    [[UITabBar appearance] setTintColor:tintColor];\n    \n    UIFont *font = [UIFont fontWithName:fontName size:fontSize];\n    if (font) {\n        [[UITabBarItem appearance] setTitleTextAttributes:@{NSFontAttributeName:font}\n                                                 forState:UIControlStateNormal];\n    }\n}\n\n#pragma mark - UIToolbar\n\n+ (void)customizeToolbarWithPrimaryColor:(UIColor *)primaryColor\n                        withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIToolbar appearance] setTintColor:contentColor];\n    [[UIToolbar appearance] setBarTintColor:primaryColor];\n    [[UIToolbar appearance] setClipsToBounds:YES];\n}\n\n#pragma GCC diagnostic pop\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/NSArray+Chameleon.h",
    "content": "\n//  NSArray+Chameleon.h\n\n/*\n \n The MIT License (MIT)\n \n Copyright (c) 2014-2015 Vicc Alexander.\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n \n */\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\n#pragma mark - Enums\n\n/**\n *  Color schemes with which to select colors using a specified color.\n *\n *  @since 1.0\n */\ntypedef NS_ENUM(NSInteger, ColorScheme){\n    /**\n     *  Analogous color schemes use colors that are next to each other on the color wheel. They usually match well and create serene and comfortable designs. Analogous color schemes are often found in nature and are harmonious and pleasing to the eye. Make sure you have enough contrast when choosing an analogous color scheme. Choose one color to dominate, a second to support. The third color is used (along with black, white or gray) as an accent.\n     *\n     *  @since 1.0\n     */\n    ColorSchemeAnalogous,\n    /**\n     *  A triadic color scheme uses colors that are evenly spaced around the color wheel. Triadic color harmonies tend to be quite vibrant, even if you use pale or unsaturated versions of your hues. To use a triadic harmony successfully, the colors should be carefully balanced - let one color dominate and use the two others for accent.\n     *\n     *  @since 1.0\n     */\n    ColorSchemeTriadic,\n    /**\n     *  Colors that are opposite each other on the color wheel are considered to be complementary colors (example: red and green). The high contrast of complementary colors creates a vibrant look especially when used at full saturation. This color scheme must be managed well so it is not jarring. Complementary colors are tricky to use in large doses, but work well when you want something to stand out. Complementary colors are really bad for text.\n     *\n     *  @since 1.0\n     */\n    ColorSchemeComplementary\n};\n\n@interface NSArray (Chameleon)\n\n#pragma mark - Generating Color Schemes\n\n/**\n *  Generates and creates an array of 5 color objects in the HSB colorspace from the specified color.\n *\n *  @param colorScheme  The color scheme with which to select colors using a specified color.\n *  @param color        The specified color which the color scheme is built around.\n *  @param isFlatScheme Pass YES to return flat color objects.\n *\n *  @return An array of 5 color objects in the HSB colorspace.\n *\n *  @since 2.0\n */\n+ (NSArray *)arrayOfColorsWithColorScheme:(ColorScheme)colorScheme\n                               usingColor:(UIColor *)color\n                           withFlatScheme:(BOOL)isFlatScheme;\n\n/**\n *  Generates and creates an array of 5 color objects in the HSB colorspace that appear most often in a specified image.\n *\n *  @param image        The specified image which the color scheme is built around.\n *  @param isFlatScheme Pass YES to return flat color objects.\n *\n *  @return An array of 5 color objects in the HSB colorspace.\n *\n *  @since 2.0\n */\n+ (NSArray *)arrayOfColorsFromImage:(UIImage *)image\n                     withFlatScheme:(BOOL)isFlatScheme;\n\n#pragma mark - Deprecated Methods\n\n/**\n *  Generates and creates an array of 5 color objects in the HSB colorspace from the specified color.\n *\n *  @param colorScheme  The color scheme with which to select colors using a specified color.\n *\n *  @param color        The specified color which the color scheme is built around.\n *\n *  @param isFlatScheme Pass YES to return flat color objects.\n *\n *  @return An array of 5 color objects in the HSB colorspace.\n *\n  *  @since 1.1.2\n */\n+ (NSArray *)arrayOfColorsWithColorScheme:(ColorScheme)colorScheme\n                                     with:(UIColor *)color\n                               flatScheme:(BOOL)isFlatScheme __attribute((deprecated(\" Use -arrayOfColorsWithColorScheme:usingColor:withFlatScheme: instead (First deprecated in Chameleon 2.0).\")));\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/NSArray+Chameleon.m",
    "content": "\n//  NSArray+Chameleon.m\n\n/*\n \n The MIT License (MIT)\n \n Copyright (c) 2014-2015 Vicc Alexander.\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n \n */\n\n#import \"NSArray+Chameleon.h\"\n#import \"ChameleonMacros.h\"\n#import \"UIColor+ChameleonPrivate.h\"\n#import \"UIImage+ChameleonPrivate.h\"\n\n@interface ChameleonCountedColor : NSObject\n\n@property (assign) NSUInteger count;\n@property (strong) UIColor *color;\n\n- (id)initWithColor:(UIColor *)color count:(NSUInteger)count;\n\n@end\n\n@implementation NSArray (Chameleon)\n\n#pragma mark - Deprecated 2.0\n\n+ (NSArray *)arrayOfColorsWithColorScheme:(ColorScheme)colorScheme with:(UIColor *)color flatScheme:(BOOL)isFlatScheme {\n    \n    //Extract HSB values from input color\n    CGFloat h, s, b, a;\n    [color getHue:&h saturation:&s brightness:&b alpha:&a];\n    \n    //Multiply our values by the max value to convert\n    h *= 360;\n    s *= 100;\n    b *= 100;\n    \n    //Choose Between Schemes\n    switch (colorScheme) {\n        case ColorSchemeAnalogous:\n            return [self analogousColorSchemeFromHue:h Saturation:s Brightness:b flat:isFlatScheme];\n        case ColorSchemeComplementary:\n            return [self complementaryColorSchemeFromHue:h Saturation:s Brightness:b flat:isFlatScheme];\n        case ColorSchemeTriadic:\n            return [self triadicColorSchemeFromHue:h Saturation:s Brightness:b flat:isFlatScheme];\n        default:\n            NSAssert(0, @\"Oops! Unrecognized color scheme provided as random color.\");\n    }\n}\n\n#pragma mark - Chameleon - Public Color Scheme Methods\n\n+ (NSArray *)arrayOfColorsWithColorScheme:(ColorScheme)colorScheme usingColor:(UIColor *)color withFlatScheme:(BOOL)isFlatScheme {\n    \n    //Extract HSB values from input color\n    CGFloat h, s, b, a;\n    [color getHue:&h saturation:&s brightness:&b alpha:&a];\n    \n    //Multiply our values by the max value to convert\n    h *= 360;\n    s *= 100;\n    b *= 100;\n\n    //Choose Between Schemes\n    switch (colorScheme) {\n        case ColorSchemeAnalogous:\n            if (isFlatScheme) return [self analogousColorSchemeFromHue:h Saturation:s Brightness:b flat:YES];\n            else return [self analogousColorSchemeFromHue:h Saturation:s Brightness:b flat:NO];\n        case ColorSchemeComplementary:\n            if (isFlatScheme) return [self complementaryColorSchemeFromHue:h Saturation:s Brightness:b flat:YES];\n            else return [self complementaryColorSchemeFromHue:h Saturation:s Brightness:b flat:NO];\n        case ColorSchemeTriadic:\n            if (isFlatScheme) return [self triadicColorSchemeFromHue:h Saturation:s Brightness:b flat:YES];\n            else return [self triadicColorSchemeFromHue:h Saturation:s Brightness:b flat:NO];\n            default:\n            NSAssert(0, @\"Oops! Unrecognized color scheme provided as random color.\");\n    }\n}\n\n+ (NSArray *)arrayOfColorsFromImage:(UIImage *)image withFlatScheme:(BOOL)isFlatScheme {\n    \n    //Quick return in case we don't have an image\n    if (!image) {\n        \n        //Make sure we return some colors to prevent exception\n        NSMutableArray *emptyColors = [NSMutableArray array];\n        while (emptyColors.count < 5) {\n            [emptyColors addObject:[UIColor whiteColor]];\n        }\n        \n        return emptyColors;\n    }\n    \n    //Scale image\n    UIImage *scaledImage = [UIImage imageWithImage:image scaledToSize:CGSizeMake(image.size.width/8, image.size.height/8)];\n    NSMutableArray *finalColors = [NSMutableArray array];\n    \n    //Find colors in image *********************************\n    \n    //Get dimensions of image in pixels\n    size_t width = CGImageGetWidth(scaledImage.CGImage);\n    size_t height = CGImageGetHeight(scaledImage.CGImage);\n    \n    //Initialize a counted set with the correct capacity\n    NSCountedSet *imageColors = [[NSCountedSet alloc] initWithCapacity:(width * height)];\n    \n    //Loop through each column\n    for (NSUInteger x = 0; x < width; x++) {\n        \n        //Loop through each row\n        for (NSUInteger y = 0; y < height; y++) {\n            \n            //Get color at a specific point\n            UIColor *color = [UIColor colorFromImage:scaledImage atPoint:CGPointMake(x, y)];\n            \n            //Add color to our list of all pixel colors\n            [imageColors addObject:color];\n        }\n    }\n    \n    //Setup up an enumerator object\n    NSEnumerator *enumerator = [imageColors objectEnumerator];\n    UIColor *currentColor;\n    NSMutableArray *sortedColors = [NSMutableArray arrayWithCapacity:imageColors.count];\n    NSMutableArray *resultColors = [NSMutableArray array];\n    \n    //Enumerate through each object once\n    while ((currentColor = [enumerator nextObject]) != nil) {\n        \n        //Set a minimum allowed saturation\n        currentColor = [currentColor colorWithMinimumSaturation:0.15f];\n        \n        //Get color count\n        NSUInteger colorCount = [imageColors countForObject:currentColor];\n        \n        //Add them to our sortedColors array\n        [sortedColors addObject:[[ChameleonCountedColor alloc] initWithColor:currentColor count:colorCount]];\n    }\n    \n    //Sort Colors\n    [sortedColors sortUsingSelector:@selector(compare:)];\n    \n    //Loop through our sorted colors\n    for (ChameleonCountedColor *countedColor in sortedColors) {\n        \n        //Define our current color\n        currentColor = countedColor.color;\n        \n        //Setup a flag to see if we should continue counting\n        BOOL continueFlag = NO;\n        \n        //Loop through our colors\n        for (UIColor *otherColor in resultColors) {\n            \n            //If our current color differs from our last, break the loop\n            if (![currentColor isDistinct:otherColor]) {\n                continueFlag = YES;\n                break;\n            }\n        }\n        \n        //Continue\n        if (continueFlag) {\n            continue;\n        }\n        \n        //If we can still add more colors, do so\n        if (resultColors.count < 5) {\n            \n            //Check if we should flatten our color\n            if (isFlatScheme) {\n                [resultColors addObject:[currentColor flatten]];\n            } else {\n                [resultColors addObject:currentColor];\n            }\n            \n        } else {\n            break;\n        }\n        \n    }\n    \n    //Get colors from image\n    [finalColors addObjectsFromArray:[NSArray arrayWithArray:resultColors]];\n    \n    // *****************************************************\n    \n    //Make sure we add white colors in case we're missing colors\n    while (finalColors.count < 5) {\n        [finalColors addObject:[UIColor whiteColor]];\n    }\n    \n    //Return array of colors\n    return [NSArray arrayWithArray:finalColors];\n}\n\n- (NSArray *)findColorsOfImage:(UIImage *)image imageColors:(NSCountedSet * __autoreleasing *)colors {\n   \n    //Get dimensions of image in pixels\n    size_t width = CGImageGetWidth(image.CGImage);\n    size_t height = CGImageGetHeight(image.CGImage);\n    \n    //Initialize a counted set with the correct capacity\n    NSCountedSet *imageColors = [[NSCountedSet alloc] initWithCapacity:(width * height)];\n    \n    //Loop through each column\n    for (NSUInteger x = 0; x < width; x++) {\n        \n        //Loop through each row\n        for (NSUInteger y = 0; y < height; y++) {\n            \n            //Get color at a specific point\n            UIColor *color = [UIColor colorFromImage:image atPoint:CGPointMake(x, y)];\n            \n            //Add color to our list of all pixel colors\n            [imageColors addObject:color];\n        }\n    }\n    \n    //Assign imageColors to colors\n    *colors = imageColors;\n    \n    //Setup up an enumerator object\n    NSEnumerator *enumerator = [imageColors objectEnumerator];\n    UIColor *currentColor;\n    NSMutableArray *sortedColors = [NSMutableArray arrayWithCapacity:imageColors.count];\n    NSMutableArray *resultColors = [NSMutableArray array];\n    \n    //Enumerate through each object once\n    while ((currentColor = [enumerator nextObject]) != nil) {\n        \n        //Set a minimum allowed saturation\n       currentColor = [currentColor colorWithMinimumSaturation:0.15f];\n        \n        //Get color count\n        NSUInteger colorCount = [imageColors countForObject:currentColor];\n        \n        //Add them to our sortedColors array\n        [sortedColors addObject:[[ChameleonCountedColor alloc] initWithColor:currentColor count:colorCount]];\n    }\n    \n    //Sort Colors\n    [sortedColors sortUsingSelector:@selector(compare:)];\n    \n    //Loop through our sorted colors\n    for (ChameleonCountedColor *countedColor in sortedColors) {\n        \n        //Define our current color\n        currentColor = countedColor.color;\n        \n        //Setup a flag to see if we should continue counting\n        BOOL continueFlag = NO;\n        \n        //Loop through our colors\n        for (UIColor *c in resultColors) {\n            \n            //If our current color differs from our last, break the loop\n            if (![currentColor isDistinct:c]) {\n                continueFlag = YES;\n                break;\n            }\n        }\n        \n        //Continue\n        if (continueFlag) {\n            continue;\n        }\n        \n        //If we can still add more colors, do so\n        if (resultColors.count < self.count) {\n            \n            [resultColors addObject:currentColor];\n            \n        } else {\n            break;\n        }\n            \n    }\n    \n    //Return our colors\n    return [NSArray arrayWithArray:resultColors];\n}\n\n\n#pragma mark - Chameleon - Internal Color Scheme Methods\n\n//Creates an array with 2 analagous colors on each side of the predefined color\n+ (NSArray *)analogousColorSchemeFromHue:(CGFloat)h Saturation:(CGFloat)s Brightness:(CGFloat)b flat:(BOOL)isFlat {\n    \n    UIColor *firstColor = [UIColor colorWithHue:([[self class] add:-32 to:h])/360\n                                          saturation:(s+5)/100\n                                           brightness:(b+5)/100\n                                          alpha:1.0];\n\n    UIColor *secondColor = [UIColor colorWithHue:[[self class] add:-16 to:h]/360\n                                     saturation:(s+5)/100\n                                     brightness:(b+9)/100\n                                          alpha:1.0];\n    \n    UIColor *thirdColor = [UIColor colorWithHue:h/360\n                                     saturation:s/100\n                                     brightness:b/100\n                                          alpha:1.0];\n    \n    UIColor *fourthColor = [UIColor colorWithHue:[[self class] add:16 to:h]/360\n                                     saturation:(s+5)/100\n                                     brightness:(b+9)/100\n                                          alpha:1.0];\n    \n    UIColor *fifthColor = [UIColor colorWithHue:[[self class] add:32 to:h]/360\n                                     saturation:(s+5)/100\n                                     brightness:(b+5)/100\n                                          alpha:1.0];\n    \n    if (isFlat) {\n        \n        //Flatten colors\n        firstColor = [firstColor flatten];\n        secondColor = [secondColor flatten];\n        thirdColor = [thirdColor flatten];\n        fourthColor = [fourthColor flatten];\n        fifthColor = [fifthColor flatten];\n        \n        //Make sure returned colors are unique\n        \n        //Inner Colors\n        if ([secondColor isEqual:thirdColor]) {\n            \n            secondColor = [[UIColor colorWithHue:[[self class] add:-48 to:h]/360\n                       saturation:(s+5)/100\n                       brightness:(b+9)/100\n                            alpha:1.0] flatten];\n        }\n        \n        if ([thirdColor isEqual:fourthColor]) {\n            \n            fourthColor = [[UIColor colorWithHue:[[self class] add:32 to:h]/360\n                                                    saturation:(s+5)/100\n                                                    brightness:(b+9)/100\n                                                         alpha:1.0] flatten];\n        }\n        \n        //Outer Colors\n        \n        if ([firstColor isEqual:secondColor]) {\n            \n            firstColor = [[UIColor colorWithHue:[[self class] add:-64 to:h]/360\n                                     saturation:(s+5)/100\n                                     brightness:(b+9)/100\n                                          alpha:1.0] flatten];\n        }\n        \n        if ([firstColor isEqual:thirdColor]) {\n            \n            firstColor = [[UIColor colorWithHue:[[self class] add:-96 to:h]/360\n                                     saturation:(s+5)/100\n                                     brightness:(b+9)/100\n                                          alpha:1.0] darkenByPercentage:0.25];\n        }\n        \n        if ([fourthColor isEqual:fifthColor]) {\n            fifthColor = [[UIColor colorWithHue:[[self class] add:64 to:h]/360\n                                     saturation:(s+5)/100\n                                     brightness:(b+9)/100\n                                          alpha:1.0] flatten];\n        }\n        \n        if ([thirdColor isEqual:fifthColor]) {\n            fifthColor = [[UIColor colorWithHue:[[self class] add:96 to:h]/360\n                                     saturation:(s+5)/100\n                                     brightness:(b+9)/100\n                                          alpha:1.0] flatten];\n        }\n        \n    }\n    \n    return @[firstColor, secondColor, thirdColor, fourthColor, fifthColor];\n}\n\n// Creates an array of 5 colors, both 90 degrees and 180 degrees away from the predefined colors on both sides\n+ (NSArray *)complementaryColorSchemeFromHue:(CGFloat)h Saturation:(CGFloat)s Brightness:(CGFloat)b flat:(BOOL)isFlat {\n    \n    UIColor *firstColor = [UIColor colorWithHue:h/360\n                                     saturation:(s+5)/100\n                                     brightness:(b-30)/100\n                                          alpha:1.0];\n    \n    UIColor *secondColor = [UIColor colorWithHue:h/360\n                                      saturation:(s-10)/100\n                                      brightness:(b+9)/100\n                                           alpha:1.0];\n    \n    UIColor *thirdColor = [UIColor colorWithHue:h/360\n                                     saturation:s/100\n                                     brightness:b/100\n                                          alpha:1.0];\n    \n    UIColor *fourthColor = [UIColor colorWithHue:[[self class] add:180 to:h]/360\n                                     saturation:s/100\n                                     brightness:b/100\n                                          alpha:1.0];\n    \n    UIColor *fifthColor = [UIColor colorWithHue:[[self class] add:180 to:h]/360\n                                      saturation:(s+20)/100\n                                      brightness:(b-30)/100\n                                           alpha:1.0];\n\n    \n    if (isFlat) {\n        \n        //Flatten colors\n        firstColor = [firstColor flatten];\n        secondColor = [secondColor flatten];\n        thirdColor = [thirdColor flatten];\n        fourthColor = [fourthColor flatten];\n        fifthColor = [fifthColor flatten];\n        \n        //Make sure returned colors are unique\n        \n        //Inner Colors\n        if ([secondColor isEqual:thirdColor]) {\n            secondColor = [[secondColor darkenByPercentage:0.25] flatten];\n        }\n        \n        if ([thirdColor isEqual:fourthColor]) {\n            fourthColor = [[fourthColor darkenByPercentage:0.25] flatten];\n        }\n        \n        if ([firstColor isEqual:thirdColor]) {\n            firstColor = [[firstColor darkenByPercentage:0.25] flatten];\n        }\n        \n        if ([fifthColor isEqual:thirdColor]) {\n            fifthColor = [[fifthColor darkenByPercentage:0.25] flatten];\n        }\n        \n        //Outer Colors\n        \n        if ([firstColor isEqual:secondColor]) {\n            firstColor = [[firstColor darkenByPercentage:0.25] flatten];\n        }\n        \n        \n        if ([fourthColor isEqual:fifthColor]) {\n            fifthColor = [[fifthColor darkenByPercentage:0.25] flatten];\n        }\n        \n    }\n    \n    return @[firstColor, secondColor, thirdColor, fourthColor, fifthColor];\n   \n}\n\n// Creates an array of 5 colors, both 120 degrees and 240 degrees away from the predefined colors on both sides\n+ (NSArray *)triadicColorSchemeFromHue:(CGFloat)h Saturation:(CGFloat)s Brightness:(CGFloat)b flat:(BOOL)isFlat  {\n    \n    UIColor *firstColor = [UIColor colorWithHue:[[self class] add:120 to:h]/360\n                                     saturation:(7*s/6)/100\n                                     brightness:(b-5)/100\n                                          alpha:1.0];\n    \n    UIColor *secondColor = [UIColor colorWithHue:[[self class] add:120 to:h]/360\n                                      saturation:s/100\n                                      brightness:(b+9)/100\n                                           alpha:1.0];\n    \n    UIColor *thirdColor = [UIColor colorWithHue:h/360\n                                     saturation:s/100\n                                     brightness:b/100\n                                          alpha:1.0];\n    \n    UIColor *fourthColor = [UIColor colorWithHue:[[self class] add:240 to:h]/360\n                                      saturation:(7*s/6)/100\n                                      brightness:(b-5)/100\n                                           alpha:1.0];\n    \n    UIColor *fifthColor = [UIColor colorWithHue:[[self class] add:240 to:h]/360\n                                      saturation:s/100\n                                      brightness:(b-30)/100\n                                           alpha:1.0];\n    \n    if (isFlat) {\n        \n        //Flatten colors\n        firstColor = [firstColor flatten];\n        secondColor = [secondColor flatten];\n        thirdColor = [thirdColor flatten];\n        fourthColor = [fourthColor flatten];\n        fifthColor = [fifthColor flatten];\n        \n        //Make sure returned colors are unique\n        \n        //Inner Colors\n        if ([secondColor isEqual:thirdColor]) {\n            secondColor = [[secondColor darkenByPercentage:0.25] flatten];\n        }\n        \n        if ([thirdColor isEqual:fourthColor]) {\n            fourthColor = [[fourthColor darkenByPercentage:0.25] flatten];\n        }\n        \n        if ([firstColor isEqual:thirdColor]) {\n            firstColor = [[firstColor darkenByPercentage:0.25] flatten];\n        }\n        \n        if ([fifthColor isEqual:thirdColor]) {\n            fifthColor = [[fifthColor darkenByPercentage:0.25] flatten];\n        }\n        \n        //Outer Colors\n        \n        if ([firstColor isEqual:secondColor]) {\n            firstColor = [[firstColor darkenByPercentage:0.25] flatten];\n        }\n        \n        \n        if ([fourthColor isEqual:fifthColor]) {\n            fifthColor = [[fifthColor darkenByPercentage:0.25] flatten];\n        }\n        \n    }\n    \n    return @[firstColor, secondColor, thirdColor, fourthColor, fifthColor];\n}\n\n#pragma mark - Helper Methods for Color Schemes\n\n+ (float)add:(float)newValue to:(float)currentValue {\n    \n    currentValue += newValue;\n    \n    //Check if currentValue exceeds 360 degrees\n    if (currentValue > 360) {\n        float offset = currentValue - 360;\n        return offset;\n    }\n\n    else if (currentValue < 0) {\n        return -1 * currentValue;\n    }\n    \n    else {\n        return currentValue;\n    }\n}\n\n+ (UIColor *)colorWithFlatVersionOf:(UIColor *)color {\n    \n    //Create CGFloats to hold our color values\n    CGFloat L, A, B, alpha;\n    \n    //Get LAB values for our color\n    [color getLightness:&L valueForA:&A valueForB:&B alpha:&alpha];\n    \n    //Find the nearest flat color\n    return [self nearestFlatColorForL:L A:A B:B alpha:1.0];\n}\n\n//Array of all our colors\n+ (NSArray *)flatColors {\n    \n    return @[FlatBlack, FlatBlackDark, FlatBlue, FlatBlueDark, FlatBrown, FlatBrownDark, FlatCoffee, FlatCoffeeDark, FlatForestGreen, FlatForestGreenDark, FlatGray, FlatGrayDark, FlatGreen, FlatGreenDark, FlatLime, FlatLimeDark, FlatMagenta, FlatMagentaDark, FlatMaroon, FlatMaroonDark, FlatMint, FlatMintDark, FlatNavyBlue, FlatNavyBlueDark, FlatOrange, FlatOrangeDark, FlatPink, FlatPinkDark, FlatPlum, FlatPlumDark, FlatPowderBlue, FlatPowderBlueDark, FlatPurple, FlatPurpleDark, FlatRed, FlatRedDark, FlatSand, FlatSandDark, FlatSkyBlue, FlatSkyBlueDark, FlatTeal, FlatTealDark, FlatWatermelon, FlatWatermelonDark, FlatWhite, FlatWhiteDark, FlatYellow, FlatYellowDark];\n}\n\n//Calculate the total sum of differences - Euclidian distance\n//Chameleon is now using the CIEDE2000 formula to calculate distances between 2 colors.\n//More info: http://en.wikipedia.org/wiki/Color_difference\n+ (float)totalSumOfDifferencesFroml1:(CGFloat)L1 l2:(CGFloat)L2 a1:(CGFloat)A1\n                                  a2:(CGFloat)A2 b1:(CGFloat)B1 b2:(CGFloat)B2 {\n    \n    //Get C Values in LCH from LAB Values\n    CGFloat C1 = sqrt(pow(A1, 2) + pow(B1, 2));\n    CGFloat C2 = sqrt(pow(A2, 2) + pow(B2, 2));\n    \n    //CIE Weights\n    CGFloat KL = 1;\n    CGFloat KC = 1;\n    CGFloat KH = 1;\n    \n    //Variables specifically set for CIE:2000\n    CGFloat DeltaPrimeL = L2 - L1;\n    CGFloat MeanL = ((L1 + L2) / 2);\n    CGFloat MeanC = ((C1 + C2) / 2);\n    CGFloat A1Prime = A1 + A1 / 2 * (1 - sqrt(pow(MeanC, 7.0) / (pow(MeanC, 7.0) + pow(25.0, 7.0))));\n    CGFloat A2Prime = A2 + A2 / 2 * (1 - sqrt(pow(MeanC, 7.0) / (pow(MeanC, 7.0) + pow(25.0, 7.0))));\n    CGFloat C1Prime = sqrt(pow(A1Prime, 2) + pow(B1, 2));\n    CGFloat C2Prime = sqrt(pow(A2Prime, 2) + pow(B2, 2));\n    CGFloat DeltaPrimeC = C1Prime - C2Prime;\n    CGFloat DeltaC = C1 - C2;\n    CGFloat MeanCPrime = (C1Prime + C2Prime) / 2;\n    CGFloat H1Prime = fmodf(atan2(B1, A1Prime), (360.0 * M_PI/180));\n    CGFloat H2Prime = fmodf(atan2(B2, A2Prime), (360.0 * M_PI/180));\n    \n    //Run everything through our △H' Function\n    CGFloat hDeltaPrime = 0;\n    if (fabs(H1Prime - H2Prime) <= (180.0 * M_PI/180)) {\n        \n        hDeltaPrime = H2Prime - H1Prime;\n        \n    } else if (H2Prime <= H1Prime) {\n        \n        hDeltaPrime = (H2Prime - H1Prime) + ((360.0 * M_PI/180));\n        \n    } else {\n        \n        hDeltaPrime = (H2Prime - H1Prime) - ((360.0 * M_PI/180));\n    }\n    \n    CGFloat deltaHPrime = 2 * (sqrt(C1Prime*C2Prime)) * sin(hDeltaPrime/2);\n    \n    //Get Mean H' Value\n    CGFloat MeanHPrime = 0;\n    if (fabs(H1Prime-H2Prime) > (180.0 * M_PI/180)) {\n        \n        MeanHPrime = (H1Prime + H2Prime + (360.0 * M_PI/180)) / 2;\n        \n    } else {\n        \n        MeanHPrime = (H1Prime + H2Prime) / 2;\n    }\n    \n    CGFloat T =  1 - 0.17 * cos(MeanHPrime - (30.0 * M_PI/180)) + 0.24 * cos(2 * MeanHPrime)+0.32 * cos(3 * MeanHPrime + (6.0 * M_PI/180)) - 0.20 * cos(4 * MeanHPrime - (63.0 * M_PI/180));\n    \n    CGFloat SL = 1 + (0.015 * pow((MeanL - 50), 2))/sqrt(20 + pow((MeanL - 50), 2));\n    CGFloat SC = 1 + 0.045 * MeanCPrime;\n    CGFloat SH = 1 + 0.015 * MeanCPrime * T;\n    \n    CGFloat RT = -2 * sqrt(pow(MeanCPrime, 7) / (pow(MeanCPrime, 7) + pow(25.0, 7))) * sin((60.0 * M_PI/180)* exp(-1 * pow((MeanCPrime - (275.0 * M_PI/180)) / (25.0 * M_PI/180), 2)));\n    \n    \n    //Get total difference\n    CGFloat TotalDifference = sqrt(pow((DeltaPrimeL / (KL * SL)), 2) + pow((DeltaPrimeC / (KC * SC)), 2) + pow((deltaHPrime / (KH * SH)), 2) + RT * (DeltaC / (KC * SC)) * (deltaHPrime / (KH * SH)));\n    \n    return TotalDifference;\n}\n\n+ (UIColor *)nearestFlatColorForL:(CGFloat)l1 A:(CGFloat)a1 B:(CGFloat)b1 alpha:(CGFloat)alpha{\n    \n    //Keep track of our index\n    int index = 0;\n    \n    //Start with a random big number to make sure the first comparison gets saved.\n    float smallestDistance = 1000000;\n    float previousDistance = 1000000;\n    float currentDistance;\n    \n    //Our values\n    CGFloat l2, a2, b2;\n    \n    //We're interested in the color with values returning the smallest sum of total differences so we need to cross reference our input color's values with every flat color's values\n    for (int i=0; i<[[self flatColors] count]; i++ ) {\n        \n        //Check that index is not zero\n        if (i!=0 ) {\n            //Extract LAB values from colors in array and store it as the previous index\n            [[self flatColors][i - 1] getLightness:&l2 valueForA:&a2 valueForB:&b2 alpha:nil];\n            \n            previousDistance = [self totalSumOfDifferencesFroml1:l1 l2:l2\n                                                              a1:a1 a2:a2\n                                                              b1:b1 b2:b2];\n        }\n        \n        //Extract LAB values from colors in array and store it as the current index\n        [[self flatColors][i] getLightness:&l2 valueForA:&a2 valueForB:&b2 alpha:nil];\n        \n        currentDistance = [self totalSumOfDifferencesFroml1:l1 l2:l2\n                                                         a1:a1 a2:a2\n                                                         b1:b1 b2:b2];\n        \n        //We're only interested in the smallest difference\n        if (currentDistance < previousDistance) {\n            if (currentDistance < smallestDistance) {\n                smallestDistance = currentDistance;\n                index = i;\n            }\n        }\n    }\n    \n    \n    //Collect the RGB Values of the color where the smallest difference was found\n    CGFloat red, green, blue;\n    [[self flatColors][index] getRed:&red green:&green blue:&blue alpha:nil];\n    \n    //Return the closest flat color\n    return rgba(red*255, green*255, blue*255, alpha);\n}\n\n@end\n\n@implementation ChameleonCountedColor\n\n- (id)initWithColor:(UIColor *)color count:(NSUInteger)count {\n    \n    if ((self = [super init])) {\n        self.color = color;\n        self.count = count;\n    }\n    \n    return self;\n}\n\n- (NSComparisonResult)compare:(ChameleonCountedColor *)object {\n    \n    if ([object isKindOfClass:[ChameleonCountedColor class]]) {\n        if (self.count < object.count)\n            return NSOrderedDescending;\n        else if (self.count == object.count)\n            return NSOrderedSame;\n    }\n    \n    return NSOrderedAscending;\n}\n\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIAppearance+Swift.h",
    "content": "//\n//  UIAppearance+Swift.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 11/26/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIView (UIViewAppearance_Swift)\n\n// @param containers An array of Class < UIAppearanceContainer >\n// http://stackoverflow.com/a/28765193\n+ (instancetype)appearanceWhenContainedWithin:(NSArray *)containers;\n\n@end"
  },
  {
    "path": "Pod/Classes/Objective-C/UIAppearance+Swift.m",
    "content": "//\n//  UIAppearance+Swift.m\n//  Chameleon\n//\n//  Created by Vicc Alexander on 11/26/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"UIAppearance+Swift.h\"\n\n@implementation UIView (UIViewAppearance_Swift)\n\n+ (instancetype)appearanceWhenContainedWithin: (NSArray *)containers {\n    \n    NSUInteger count = containers.count;\n    NSAssert(count <= 10, @\"The count of containers greater than 10 is not supported.\");\n    \n    return [self appearanceWhenContainedIn:\n            count > 0 ? containers[0] : nil,\n            count > 1 ? containers[1] : nil,\n            count > 2 ? containers[2] : nil,\n            count > 3 ? containers[3] : nil,\n            count > 4 ? containers[4] : nil,\n            count > 5 ? containers[5] : nil,\n            count > 6 ? containers[6] : nil,\n            count > 7 ? containers[7] : nil,\n            count > 8 ? containers[8] : nil,\n            count > 9 ? containers[9] : nil,\n            nil];\n}\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIButton+Chameleon.h",
    "content": "//\n//  UIButton+Chameleon.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 9/20/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIButton (Chameleon)\n\n- (void)setSubstituteFontName:(NSString *)name UI_APPEARANCE_SELECTOR;\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIButton+Chameleon.m",
    "content": "//\n//  UIButton+Chameleon.m\n//  Chameleon\n//\n//  Created by Vicc Alexander on 9/20/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"UIButton+Chameleon.h\"\n\n@implementation UIButton (Chameleon)\n\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n\n- (void)setSubstituteFontName:(NSString *)name UI_APPEARANCE_SELECTOR {\n    \n    self.font = [UIFont fontWithName:name size:self.font.pointSize];\n}\n\n#pragma GCC diagnostic pop\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIColor+Chameleon.h",
    "content": "\n//  UIColor+Chameleon.h\n\n/*\n \n The MIT License (MIT)\n \n Copyright (c) 2014-2015 Vicc Alexander.\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n \n */\n\n#import <UIKit/UIKit.h>\n#import <CoreGraphics/CoreGraphics.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n#pragma mark - Enums\n\n/**\n *  Defines the gradient style and direction of the gradient color.\n *\n *  @since 1.0\n */\ntypedef NS_ENUM (NSUInteger, UIGradientStyle) {\n    /**\n     *  Returns a gradual blend between colors originating at the leftmost point of an object's frame, and ending at the rightmost point of the object's frame.\n     *\n     *  @since 1.0\n     */\n    UIGradientStyleLeftToRight,\n    /**\n     *  Returns a gradual blend between colors originating at the center of an object's frame, and ending at all edges of the object's frame. NOTE: Supports a Maximum of 2 Colors.\n     *\n     *  @since 1.0\n     */\n    UIGradientStyleRadial,\n    /**\n     *  Returns a gradual blend between colors originating at the topmost point of an object's frame, and ending at the bottommost point of the object's frame.\n     *\n     *  @since 1.0\n     */\n    UIGradientStyleTopToBottom,\n    UIGradientStyleDiagonal\n};\n\n/**\n *  Defines the shade of a any flat color.\n *\n *  @since 1.0\n */\ntypedef NS_ENUM (NSInteger, UIShadeStyle) {\n    /**\n     *  Returns the light shade version of a flat color.\n     *\n     *  @since 1.0\n     */\n    UIShadeStyleLight,\n    /**\n     *  Returns the dark shade version of a flat color.\n     *\n     *  @since 1.0\n     */\n    UIShadeStyleDark\n};\n\n\n@interface UIColor (Chameleon)\n\n#pragma mark - Instance Variables\n\n/**\n *  Stores an object's UIColor image if the UIColor was created using colorWithPatternImage.\n *\n *  @since 1.0\n */\n\n@property (nonatomic, strong) UIImage *gradientImage;\n\n#pragma mark - Quick Shorthand Macros\n\n// Quick & Easy Shorthand for RGB x HSB Colors\n// The reason we don't import our Macro file is to prevent naming conflicts.\n#define rgba(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]\n#define rgb(r,g,b) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:1.0]\n#define hsba(h,s,b,a) [UIColor colorWithHue:h/360.0f saturation:s/100.0f brightness:b/100.0f alpha:a]\n#define hsb(h,s,b) [UIColor colorWithHue:h/360.0f saturation:s/100.0f brightness:b/100.0f alpha:1.0]\n\n#pragma mark - Light Shades\n\n#if UIKIT_DEFINE_AS_PROPERTIES\n/**\n *  Returns a flat color object whose HSB values are 0.0, 0.0, 0.17 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatBlackColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.62, 0.50, 0.63 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatBlueColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.07, 0.45, 0.37 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatBrownColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.07, 0.31, 0.64 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatCoffeeColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.38, 0.45, 0.37 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatForestGreenColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.51, 0.10, 0.65 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatGrayColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.40, 0.77, 0.80 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatGreenColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.21, 0.70, 0.78 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatLimeColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.79, 0.51, 0.71 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatMagentaColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.01, 0.65, 0.47 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatMaroonColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.47, 0.86, 0.74 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatMintColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.58, 0.45, 0.37 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatNavyBlueColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.08, 0.85, 0.90 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatOrangeColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.90, 0.49, 0.96 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatPinkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.83, 0.45, 0.37 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatPlumColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.62, 0.24, 0.95 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatPowderBlueColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.70, 0.52, 0.77 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatPurpleColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.02, 0.74, 0.91 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatRedColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.12, 0.25, 0.94 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatSandColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.57, 0.76, 0.86 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatSkyBlueColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.54, 0.55, 0.51 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatTealColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.99, 0.53, 0.94 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatWatermelonColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.53, 0.02, 0.95 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatWhiteColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.13, 0.99, 1.00 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatYellowColor;\n#else\n\n/**\n *  Returns a flat color object whose HSB values are 0.0, 0.0, 0.17 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatBlackColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.62, 0.50, 0.63 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatBlueColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.07, 0.45, 0.37 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatBrownColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.07, 0.31, 0.64 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatCoffeeColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.38, 0.45, 0.37 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatForestGreenColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.51, 0.10, 0.65 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatGrayColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.40, 0.77, 0.80 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatGreenColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.21, 0.70, 0.78 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatLimeColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.79, 0.51, 0.71 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatMagentaColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.01, 0.65, 0.47 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatMaroonColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.47, 0.86, 0.74 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatMintColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.58, 0.45, 0.37 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatNavyBlueColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.08, 0.85, 0.90 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatOrangeColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.90, 0.49, 0.96 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatPinkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.83, 0.45, 0.37 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatPlumColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.62, 0.24, 0.95 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatPowderBlueColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.70, 0.52, 0.77 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatPurpleColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.02, 0.74, 0.91 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatRedColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.12, 0.25, 0.94 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatSandColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.57, 0.76, 0.86 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatSkyBlueColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.54, 0.55, 0.51 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatTealColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.99, 0.53, 0.94 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatWatermelonColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.53, 0.02, 0.95 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatWhiteColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.13, 0.99, 1.00 and whose alpha value is 1.0.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatYellowColor;\n\n#endif\n\n#pragma mark - Dark Shades\n\n#if UIKIT_DEFINE_AS_PROPERTIES\n/**\n *  Returns a flat color object whose HSB values are 0.00, 0.00, 0.15 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatBlackDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.62, 0.56, 0.51 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatBlueDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.07, 0.45, 0.31 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatBrownDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.07, 0.34, 0.56 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatCoffeeDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.38, 0.44, 0.31 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatForestGreenDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.51, 0.10, 0.55 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatGrayDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.40, 0.78, 0.68 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatGreenDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.21, 0.81, 0.69 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatLimeDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.78, 0.61, 0.68 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatMagentaDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.01, 0.68, 0.40 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatMaroonDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.47, 0.86, 0.63 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatMintDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.58, 0.45, 0.31 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatNavyBlueDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.07, 1.00, 0.83 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatOrangeDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.91, 0.57, 0.83 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatPinkDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.83, 0.46, 0.31 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatPlumDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.62, 0.28, 0.84 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatPowderBlueDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.70, 0.56, 0.64 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatPurpleDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.02, 0.78, 0.75 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatRedDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.12, 0.30, 0.84 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatSandDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.57, 0.78, 0.73 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatSkyBlueDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.54, 0.54, 0.45 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatTealDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.99, 0.61, 0.85 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatWatermelonDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.57, 0.05, 0.78 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatWhiteDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.11, 1.00, 1.00 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n@property(class, nonatomic, readonly) UIColor *flatYellowDarkColor;\n#else\n\n/**\n *  Returns a flat color object whose HSB values are 0.00, 0.00, 0.15 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatBlackDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.62, 0.56, 0.51 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatBlueDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.07, 0.45, 0.31 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatBrownDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.07, 0.34, 0.56 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatCoffeeDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.38, 0.44, 0.31 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatForestGreenDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.51, 0.10, 0.55 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatGrayDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.40, 0.78, 0.68 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatGreenDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.21, 0.81, 0.69 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatLimeDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.78, 0.61, 0.68 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatMagentaDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.01, 0.68, 0.40 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatMaroonDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.47, 0.86, 0.63 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatMintDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.58, 0.45, 0.31 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatNavyBlueDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.07, 1.00, 0.83 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatOrangeDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.91, 0.57, 0.83 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatPinkDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.83, 0.46, 0.31 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatPlumDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.62, 0.28, 0.84 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatPowderBlueDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.70, 0.56, 0.64 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatPurpleDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.02, 0.78, 0.75 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatRedDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.12, 0.30, 0.84 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatSandDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.57, 0.78, 0.73 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatSkyBlueDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.54, 0.54, 0.45 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatTealDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.99, 0.61, 0.85 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatWatermelonDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.57, 0.05, 0.78 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatWhiteDarkColor;\n\n/**\n *  Returns a flat color object whose HSB values are 0.11, 1.00, 1.00 and whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n */\n+ (UIColor *)flatYellowDarkColor;\n#endif\n\n#pragma mark - Randomizing Colors\n#if UIKIT_DEFINE_AS_PROPERTIES\n/**\n *  Returns a randomly generated flat color object whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n *\n *  @since 1.0\n */\n\n@property(class, nonatomic, readonly) UIColor *randomFlatColor;\n#else\n/**\n *  Returns a randomly generated flat color object whose alpha value is 1.0.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n *\n *  @since 1.0\n */\n\n+ (UIColor *)randomFlatColor;\n#endif\n\n/**\n *  @author Vicc Alexander\n *\n *  Returns a randomly generated flat color object NOT found in the specified array.\n *\n *  @param colors An array specifying which colors NOT to return.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n *\n *  @since 2.1.0\n */\n+ (UIColor *)colorWithRandomFlatColorExcludingColorsInArray:(NSArray<UIColor *> * _Nonnull)colors;\n\n/**\n *  @author Vicc Alexander\n *\n *  Returns a randomly generated color object found in the specified array.\n *\n *  @param colors An array specifying which colors to return.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n *\n *  @since 2.1.0\n */\n+ (UIColor * _Nullable)colorWithRandomColorInArray:(NSArray<UIColor *> * _Nonnull)colors;\n\n/**\n *  Returns a randomly generated flat color object with an alpha value of 1.0 in either a light or dark shade.\n *\n *  @param shadeStyle Specifies whether the randomly generated flat color should be a light or dark shade.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n *\n *  @since 1.0\n */\n+ (UIColor *)colorWithRandomFlatColorOfShadeStyle:(UIShadeStyle)shadeStyle;\n\n/**\n *  Returns a randomly generated flat color object in either a light or dark shade.\n *\n *  @param shadeStyle Specifies whether the randomly generated flat color should be a light or dark shade.\n *  @param alpha      The opacity.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n *\n *  @since 2.0\n */\n+ (UIColor *)colorWithRandomFlatColorOfShadeStyle:(UIShadeStyle)shadeStyle withAlpha:(CGFloat)alpha;\n\n#pragma mark - Averaging a Color\n\n/**\n *  Returns the average color generated by averaging the colors of a specified image.\n *\n *  @param image A specified @c UIImage.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n *\n *  @since 2.0\n */\n+ (UIColor *)colorWithAverageColorFromImage:(UIImage *)image;\n\n/**\n *  Returns the average color generated by averaging the colors of a specified image.\n *\n *  @param image A specified @c UIImage.\n *  @param alpha The opacity.\n *\n *  @return A flat @c UIColor object in the HSB colorspace.\n *\n *  @since 2.0\n */\n+ (UIColor *)colorWithAverageColorFromImage:(UIImage *)image withAlpha:(CGFloat)alpha;\n\n#pragma mark - Complementary Colors\n\n/**\n *  Creates and returns a complementary flat color object 180 degrees away in the HSB colorspace from the specified color.\n *\n *  @param color The color whose complementary color is being requested.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n *\n *  @since 1.0\n */\n\n+ (UIColor *)colorWithComplementaryFlatColorOf:(UIColor *)color;\n\n/**\n *  Creates and returns a complementary flat color object 180 degrees away in the HSB colorspace from the specified color.\n *\n *  @param color The color whose complementary color is being requested.\n *  @param alpha The opacity.\n *\n *  @return A flat UIColor object in the HSB colorspace.\n *\n *  @since 2.0\n */\n\n+ (UIColor *)colorWithComplementaryFlatColorOf:(UIColor *)color withAlpha:(CGFloat)alpha;\n\n#pragma mark - Contrasting Colors\n\n/**\n *  Creates and returns either a black or white color object depending on which contrasts more with a specified color.\n *\n *  @param backgroundColor The specified color of the contrast color that is being requested.\n *  @param flat Pass YES to return flat color objects.\n *\n *  @return A UIColor object in the HSB colorspace.\n *\n *  @since 1.0\n */\n\n+ (UIColor *)colorWithContrastingBlackOrWhiteColorOn:(UIColor *)backgroundColor isFlat:(BOOL)flat;\n\n/**\n *  Creates and returns either a black or white color object depending on which contrasts more with a specified color.\n *\n *  @param backgroundColor The specified color of the contrast color that is being requested.\n *  @param flat Pass YES to return flat color objects.\n *  @param alpha The opacity.\n *\n *  @return A UIColor object in the HSB colorspace.\n *\n *  @since 2.0\n */\n+ (UIColor *)colorWithContrastingBlackOrWhiteColorOn:(UIColor *)backgroundColor isFlat:(BOOL)flat alpha:(CGFloat)alpha;\n\n#pragma mark - Gradient Colors\n\n/**\n *  Creates and returns a gradient as a color object with an alpha value of 1.0\n *\n *  @param gradientStyle Specifies the style and direction of the gradual blend between colors.\n *  @param frame The frame rectangle, which describes the view’s location and size in its superview’s coordinate system.\n *  @param colors An array of color objects used to create a gradient.\n *\n *  @return A @c UIColor object using colorWithPattern.\n *\n *  @since 2.0\n */\n+ (UIColor *)colorWithGradientStyle:(UIGradientStyle)gradientStyle withFrame:(CGRect)frame andColors:(NSArray<UIColor *> * _Nonnull)colors;\n\n#pragma mark - Colors from Hex Strings\n\n/**\n *  Creates and returns a @c UIColor object based on the specified hex string.\n *\n *  @param string The hex string.\n *\n *  @return A @c UIColor object in the RGB colorspace.\n *\n *\n *  @since 2.0\n */\n+ (UIColor * _Nullable)colorWithHexString:(NSString* _Nonnull)string;\n\n/**\n *  Creates and returns a @c UIColor object based on the specified hex string.\n *\n *  @param string The hex string.\n *  @param alpha  The opacity.\n *\n *  @return A @c UIColor object in the RGB colorspace.\n *\n *\n *  @since 2.0\n */\n+ (UIColor * _Nullable)colorWithHexString:(NSString * _Nonnull)string withAlpha:(CGFloat)alpha;\n\n#pragma mark - Instance Methods\n\n/**\n *  Creates and returns a flat color object closest to the specified color in the LAB colorspace.\n *\n *  @return A flat version of the specified @c UIColor.\n *\n *  @since 2.0\n */\n- (UIColor *)flatten;\n\n/**\n *  Creates and returns a darker shade of a specified color in the HSB space.\n *\n *  @param percentage The value with which to darken a specified color.\n *\n *  @return A @c UIColor object in the HSB space.\n *\n *  @since 2.0\n */\n- (UIColor * _Nullable)darkenByPercentage:(CGFloat)percentage;\n\n/**\n *  @author Vicc Alexander\n *\n *  Returns the hex string value for the specified color.\n *\n *  @return An @NSString object.\n *\n *  @since 2.1.0\n */\n- (NSString *)hexValue;\n\n/**\n *  Creates and returns a lighter shade of a specified color in the HSB space.\n *\n *  @param percentage The value with which to lighten a specified color.\n *\n *  @return A @c UIColor object in the HSB space.\n *\n *  @since 2.0\n */\n- (UIColor * _Nullable)lightenByPercentage:(CGFloat)percentage;\n\n#pragma mark - Deprecated Methods\n\n/**\n *  Creates and returns a flat color object closest to the specified color in the LAB colorspace.\n *\n *  @param color The specified color of the flat color that is being requested.\n *\n *  @return A flat UIColor object in the RGB colorspace.\n *\n *  @since 1.0\n */\n+ (UIColor *)colorWithFlatVersionOf:(UIColor *)color __attribute((deprecated(\" Use -flatten: instead (First deprecated in Chameleon 2.0).\")));\n\n\n@end\n\nNS_ASSUME_NONNULL_END\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIColor+Chameleon.m",
    "content": "\n//  UIColor+Chameleon.m\n\n/*\n \n The MIT License (MIT)\n \n Copyright (c) 2014-2015 Vicc Alexander.\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n \n */\n\n#import \"UIColor+Chameleon.h\"\n#import \"UIColor+ChameleonPrivate.h\"\n#import \"ChameleonMacros.h\"\n#import <objc/runtime.h>\n\n@implementation UIColor (Chameleon)\n\n@dynamic gradientImage;\n\n#pragma mark - Chameleon - Getter & Setter Methods for Instance Variables\n\n+ (void)setGradientImage:(UIImage *)gradientImage {\n    \n    objc_setAssociatedObject(self, @selector(gradientImage), gradientImage, OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n+ (UIImage *)gradientImage {\n    \n    return objc_getAssociatedObject(self, @selector(gradientImage));\n}\n\n#pragma mark - Chameleon - Light Shades\n\n+ (UIColor *)flatBlackColor {\n    return hsb(0, 0, 17);\n}\n\n+ (UIColor *)flatBlueColor {\n    return hsb(224, 50, 63);\n}\n\n+ (UIColor *)flatBrownColor {\n    return hsb(24, 45, 37);\n}\n\n+ (UIColor *)flatCoffeeColor {\n    return hsb(25, 31, 64);\n}\n\n+ (UIColor *)flatForestGreenColor {\n    return hsb(138, 45, 37);\n}\n\n+ (UIColor *)flatGrayColor {\n    return hsb(184, 10, 65);\n}\n\n+ (UIColor *)flatGreenColor {\n    return hsb(145, 77, 80);\n}\n\n+ (UIColor *)flatLimeColor {\n    return hsb(74, 70, 78);\n}\n\n+ (UIColor *)flatMagentaColor {\n    return hsb(283, 51, 71);\n}\n\n+ (UIColor *)flatMaroonColor {\n    return hsb(5, 65, 47);\n}\n\n+ (UIColor *)flatMintColor {\n    return hsb(168, 86, 74);\n}\n\n+ (UIColor *)flatNavyBlueColor {\n    return hsb(210, 45, 37);\n}\n\n+ (UIColor *)flatOrangeColor {\n    return hsb(28, 85, 90);\n}\n\n+ (UIColor *)flatPinkColor {\n    return hsb(324, 49, 96);\n}\n\n+ (UIColor *)flatPlumColor {\n    return hsb(300, 45, 37);\n}\n\n+ (UIColor *)flatPowderBlueColor {\n    return hsb(222, 24, 95);\n}\n\n+ (UIColor *)flatPurpleColor {\n    return hsb(253, 52, 77);\n}\n\n+ (UIColor *)flatRedColor {\n    return hsb(6, 74, 91);\n}\n\n+ (UIColor *)flatSandColor {\n    return hsb(42, 25, 94);\n}\n\n+ (UIColor *)flatSkyBlueColor {\n    return hsb(204, 76, 86);\n}\n\n+ (UIColor *)flatTealColor {\n    return hsb(195, 55, 51);\n}\n\n+ (UIColor *)flatWatermelonColor {\n    return hsb(356, 53, 94);\n}\n\n+ (UIColor *)flatWhiteColor {\n    return hsb(192, 2, 95);\n}\n\n+ (UIColor *)flatYellowColor {\n    return hsb(48, 99, 100);\n}\n\n#pragma mark - Chameleon - Dark Shades\n\n+ (UIColor *)flatBlackDarkColor {\n    return hsb(0, 0, 15);\n}\n\n+ (UIColor *)flatBlueDarkColor {\n    return hsb(224, 56, 51);\n}\n\n+ (UIColor *)flatBrownDarkColor {\n    return hsb(25, 45, 31);\n}\n\n+ (UIColor *)flatCoffeeDarkColor {\n    return hsb(25, 34, 56);\n}\n\n+ (UIColor *)flatForestGreenDarkColor {\n    return hsb(135, 44, 31);\n}\n\n+ (UIColor *)flatGrayDarkColor {\n    return hsb(184, 10, 55);\n}\n\n+ (UIColor *)flatGreenDarkColor {\n    return hsb(145, 78, 68);\n}\n\n+ (UIColor *)flatLimeDarkColor {\n    return hsb(74, 81, 69);\n}\n\n+ (UIColor *)flatMagentaDarkColor {\n    return hsb(282, 61, 68);\n}\n\n+ (UIColor *)flatMaroonDarkColor {\n    return hsb(4, 68, 40);\n}\n\n+ (UIColor *)flatMintDarkColor {\n    return hsb(168, 86, 63);\n}\n\n+ (UIColor *)flatNavyBlueDarkColor {\n    return hsb(210, 45, 31);\n}\n\n+ (UIColor *)flatOrangeDarkColor {\n    return hsb(24, 100, 83);\n}\n\n+ (UIColor *)flatPinkDarkColor {\n    return hsb(327, 57, 83);\n}\n\n+ (UIColor *)flatPlumDarkColor {\n    return hsb(300, 46, 31);\n}\n\n+ (UIColor *)flatPowderBlueDarkColor {\n    return hsb(222, 28, 84);\n}\n\n+ (UIColor *)flatPurpleDarkColor {\n    return hsb(253, 56, 64);\n}\n\n+ (UIColor *)flatRedDarkColor {\n    return hsb(6, 78, 75);\n}\n\n+ (UIColor *)flatSandDarkColor {\n    return hsb(42, 30, 84);\n}\n\n+ (UIColor *)flatSkyBlueDarkColor {\n    return hsb(204, 78, 73);\n}\n\n+ (UIColor *)flatTealDarkColor {\n    return hsb(196, 54, 45);\n}\n\n+ (UIColor *)flatWatermelonDarkColor {\n    return hsb(358, 61, 85);\n}\n\n+ (UIColor *)flatWhiteDarkColor {\n    return hsb(204, 5, 78);\n}\n\n+ (UIColor *)flatYellowDarkColor {\n    return hsb(40, 100, 100);\n}\n\n#pragma mark - Chameleon - \"Color With\" Methods\n\n+ (UIColor *)colorWithAverageColorFromImage:(UIImage *)image {\n    \n    return [self colorWithAverageColorFromImage:image withAlpha:1.0];\n}\n\n+ (UIColor *)colorWithAverageColorFromImage:(UIImage *)image withAlpha:(CGFloat)alpha {\n    \n    //Work within the RGB colorspoace\n    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();\n    unsigned char rgba[4];\n    CGContextRef context = CGBitmapContextCreate(rgba, 1, 1, 8, 4, colorSpace, kCGImageAlphaPremultipliedLast | kCGBitmapByteOrder32Big);\n    \n    //Draw our image down to 1x1 pixels\n    CGContextDrawImage(context, CGRectMake(0, 0, 1, 1), image.CGImage);\n    CGColorSpaceRelease(colorSpace);\n    CGContextRelease(context);\n    \n    //Check if image alpha is 0\n    if (rgba[3] == 0) {\n        \n        CGFloat imageAlpha = ((CGFloat)rgba[3])/255.0;\n        CGFloat multiplier = imageAlpha/255.0;\n        \n        UIColor *averageColor = [UIColor colorWithRed:((CGFloat)rgba[0])*multiplier green:((CGFloat)rgba[1])*multiplier blue:((CGFloat)rgba[2])*multiplier alpha:imageAlpha];\n        \n        //Improve color\n        averageColor = [averageColor colorWithMinimumSaturation:0.15];\n        \n        //Return average color\n        return averageColor;\n    }\n    \n    else {\n        \n        //Get average\n        UIColor *averageColor = [UIColor colorWithRed:((CGFloat)rgba[0])/255.0 green:((CGFloat)rgba[1])/255.0 blue:((CGFloat)rgba[2])/255.0 alpha:alpha];\n        \n        //Improve color\n        averageColor = [averageColor colorWithMinimumSaturation:0.15];\n        \n        //Return average color\n        return averageColor;\n    }\n}\n\n+ (UIColor *)colorWithComplementaryFlatColorOf:(UIColor *)color {\n    \n    return [[self class] colorWithComplementaryFlatColorOf:color withAlpha:1.0];\n}\n\n+ (UIColor *)colorWithComplementaryFlatColorOf:(UIColor *)color withAlpha:(CGFloat)alpha {\n    \n    //Check if input UIColor is a gradient aka a pattern\n    if (CGColorGetPattern(color.CGColor)) {\n        \n        //Let's find the average color of the image and contrast against that.\n        CGSize size = {1, 1};\n        \n        //Create a 1x1 bitmap context\n        UIGraphicsBeginImageContext(size);\n        CGContextRef ctx = UIGraphicsGetCurrentContext();\n        \n        //Set the interpolation quality to medium\n        CGContextSetInterpolationQuality(ctx, kCGInterpolationMedium);\n        \n        //Draw image scaled down to this 1x1 pixel\n        [[self gradientImage] drawInRect:(CGRect){.size = size} blendMode:kCGBlendModeCopy alpha:1];\n        \n        //Read the RGB values from the context's buffer\n        uint8_t *data = CGBitmapContextGetData(ctx);\n        color = [UIColor colorWithRed:data[2] / 255.0f\n                                green:data[1] / 255.0f\n                                 blue:data[0] / 255.0f\n                                alpha:1];\n        UIGraphicsEndImageContext();\n    }\n    \n    //Extract & Check to make sure we have an actual color to work with (Clear returns clear)\n    CGFloat hue, saturation, brightness, alpha1;\n    [color getHue:&hue saturation:&saturation brightness:&brightness alpha:&alpha1];\n    \n    //Check if color is transparent\n    if (alpha1 == 0) {\n        return [UIColor clearColor];\n    }\n    \n    //Multiply our value by their max values to convert\n    hue *= 360;\n    saturation *= 100;\n    brightness *= 100;\n    \n    //Select a color with a hue 180 degrees away on the colorwheel (i.e. for 50 it would be 230).\n    hue += 180.0f;\n    if (hue > 360.f) {\n        hue -= 360.0f;\n    }\n    \n    //Round to the nearest whole number after multiplying\n    hue = roundf(hue);\n    saturation = roundf(saturation);\n    brightness = roundf(brightness);\n    \n    //Store complimentary nonflat color\n    UIColor *complimentaryNonFlatColor = [UIColor colorWithHue:hue/360.0\n                                                    saturation:saturation/100.0\n                                                    brightness:brightness/100.0\n                                                         alpha:alpha];\n    \n    //Retrieve LAB values from our complimentary nonflat color & return nearest flat color\n    return [self colorWithFlatVersionOf:complimentaryNonFlatColor withAlpha:alpha];\n}\n\n\n+ (UIColor *)colorWithFlatVersionOf:(UIColor *)color {\n    \n    //Return flat version with default alpha of 1.0\n    return [[self class] colorWithFlatVersionOf:color withAlpha:1.0];\n}\n\n+ (UIColor *)colorWithFlatVersionFrom:(UIColor *)color {\n    CGFloat colorAlpha = 0;\n    [color getLightness:nil valueForA:nil valueForB:nil alpha:&colorAlpha];\n    colorAlpha = colorAlpha > 0.0 ? colorAlpha : 1.0;\n    //Return flat version with default alpha of 1.0\n    return [[self class] colorWithFlatVersionOf:color withAlpha:colorAlpha];\n}\n\n+ (UIColor * _Nullable)colorWithFlatVersionOf:(UIColor *)color withAlpha:(CGFloat)alpha {\n    \n    //Check if input UIColor is a gradient aka a pattern\n    if (CGColorGetPattern(color.CGColor)) {\n        \n        //Let's find the average color of the image and contrast against that.\n        CGSize size = {1, 1};\n        \n        //Create a 1x1 bitmap context\n        UIGraphicsBeginImageContext(size);\n        CGContextRef ctx = UIGraphicsGetCurrentContext();\n        \n        //Set the interpolation quality to medium\n        CGContextSetInterpolationQuality(ctx, kCGInterpolationMedium);\n        \n        //Draw image scaled down to this 1x1 pixel\n        [[self gradientImage] drawInRect:(CGRect){.size = size} blendMode:kCGBlendModeCopy alpha:1];\n        \n        //Read the RGB values from the context's buffer\n        uint8_t *data = CGBitmapContextGetData(ctx);\n        color = [UIColor colorWithRed:data[2] / 255.0f\n                                green:data[1] / 255.0f\n                                 blue:data[0] / 255.0f\n                                alpha:1];\n        UIGraphicsEndImageContext();\n    }\n    \n    //Create CGFloats to hold our color values\n    CGFloat L, A, B, alpha1;\n    \n    //Get LAB values for our color\n    [color getLightness:&L valueForA:&A valueForB:&B alpha:&alpha1];\n    \n    if (![color getLightness:&L valueForA:&A valueForB:&B alpha:&alpha1]) {\n        return nil;\n    }\n    \n    //Find the nearest flat color\n    return [self nearestFlatColorForL:L A:A B:B alpha:alpha];\n}\n\n+ (UIColor *)colorWithContrastingBlackOrWhiteColorOn:(UIColor *)backgroundColor isFlat:(BOOL)flat {\n    \n    //Return color with default alpha value of 1.0\n    return [[self class] colorWithContrastingBlackOrWhiteColorOn:backgroundColor isFlat:flat alpha:1.0];\n}\n\n+ (UIColor *)colorWithContrastingBlackOrWhiteColorOn:(UIColor *)backgroundColor\n                                              isFlat:(BOOL)flat\n                                               alpha:(CGFloat)alpha {\n    \n    //Check if UIColor is a gradient aka a pattern\n    if (CGColorGetPattern(backgroundColor.CGColor)) {\n        \n        //Let's find the average color of the image and contrast against that.\n        CGSize size = {1, 1};\n        \n        //Create a 1x1 bitmap context\n        UIGraphicsBeginImageContext(size);\n        CGContextRef ctx = UIGraphicsGetCurrentContext();\n        \n        //Set the interpolation quality to medium\n        CGContextSetInterpolationQuality(ctx, kCGInterpolationMedium);\n        \n        //Draw image scaled down to this 1x1 pixel\n        [[self gradientImage] drawInRect:(CGRect){.size = size} blendMode:kCGBlendModeCopy alpha:1];\n        \n        //Read the RGB values from the context's buffer\n        uint8_t *data = CGBitmapContextGetData(ctx);\n        backgroundColor = [UIColor colorWithRed:data[2] / 255.0f\n                                          green:data[1] / 255.0f\n                                           blue:data[0] / 255.0f\n                                          alpha:1];\n        UIGraphicsEndImageContext();\n    }\n    \n    //Calculate Luminance\n    CGFloat luminance;\n    CGFloat red = 0.0, green = 0.0, blue = 0.0, alpha1 = 0.0;\n    [backgroundColor getRed:&red green:&green blue:&blue alpha:&alpha1];\n    \n    //Check if color is transparent\n    if (alpha == 0) {\n        return [UIColor clearColor];\n    }\n    \n    // Relative luminance in colorimetric spaces - http://en.wikipedia.org/wiki/Luminance_(relative)\n    red *= 0.2126f; green *= 0.7152f; blue *= 0.0722f;\n    luminance = red + green + blue;\n    \n    if (flat == NO) {\n        return (luminance > 0.6f) ? rgba(0, 0, 0, alpha) : rgba(255, 255, 255, alpha);\n    } else {\n        return (luminance > 0.6f) ? hsba(0, 0, 15, alpha) : hsba(192, 2, 95, alpha);\n    }\n}\n\n+ (UIColor *)colorWithGradientStyle:(UIGradientStyle)gradientStyle withFrame:(CGRect)frame andColors:(NSArray<UIColor *> * _Nonnull)colors; {\n    \n    //Create our background gradient layer\n    CAGradientLayer *backgroundGradientLayer = [CAGradientLayer layer];\n    \n    //Set the frame to our object's bounds\n    backgroundGradientLayer.frame = frame;\n    \n    //To simplfy formatting, we'll iterate through our colors array and create a mutable array with their CG counterparts\n    NSMutableArray *cgColors = [[NSMutableArray alloc] init];\n    for (UIColor *color in colors) {\n        [cgColors addObject:(id)[color CGColor]];\n    }\n    \n    switch (gradientStyle) {\n        case UIGradientStyleLeftToRight: {\n            \n            //Set out gradient's colors\n            backgroundGradientLayer.colors = cgColors;\n            \n            //Specify the direction our gradient will take\n            [backgroundGradientLayer setStartPoint:CGPointMake(0.0, 0.5)];\n            [backgroundGradientLayer setEndPoint:CGPointMake(1.0, 0.5)];\n            \n            //Convert our CALayer to a UIImage object\n            UIGraphicsBeginImageContextWithOptions(backgroundGradientLayer.bounds.size,NO, [UIScreen mainScreen].scale);\n            [backgroundGradientLayer renderInContext:UIGraphicsGetCurrentContext()];\n            UIImage *backgroundColorImage = UIGraphicsGetImageFromCurrentImageContext();\n            UIGraphicsEndImageContext();\n        \n            [self setGradientImage:backgroundColorImage];\n            return [UIColor colorWithPatternImage:backgroundColorImage];\n        }\n            \n        case UIGradientStyleRadial: {\n            UIGraphicsBeginImageContextWithOptions(frame.size,NO, [UIScreen mainScreen].scale);\n            \n            //Specific the spread of the gradient (For now this gradient only takes 2 locations)\n            CGFloat locations[2] = {0.0, 1.0};\n\n            //Default to the RGB Colorspace\n            CGColorSpaceRef myColorspace = CGColorSpaceCreateDeviceRGB();\n            CFArrayRef arrayRef = (__bridge CFArrayRef)cgColors;\n            \n            //Create our Fradient\n            CGGradientRef myGradient = CGGradientCreateWithColors(myColorspace, arrayRef, locations);\n            \n \n            // Normalise the 0-1 ranged inputs to the width of the image\n            CGPoint myCentrePoint = CGPointMake(0.5 * frame.size.width, 0.5 * frame.size.height);\n            float myRadius = MIN(frame.size.width, frame.size.height) * 0.5;\n            \n            // Draw our Gradient\n            CGContextDrawRadialGradient (UIGraphicsGetCurrentContext(), myGradient, myCentrePoint,\n                                         0, myCentrePoint, myRadius,\n                                         kCGGradientDrawsAfterEndLocation);\n            \n            // Grab it as an Image\n            UIImage *backgroundColorImage = UIGraphicsGetImageFromCurrentImageContext();\n            \n            // Clean up\n            CGColorSpaceRelease(myColorspace); // Necessary?\n            CGGradientRelease(myGradient); // Necessary?\n            UIGraphicsEndImageContext();\n            \n            [self setGradientImage:backgroundColorImage];\n            return [UIColor colorWithPatternImage:backgroundColorImage];\n        }\n            \n        case UIGradientStyleDiagonal: {\n            \n            //Set out gradient's colors\n            backgroundGradientLayer.colors = cgColors;\n            \n            //Specify the direction our gradient will take\n            [backgroundGradientLayer setStartPoint:CGPointMake(0.0, 1.0)];\n            [backgroundGradientLayer setEndPoint:CGPointMake(1.0, 0.0)];\n            \n            //Convert our CALayer to a UIImage object\n            UIGraphicsBeginImageContextWithOptions(backgroundGradientLayer.bounds.size,NO, [UIScreen mainScreen].scale);\n            [backgroundGradientLayer renderInContext:UIGraphicsGetCurrentContext()];\n            UIImage *backgroundColorImage = UIGraphicsGetImageFromCurrentImageContext();\n            UIGraphicsEndImageContext();\n            \n            [self setGradientImage:backgroundColorImage];\n            return [UIColor colorWithPatternImage:backgroundColorImage];\n        }\n\n        case UIGradientStyleTopToBottom:\n        default: {\n            \n            //Set out gradient's colors\n            backgroundGradientLayer.colors = cgColors;\n            \n            //Convert our CALayer to a UIImage object\n            UIGraphicsBeginImageContextWithOptions(backgroundGradientLayer.bounds.size,NO, [UIScreen mainScreen].scale);\n            [backgroundGradientLayer renderInContext:UIGraphicsGetCurrentContext()];\n            UIImage *backgroundColorImage = UIGraphicsGetImageFromCurrentImageContext();\n            UIGraphicsEndImageContext();\n            \n            [self setGradientImage:backgroundColorImage];\n            return [UIColor colorWithPatternImage:backgroundColorImage];\n        }\n            \n    }\n}\n\n+ (UIColor * _Nullable)colorWithHexString:(NSString * _Nonnull)string {\n    \n    //Color with string and a defualt alpha value of 1.0\n    return [self colorWithHexString:string withAlpha:1.0];\n}\n\n+ (UIColor * _Nullable)colorWithHexString:(NSString * _Nonnull)string withAlpha:(CGFloat)alpha {\n \n    //Quick return in case string is empty\n    if (string.length == 0) {\n        return nil;\n    }\n    \n    //Check to see if we need to add a hashtag\n    if('#' != [string characterAtIndex:0]) {\n        string = [NSString stringWithFormat:@\"#%@\", string];\n    }\n    \n    //Make sure we have a working string length\n    if (string.length != 7 && string.length != 4) {\n        \n        #ifdef DEBUG\n        NSLog(@\"Unsupported string format: %@\", string);\n        #endif\n        \n        return nil;\n    }\n    \n    //Check for short hex strings\n    if(string.length == 4) {\n        \n        //Convert to full length hex string\n        string = [NSString stringWithFormat:@\"#%@%@%@%@%@%@\",\n                     [string substringWithRange:NSMakeRange(1, 1)],[string substringWithRange:NSMakeRange(1, 1)],\n                     [string substringWithRange:NSMakeRange(2, 1)],[string substringWithRange:NSMakeRange(2, 1)],\n                     [string substringWithRange:NSMakeRange(3, 1)],[string substringWithRange:NSMakeRange(3, 1)]];\n    }\n    \n    NSString *redHex = [NSString stringWithFormat:@\"0x%@\", [string substringWithRange:NSMakeRange(1, 2)]];\n    unsigned red = [[self class] hexValueToUnsigned:redHex];\n    \n    NSString *greenHex = [NSString stringWithFormat:@\"0x%@\", [string substringWithRange:NSMakeRange(3, 2)]];\n    unsigned green = [[self class] hexValueToUnsigned:greenHex];\n    \n    NSString *blueHex = [NSString stringWithFormat:@\"0x%@\", [string substringWithRange:NSMakeRange(5, 2)]];\n    unsigned blue = [[self class] hexValueToUnsigned:blueHex];\n    \n    return [UIColor colorWithRed:(float)red/255 green:(float)green/255 blue:(float)blue/255 alpha:alpha];\n}\n\n+ (unsigned)hexValueToUnsigned:(NSString *)hexValue {\n    \n    //Define default unsigned value\n    unsigned value = 0;\n    \n    //Scan unsigned value\n    NSScanner *hexValueScanner = [NSScanner scannerWithString:hexValue];\n    [hexValueScanner scanHexInt:&value];\n    \n    //Return found value\n    return value;\n}\n\n#pragma mark - Chameleon - Random Color Methods\n\n+ (NSInteger)generateRandomNumberWithMax:(NSInteger)max {\n    \n    //Choose a random number between 0 and our number of available colors\n    return arc4random_uniform((UInt32)max);\n}\n\n+ (UIColor *)randomFlatColor {\n    \n    //Number of colors to choose from\n    const uint32_t numberOfPossibleColors = 48;\n    \n    //Chose one of those colors at random\n    NSInteger randomColorChosen = [[self class] generateRandomNumberWithMax:numberOfPossibleColors];\n    \n    //Check if a previous random number exists\n    if (![[NSUserDefaults standardUserDefaults] integerForKey:@\"previousRandomNumber\"]) {\n        \n        //If no previous number exists, save it as such and find the matching color\n        [[NSUserDefaults standardUserDefaults] setInteger:randomColorChosen forKey:@\"previousRandomNumber\"];\n        [[NSUserDefaults standardUserDefaults] synchronize];\n        \n    } else {\n        \n        //Keep generating a random number until it is different than the one generated last time\n        while (randomColorChosen == [[NSUserDefaults standardUserDefaults] integerForKey:@\"previousRandomNumber\"]) {\n            randomColorChosen = [[self class] generateRandomNumberWithMax:numberOfPossibleColors];\n        }\n        \n        //Once a new number has been generated then store it as the previous number for next time and proceed\n        [[NSUserDefaults standardUserDefaults] setInteger:randomColorChosen forKey:@\"previousRandomNumber\"];\n        [[NSUserDefaults standardUserDefaults] synchronize];\n    }\n    \n    return [self flatColors][randomColorChosen];\n}\n\n+ (UIColor * _Nullable)colorWithRandomColorInArray:(NSArray<UIColor *> *)colors {\n    \n    UIColor *randomColor;\n    if (colors.count) {\n        \n        //Pick a random index\n        NSInteger randomIndex = arc4random() % colors.count;\n        \n        //Return the color at the random index\n        randomColor = colors[randomIndex];\n        \n    } else {\n        return nil;\n    }\n    \n    NSAssert([randomColor isKindOfClass:[UIColor class]], @\"Hmm... one of your objects in your 'colors' array is not a UIColor object.\");\n    \n    //Return\n    return randomColor;\n}\n\n+ (UIColor *)colorWithRandomFlatColorExcludingColorsInArray:(NSArray<UIColor *> *)colors {\n    \n    //Set random flat color\n    UIColor *randomColor = [[self class] randomFlatColor];\n    \n    //If the selected color is blacklisted select a new color\n    while ([colors containsObject:randomColor]) {\n        randomColor = [[self class] randomFlatColor];\n    }\n    \n    //Return\n    return randomColor;\n}\n\n+ (UIColor *)colorWithRandomFlatColorOfShadeStyle:(UIShadeStyle)shadeStyle {\n    \n    //Return color with default alpha value of 1.0\n    return [[self class] colorWithRandomFlatColorOfShadeStyle:shadeStyle withAlpha:1.0];\n}\n\n+ (UIColor *)colorWithRandomFlatColorOfShadeStyle:(UIShadeStyle)shadeStyle withAlpha:(CGFloat)alpha {\n    \n    //Number of colors to choose from\n    const NSInteger numberOfPossibleColors = 24;\n    \n    //Chose one of those colors at random\n    NSInteger randomColorChosen = [[self class] generateRandomNumberWithMax:numberOfPossibleColors];\n    \n    //Check if a previous random number exists\n    if (![[NSUserDefaults standardUserDefaults] integerForKey:@\"previousRandomNumber\"]) {\n        \n        //If no previous number exists, save it as such and find the matching color\n        [[NSUserDefaults standardUserDefaults] setInteger:randomColorChosen forKey:@\"previousRandomNumber\"];\n        [[NSUserDefaults standardUserDefaults] synchronize];\n        \n    } else {\n        \n        //Keep generating a random number until it is different than the one generated last time\n        while (randomColorChosen == [[NSUserDefaults standardUserDefaults] integerForKey:@\"previousRandomNumber\"]) {\n            randomColorChosen = [[self class] generateRandomNumberWithMax:numberOfPossibleColors];\n        }\n        \n        //Once a new number has been generated then store it as the previous number for next time and proceed\n        [[NSUserDefaults standardUserDefaults] setInteger:randomColorChosen forKey:@\"previousRandomNumber\"];\n        [[NSUserDefaults standardUserDefaults] synchronize];\n    }\n    \n    //Assign a random color based on randomColorChosen\n    UIColor *randomColor;\n    \n    //Return a color depending on the specified shade\n    switch (shadeStyle) {\n        case UIShadeStyleDark: {\n            \n            NSArray *darkColors = @[FlatBlackDark, FlatBlueDark, FlatBrownDark, FlatCoffeeDark, FlatForestGreenDark, FlatGrayDark, FlatGreenDark, FlatLimeDark, FlatMagentaDark, FlatMaroonDark, FlatMintDark, FlatNavyBlueDark, FlatOrangeDark, FlatPinkDark, FlatPlumDark, FlatPowderBlueDark, FlatPurpleDark, FlatRedDark, FlatSandDark, FlatSkyBlueDark, FlatTealDark, FlatWatermelonDark, FlatWhiteDark, FlatYellowDark];\n            \n            randomColor = darkColors[randomColorChosen];\n            break;\n        }\n            \n        case UIShadeStyleLight:\n        default: {\n        \n            NSArray *lightColors = @[FlatBlack, FlatBlue, FlatBrown, FlatCoffee, FlatForestGreen, FlatGray, FlatGreen, FlatLime, FlatMagenta, FlatMaroon, FlatMint, FlatNavyBlue, FlatOrange, FlatPink, FlatPlum, FlatPowderBlue, FlatPurple, FlatRed, FlatSand, FlatSkyBlue, FlatTeal, FlatWatermelon, FlatWhite, FlatYellow];\n            \n            randomColor = lightColors[randomColorChosen];\n            break;\n        }\n    }\n    \n    //Return color with correct alpha value\n    randomColor = [randomColor colorWithAlphaComponent:alpha];\n    \n    return randomColor;\n}\n\n#pragma mark - Chameleon Instance Methods\n\n- (UIColor *)flatten {\n    \n    return [UIColor colorWithFlatVersionFrom:self];\n}\n\n- (NSString *)hexValue {\n    \n    UIColor *currentColor = self;\n    if (CGColorGetNumberOfComponents(self.CGColor) < 4) {\n        const CGFloat *components = CGColorGetComponents(self.CGColor);\n        currentColor = [UIColor colorWithRed:components[0] green:components[0] blue:components[0] alpha:components[1]];\n    }\n    \n    if (CGColorSpaceGetModel(CGColorGetColorSpace(currentColor.CGColor)) != kCGColorSpaceModelRGB) {\n        return [NSString stringWithFormat:@\"#FFFFFF\"];\n    }\n    \n    return [NSString stringWithFormat:@\"#%02X%02X%02X\", (int)((CGColorGetComponents(currentColor.CGColor))[0]*255.0), (int)((CGColorGetComponents(currentColor.CGColor))[1]*255.0), (int)((CGColorGetComponents(currentColor.CGColor))[2]*255.0)];\n    \n}\n\n- (UIColor * _Nullable)darkenByPercentage:(CGFloat)percentage {\n    \n    //Define HSBA values\n    CGFloat h, s, b, a;\n    \n    //Check if HSBA values exist\n    if ([self getHue:&h saturation:&s brightness:&b alpha:&a]) {\n        \n        //Make sure our percentage is greater than 0\n        if (percentage > 0) {\n            b = MIN(b - percentage, 1.0);\n        }\n        \n        //Return darker color\n        return [UIColor colorWithHue:h saturation:s brightness:b alpha:a];\n    }\n    \n    return nil;\n}\n\n- (UIColor * _Nullable)lightenByPercentage:(CGFloat)percentage {\n    \n    //Define HSBA values\n    CGFloat h, s, b, a;\n    \n    //Check if HSBA values exist\n    if ([self getHue:&h saturation:&s brightness:&b alpha:&a]) {\n        \n        //Make sure our percentage is greater than 0\n        if (percentage > 0) {\n           b = MIN(b + percentage, 1.0);\n        }\n        \n        //Return lighter color\n        return [UIColor colorWithHue:h saturation:s brightness:b alpha:a];\n    }\n    \n    return nil;\n}\n\n- (UIColor * _Nullable)desaturateByPercentage:(CGFloat)percentage {\n    \n    //Define HSBA values\n    CGFloat h, s, b, a;\n    \n    //Check if HSBA values exist\n    if ([self getHue:&h saturation:&s brightness:&b alpha:&a]) {\n        \n        //Make sure our percentage is greater than 0\n        if (percentage > 0) {\n            s = MIN(s - percentage, 1.0);\n        }\n        \n        //Return darker color\n        return [UIColor colorWithHue:h saturation:s brightness:b alpha:a];\n    }\n    \n    return nil;\n}\n\n- (UIColor * _Nullable)saturateByPercentage:(CGFloat)percentage {\n    \n    //Define HSBA values\n    CGFloat h, s, b, a;\n    \n    //Check if HSBA values exist\n    if ([self getHue:&h saturation:&s brightness:&b alpha:&a]) {\n        \n        //Make sure our percentage is greater than 0\n        if (percentage > 0) {\n           s = MIN(s + percentage, 1.0);\n        }\n        \n        //Return lighter color\n        return [UIColor colorWithHue:h saturation:s brightness:b alpha:a];\n    }\n    \n    return nil;\n}\n\n- (BOOL)isEqualToColor:(UIColor *)color {\n    \n    //Check if both colors are in the Monochrome / RGB color space\n    if ([self isMonochromeOrRGB] && [color isMonochromeOrRGB]) {\n        \n        //Return comparison\n        return self.RGBAValue == color.RGBAValue;\n    }\n    \n    //Return comparison\n    return [self isEqual:color];\n}\n\n#pragma mark - Chameleon Internal Methods\n\n//Array of all our colors\n+ (NSArray *)flatColors {\n    \n    return @[FlatBlack, FlatBlackDark, FlatBlue, FlatBlueDark, FlatBrown, FlatBrownDark, FlatCoffee, FlatCoffeeDark, FlatForestGreen, FlatForestGreenDark, FlatGray, FlatGrayDark, FlatGreen, FlatGreenDark, FlatLime, FlatLimeDark, FlatMagenta, FlatMagentaDark, FlatMaroon, FlatMaroonDark, FlatMint, FlatMintDark, FlatNavyBlue, FlatNavyBlueDark, FlatOrange, FlatOrangeDark, FlatPink, FlatPinkDark, FlatPlum, FlatPlumDark, FlatPowderBlue, FlatPowderBlueDark, FlatPurple, FlatPurpleDark, FlatRed, FlatRedDark, FlatSand, FlatSandDark, FlatSkyBlue, FlatSkyBlueDark, FlatTeal, FlatTealDark, FlatWatermelon, FlatWatermelonDark, FlatWhite, FlatWhiteDark, FlatYellow, FlatYellowDark];\n}\n\n- (uint32_t)RGBAValue {\n    \n    CGFloat rgba[4];\n    [self getRGBAComponents:rgba];\n    uint8_t red = rgba[0]*255;\n    uint8_t green = rgba[1]*255;\n    uint8_t blue = rgba[2]*255;\n    uint8_t alpha = rgba[3]*255;\n    \n    return (red << 24) + (green << 16) + (blue << 8) + alpha;\n}\n\n- (void)getRGBAComponents:(CGFloat[4])rgba {\n    \n    CGColorSpaceModel model = CGColorSpaceGetModel(CGColorGetColorSpace(self.CGColor));\n    const CGFloat *components = CGColorGetComponents(self.CGColor);\n    switch (model) {\n            \n        case kCGColorSpaceModelMonochrome: {\n            rgba[0] = components[0];\n            rgba[1] = components[0];\n            rgba[2] = components[0];\n            rgba[3] = components[1];\n            break;\n        }\n            \n        case kCGColorSpaceModelRGB: {\n            rgba[0] = components[0];\n            rgba[1] = components[1];\n            rgba[2] = components[2];\n            rgba[3] = components[3];\n            break;\n        }\n            \n        case kCGColorSpaceModelCMYK:\n        case kCGColorSpaceModelDeviceN:\n        case kCGColorSpaceModelIndexed:\n        case kCGColorSpaceModelLab:\n        case kCGColorSpaceModelPattern:\n        case kCGColorSpaceModelUnknown: {\n            \n            #ifdef DEBUG\n            NSLog(@\"Unsupported color model: %i\", model);\n            #endif\n            \n            rgba[0] = 0.0f;\n            rgba[1] = 0.0f;\n            rgba[2] = 0.0f;\n            rgba[3] = 1.0f;\n            break;\n        }\n    }\n}\n\n//Check if color is in the monochrome or rgb color space\n- (BOOL)isMonochromeOrRGB {\n    \n    CGColorSpaceModel model = CGColorSpaceGetModel(CGColorGetColorSpace(self.CGColor));\n    return model == kCGColorSpaceModelMonochrome || model == kCGColorSpaceModelRGB;\n}\n\n//Calculate the total sum of differences - Euclidian distance\n//Chameleon is now using the CIEDE2000 formula to calculate distances between 2 colors.\n//More info: http://en.wikipedia.org/wiki/Color_difference\n+ (float)totalSumOfDifferencesFroml1:(CGFloat)L1 l2:(CGFloat)L2 a1:(CGFloat)A1\n                                  a2:(CGFloat)A2 b1:(CGFloat)B1 b2:(CGFloat)B2 {\n\n    //Get C Values in LCH from LAB Values\n    CGFloat C1 = sqrt(pow(A1, 2) + pow(B1, 2));\n    CGFloat C2 = sqrt(pow(A2, 2) + pow(B2, 2));\n    \n    //CIE Weights\n    CGFloat KL = 1;\n    CGFloat KC = 1;\n    CGFloat KH = 1;\n    \n    //Variables specifically set for CIE:2000\n    CGFloat DeltaPrimeL = L2 - L1;\n    CGFloat MeanL = ((L1 + L2) / 2);\n    CGFloat MeanC = ((C1 + C2) / 2);\n    CGFloat A1Prime = A1 + A1 / 2 * (1 - sqrt(pow(MeanC, 7.0) / (pow(MeanC, 7.0) + pow(25.0, 7.0))));\n    CGFloat A2Prime = A2 + A2 / 2 * (1 - sqrt(pow(MeanC, 7.0) / (pow(MeanC, 7.0) + pow(25.0, 7.0))));\n    CGFloat C1Prime = sqrt(pow(A1Prime, 2) + pow(B1, 2));\n    CGFloat C2Prime = sqrt(pow(A2Prime, 2) + pow(B2, 2));\n    CGFloat DeltaPrimeC = C1Prime - C2Prime;\n    CGFloat DeltaC = C1 - C2;\n    CGFloat MeanCPrime = (C1Prime + C2Prime) / 2;\n    CGFloat H1Prime = fmodf(atan2(B1, A1Prime), (360.0 * M_PI/180));\n    CGFloat H2Prime = fmodf(atan2(B2, A2Prime), (360.0 * M_PI/180));\n    \n    //Run everything through our △H' Function\n    CGFloat hDeltaPrime = 0;\n    if (fabs(H1Prime - H2Prime) <= (180.0 * M_PI/180)) {\n        \n        hDeltaPrime = H2Prime - H1Prime;\n        \n    } else if (H2Prime <= H1Prime) {\n        \n        hDeltaPrime = (H2Prime - H1Prime) + ((360.0 * M_PI/180));\n        \n    } else {\n        \n        hDeltaPrime = (H2Prime - H1Prime) - ((360.0 * M_PI/180));\n    }\n    \n    CGFloat deltaHPrime = 2 * (sqrt(C1Prime*C2Prime)) * sin(hDeltaPrime/2);\n    \n    //Get Mean H' Value\n    CGFloat MeanHPrime = 0;\n    if (fabs(H1Prime-H2Prime) > (180.0 * M_PI/180)) {\n        \n        MeanHPrime = (H1Prime + H2Prime + (360.0 * M_PI/180)) / 2;\n        \n    } else {\n        \n        MeanHPrime = (H1Prime + H2Prime) / 2;\n    }\n    \n    CGFloat T =  1 - 0.17 * cos(MeanHPrime - (30.0 * M_PI/180)) + 0.24 * cos(2 * MeanHPrime)+0.32 * cos(3 * MeanHPrime + (6.0 * M_PI/180)) - 0.20 * cos(4 * MeanHPrime - (63.0 * M_PI/180));\n    \n    CGFloat SL = 1 + (0.015 * pow((MeanL - 50), 2))/sqrt(20 + pow((MeanL - 50), 2));\n    CGFloat SC = 1 + 0.045 * MeanCPrime;\n    CGFloat SH = 1 + 0.015 * MeanCPrime * T;\n    \n    CGFloat RT = -2 * sqrt(pow(MeanCPrime, 7) / (pow(MeanCPrime, 7) + pow(25.0, 7))) * sin((60.0 * M_PI/180)* exp(-1 * pow((MeanCPrime - (275.0 * M_PI/180)) / (25.0 * M_PI/180), 2)));\n    \n    \n    //Get total difference\n    CGFloat TotalDifference = sqrt(pow((DeltaPrimeL / (KL * SL)), 2) + pow((DeltaPrimeC / (KC * SC)), 2) + pow((deltaHPrime / (KH * SH)), 2) + RT * (DeltaC / (KC * SC)) * (deltaHPrime / (KH * SH)));\n    \n    return TotalDifference;\n}\n\n+ (UIColor *)nearestFlatColorForL:(CGFloat)l1 A:(CGFloat)a1 B:(CGFloat)b1 alpha:(CGFloat)alpha{\n    \n    //Keep track of our index\n    int index = 0;\n    \n    //Start with a random big number to make sure the first comparison gets saved.\n    float smallestDistance = 1000000;\n    float previousDistance = 1000000;\n    float currentDistance;\n    \n    //Our values\n    CGFloat l2, a2, b2;\n    \n    //We're interested in the color with values returning the smallest sum of total differences so we need to cross reference our input color's values with every flat color's values\n    for (int i=0; i<[[self flatColors] count]; i++ ) {\n        \n        //Check that index is not zero\n        if (i!=0 ) {\n            //Extract LAB values from colors in array and store it as the previous index\n            [[self flatColors][i - 1] getLightness:&l2 valueForA:&a2 valueForB:&b2 alpha:nil];\n            \n            previousDistance = [self totalSumOfDifferencesFroml1:l1 l2:l2\n                                                              a1:a1 a2:a2\n                                                              b1:b1 b2:b2];\n        }\n        \n        //Extract LAB values from colors in array and store it as the current index\n        [[self flatColors][i] getLightness:&l2 valueForA:&a2 valueForB:&b2 alpha:nil];\n        \n        currentDistance = [self totalSumOfDifferencesFroml1:l1 l2:l2\n                                                         a1:a1 a2:a2\n                                                         b1:b1 b2:b2];\n        \n        //We're only interested in the smallest difference\n        if (currentDistance < previousDistance) {\n            if (currentDistance < smallestDistance) {\n                smallestDistance = currentDistance;\n                index = i;\n            }\n        }\n    }\n\n    \n    //Collect the RGB Values of the color where the smallest difference was found\n    CGFloat red, green, blue;\n    [[self flatColors][index] getRed:&red green:&green blue:&blue alpha:nil];\n\n    //Return the closest flat color\n    return rgba(red * 255, green * 255, blue * 255, alpha);\n}\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIColor+ChameleonPrivate.h",
    "content": "//\n//  UIColor+ChameleonPrivate.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/6/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import <objc/runtime.h>\n\n@interface UIColor (ChameleonPrivate)\n\n@property (nonatomic, readwrite) NSUInteger count;\n\n#pragma mark - Class Methods\n\n+ (UIColor *)colorFromImage:(UIImage *)image atPoint:(CGPoint)point;\n\n- (UIColor *)colorWithMinimumSaturation:(CGFloat)saturation;\n\n#pragma mark - Instance Methods\n\n- (BOOL)isDistinct:(UIColor *)color;\n\n- (BOOL)getValueForX:(CGFloat *)X\n           valueForY:(CGFloat *)Y\n           valueForZ:(CGFloat *)Z\n               alpha:(CGFloat *)alpha;\n\n- (BOOL)getLightness:(CGFloat *)L\n           valueForA:(CGFloat *)A\n           valueForB:(CGFloat *)B\n               alpha:(CGFloat *)alpha;\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIColor+ChameleonPrivate.m",
    "content": "//\n//  UIColor+ChameleonPrivate.m\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/6/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"UIColor+ChameleonPrivate.h\"\n\n@implementation UIColor (ChameleonPrivate)\n\n@dynamic count;\n\n#pragma mark - Associated Objects Methods\n\n- (void)setCount:(NSUInteger)count {\n    objc_setAssociatedObject(self, @selector(count), [NSNumber numberWithUnsignedInteger:count], OBJC_ASSOCIATION_RETAIN_NONATOMIC);\n}\n\n- (NSUInteger)count {\n    NSNumber *number = objc_getAssociatedObject(self, @selector(count));\n    return [number unsignedIntegerValue];\n}\n\n#pragma mark - Class Methods\n\n// Would not have been possible without - http://stackoverflow.com/a/1262893\n+ (UIColor *)colorFromImage:(UIImage *)image atPoint:(CGPoint)point {\n    \n    //Encapsulate our image\n    CGImageRef imageRef = image.CGImage;\n    NSUInteger width = CGImageGetWidth(imageRef);\n    NSUInteger height = CGImageGetHeight(imageRef);\n    \n    //Specify the colorspace we're in\n    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();\n    \n    //Extract the data we need\n    unsigned char *rawData = calloc(height * width * 4, sizeof(unsigned char));\n    NSUInteger bytesPerPixel = 4;\n    NSUInteger bytesPerRow = bytesPerPixel * width;\n    NSUInteger bitsPerComponent = 8;\n    CGContextRef context = CGBitmapContextCreate(rawData, width, height, bitsPerComponent, bytesPerRow,\n                                                 colorSpace, kCGImageAlphaPremultipliedLast | kCGBitmapByteOrder32Big);\n    //Release colorspace\n    CGColorSpaceRelease(colorSpace);\n    \n    //Draw and release image\n    CGContextDrawImage(context, CGRectMake(0, 0, width, height), imageRef);\n    CGContextRelease(context);\n    \n    //rawData now contains the image data in RGBA8888\n    NSInteger byteIndex = (bytesPerRow * point.y) + (point.x * bytesPerPixel);\n    \n    //Define our RGBA values\n    CGFloat red = (rawData[byteIndex] * 1.f) / 255.f;\n    CGFloat green = (rawData[byteIndex + 1] * 1.f) / 255.f;\n    CGFloat blue = (rawData[byteIndex + 2] * 1.f) / 255.f;\n    CGFloat alpha = (rawData[byteIndex + 3] * 1.0) / 255.f;\n    \n    //Free our rawData\n    free(rawData);\n    \n    //Return color\n    return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n}\n\n- (UIColor *)colorWithMinimumSaturation:(CGFloat)saturation {\n    if (!self)\n        return nil;\n    \n    CGFloat h, s, b, a;\n    [self getHue:&h saturation:&s brightness:&b alpha:&a];\n    \n    if (s < saturation)\n        return [UIColor colorWithHue:h saturation:saturation brightness:b alpha:a];\n    \n    return self;\n}\n\n#pragma mark - Instance Methods\n\n- (BOOL)isDistinct:(UIColor *)color {\n    \n    if (!self || !color) {\n        return NO;\n    }\n    \n    CGFloat r, g, b, a;\n    CGFloat rc, gc, bc, ac;\n    \n    [self getRed:&r green:&g blue:&b alpha:&a];\n    [color getRed:&rc green:&gc blue:&bc alpha:&ac];\n    \n    CGFloat threshold = 0.25f;\n    \n    if (fabs(r - rc) > threshold || fabs(g - gc) > threshold ||\n        \n        fabs(b - bc) > threshold || fabs(a - ac) > threshold) {\n        \n        // Check for grays\n        if (fabs(r - g) < 0.03f && fabs(r - b) < 0.03f) {\n            \n            if (fabs(rc - gc) < 0.03f && (fabs(rc - bc) < 0.03f)) {\n                return NO;\n            }\n            \n        }\n        \n        return YES;\n    }\n    \n    return NO;\n}\n\n- (BOOL)getValueForX:(CGFloat *)X valueForY:(CGFloat *)Y valueForZ:(CGFloat *)Z alpha:(CGFloat *)alpha{\n    \n    if ([self respondsToSelector:@selector(getRed:green:blue:alpha:)]) {\n        \n        //Get RGB values from the input color\n        CGFloat red = 0, green = 0, blue = 0, alpha1 = 0;\n        [self getRed:&red green:&green blue:&blue alpha:&alpha1];\n        \n        //Run our input color's RGB values through the XYZ algorithm to convert them into XYZ values\n        NSArray *XYZValues = [self arrayOfXYZValuesForR:red G:green B:blue A:alpha1];\n        *X = [XYZValues[0] floatValue];\n        *Y = [XYZValues[1] floatValue];\n        *Z = [XYZValues[2] floatValue];\n        *alpha = [XYZValues[3] floatValue];\n        \n        return YES;\n    }\n    \n    return NO;\n}\n\n- (BOOL)getLightness:(CGFloat *)L valueForA:(CGFloat *)A valueForB:(CGFloat *)B alpha:(CGFloat *)alpha {\n    \n    if ([self respondsToSelector:@selector(getRed:green:blue:alpha:)]) {\n        \n        //Get RGB values from the input color\n        CGFloat red = 0, green = 0, blue = 0, alpha1 = 0;\n        [self getRed:&red green:&green blue:&blue alpha:&alpha1];\n        \n        //Run our input color's RGB values through the XYZ algorithm to convert them into XYZ values\n        NSArray *XYZValues = [self arrayOfXYZValuesForR:red G:green B:blue A:alpha1];\n        CGFloat X = [XYZValues[0] floatValue];\n        CGFloat Y = [XYZValues[1] floatValue];\n        CGFloat Z = [XYZValues[2] floatValue];\n        \n        if (L != nil && A != nil && B != nil) {\n            //Run our new XYZ values through our LAB algorithm to convert them into LAB values\n            NSArray *LABValues = [self arrayOfLABValuesForX:X Y:Y Z:Z alpha:alpha1];\n            *L = [LABValues[0] floatValue];\n            *A = [LABValues[1] floatValue];\n            *B = [LABValues[2] floatValue];\n        }\n        \n        return YES;\n    }\n    \n    return NO;\n}\n\n#pragma mark - Internal Helper Methods\n\n- (NSArray *)arrayOfXYZValuesForR:(CGFloat)red G:(CGFloat)green B:(CGFloat)blue A:(CGFloat)alpha {\n    \n    /*\n     Let's begin by converting from RGB to sRGB.\n     We're going to use the Reverse Transformation Equation.\n     http://en.wikipedia.org/wiki/SRGB\n     */\n    \n    void (^sRGB)(CGFloat *C);\n    sRGB = ^(CGFloat *C) {\n        if (*C > 0.04045) {\n            *C = pow(((*C + 0.055)/ (1 + 0.055)), 2.40);\n        } else {\n            *C /= 12.92;\n        }\n    };\n    \n    sRGB(&red);\n    sRGB(&green);\n    sRGB(&blue);\n    \n    /*\n     Now we're going to convert to XYZ values, using a matrix multiplication of the linear values\n     http://upload.wikimedia.org/math/4/3/3/433376fc18cccd887758beffb7e7c625.png\n     */\n    \n    CGFloat X = (red * 0.4124) + (green * 0.3576) + (blue * 0.1805);\n    CGFloat Y = (red * 0.2126) + (green * 0.7152) + (blue * 0.0722);\n    CGFloat Z = (red * 0.0193) + (green * 0.1192) + (blue * 0.9505);\n    \n    X *= 100;\n    Y *= 100;\n    Z *= 100;\n    \n    return @[@(X), @(Y), @(Z), @(alpha)];\n}\n\n- (NSArray *)arrayOfLABValuesForX:(CGFloat)X Y:(CGFloat)Y Z:(CGFloat)Z alpha:(CGFloat)alpha {\n    \n    /*\n     The corresponding original XYZ values are such that white is D65 with unit luminance (X,Y,Z = 0.9505, 1.0000, 1.0890).\n     Calculations are also to assume the 2° standard colorimetric observer.\n     D65: http://en.wikipedia.org/wiki/CIE_Standard_Illuminant_D65\n     Standard Colorimetric Observer: http://en.wikipedia.org/wiki/Standard_colorimetric_observer#CIE_standard_observer\n     \n     Since we mutiplied our XYZ values by 100 to produce a percentage we should also multiply our unit luminance values by 100.\n     */\n    \n    X /= (0.9505 * 100);\n    Y /= (1.0000 * 100);\n    Z /= (1.0890 * 100);\n    \n    /*\n     Next we need to use the forward transformation function for CIELAB-CIEXYZ conversions\n     Function: http://upload.wikimedia.org/math/e/5/1/e513d25d50d406bfffb6ed3c854bd8a4.png\n     */\n    \n    void (^XYZtoLAB)(CGFloat *f);\n    XYZtoLAB = ^(CGFloat *f) {\n        if ((*f > pow((6.0/29.0), 3.0)) ) {\n            *f = pow(*f, 1.0/3.0);\n        } else {\n            *f = (1/3)*pow((29.0/6.0), 2.0) * *f + 4/29.0;\n        }\n    };\n    \n    XYZtoLAB(&X);\n    XYZtoLAB(&Y);\n    XYZtoLAB(&Z);\n    \n    /*\n     Next we get our LAB values using the following equations and the results from the function above\n     http://upload.wikimedia.org/math/0/0/6/006164b74314e2fdcdc34ac9d0aa6fe4.png\n     */\n    \n    CGFloat L = (116 * Y) - 16;\n    CGFloat A = 500 * (X - Y);\n    CGFloat B = 200 * (Y - Z);\n    \n    \n    return @[@(L), @(A), @(B), @(alpha)];\n}\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIImage+ChameleonPrivate.h",
    "content": "//\n//  UIImage+ChameleonPrivate.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/8/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIImage (ChameleonPrivate)\n\n#pragma mark - Class Methods\n\n+ (UIImage *)imageWithImage:(UIImage *)image scaledToSize:(CGSize)newSize;\n\n#pragma mark - Instance Methods\n\n- (UIImage *)imageScaledToSize:(CGSize)newSize;\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIImage+ChameleonPrivate.m",
    "content": "//\n//  UIImage+ChameleonPrivate.m\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/8/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"UIImage+ChameleonPrivate.h\"\n\n@implementation UIImage (ChameleonPrivate)\n\n// Would not have been possible without - http://stackoverflow.com/a/1262893\n+ (UIColor *)colorFromImage:(UIImage *)image atPoint:(CGPoint)point {\n    \n    //Encapsulate our image\n    CGImageRef imageRef = image.CGImage;\n    NSUInteger width = CGImageGetWidth(imageRef);\n    NSUInteger height = CGImageGetHeight(imageRef);\n    \n    //Specify the colorspace we're in\n    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();\n    \n    //Extract the data we need\n    unsigned char *rawData = calloc(height * width * 4, sizeof(unsigned char));\n    NSUInteger bytesPerPixel = 4;\n    NSUInteger bytesPerRow = bytesPerPixel * width;\n    NSUInteger bitsPerComponent = 8;\n    CGContextRef context = CGBitmapContextCreate(rawData, width, height, bitsPerComponent, bytesPerRow,\n                                                 colorSpace, kCGImageAlphaPremultipliedLast | kCGBitmapByteOrder32Big);\n    //Release colorspace\n    CGColorSpaceRelease(colorSpace);\n    \n    //Draw and release image\n    CGContextDrawImage(context, CGRectMake(0, 0, width, height), imageRef);\n    CGContextRelease(context);\n    \n    //rawData now contains the image data in RGBA8888\n    NSInteger byteIndex = (bytesPerRow * point.y) + (point.x * bytesPerPixel);\n    \n    //Define our RGBA values\n    CGFloat red = (rawData[byteIndex] * 1.f) / 255.f;\n    CGFloat green = (rawData[byteIndex + 1] * 1.f) / 255.f;\n    CGFloat blue = (rawData[byteIndex + 2] * 1.f) / 255.f;\n    CGFloat alpha = (rawData[byteIndex + 3] * 1.0) / 255.f;\n    \n    //Free our rawData\n    free(rawData);\n    \n    //Return color\n    return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];\n}\n\n+ (UIImage *)imageWithImage:(UIImage *)image scaledToSize:(CGSize)newSize {\n    \n    UIGraphicsBeginImageContextWithOptions(newSize, NO, 1.0);\n    [image drawInRect:CGRectMake(0, 0, newSize.width, newSize.height)];\n    UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();\n    UIGraphicsEndImageContext();\n    return newImage;\n}\n\n#pragma mark - Instance Methods\n\n- (UIImage *)imageScaledToSize:(CGSize)newSize {\n    \n    UIGraphicsBeginImageContextWithOptions(newSize, NO, 1.0);\n    [self drawInRect:CGRectMake(0, 0, newSize.width, newSize.height)];\n    UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext();\n    UIGraphicsEndImageContext();\n    return newImage;\n}\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UILabel+Chameleon.h",
    "content": "//\n//  UILabel+Chameleon.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 9/20/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UILabel (Chameleon)\n\n- (void)setSubstituteFontName:(NSString *)name UI_APPEARANCE_SELECTOR;\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UILabel+Chameleon.m",
    "content": "//\n//  UILabel+Chameleon.m\n//  Chameleon\n//\n//  Created by Vicc Alexander on 9/20/15.\n//  Copyright © 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"UILabel+Chameleon.h\"\n\n@implementation UILabel (Chameleon)\n\n- (void)setSubstituteFontName:(NSString *)name UI_APPEARANCE_SELECTOR {\n    \n    self.font = [UIFont fontWithName:name size:self.font.pointSize];\n}\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UINavigationController+Chameleon.h",
    "content": "//\n//  UINavigationController+Chameleon.h\n//  ChameleonDemo\n//\n//  Created by Vicc Alexander on 6/4/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import \"ChameleonEnums.h\"\n\n@interface UINavigationController (Chameleon)\n\n/**\n *  Sets the status bar style for the specified @c UINavigationController and all its child controllers.\n *\n *  @param statusBarStyle The style of the device's status bar.\n *\n *  @note Chameleon introduces a new @c statusBarStyle called @c UIStatusBarStyleContrast.\n *\n *  @since 2.0\n */\n- (void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle;\n\n/**\n *  Hides the hairline view at the bottom of a navigation bar. The default value is @c NO.\n *\n *  @since 2.0.3\n */\n@property (nonatomic, assign) BOOL hidesNavigationBarHairline;\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UINavigationController+Chameleon.m",
    "content": "//\n//  UINavigationController+Chameleon.m\n//  ChameleonDemo\n//\n//  Created by Vicc Alexander on 6/4/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"UINavigationController+Chameleon.h\"\n#import <objc/runtime.h>\n\n#import \"ChameleonConstants.h\"\n#import \"ChameleonEnums.h\"\n#import \"ChameleonMacros.h\"\n\n#import \"NSArray+Chameleon.h\"\n#import \"UIColor+Chameleon.h\"\n#import \"UIViewController+Chameleon.h\"\n\n@interface UINavigationController ()\n\n@property (readwrite) BOOL shouldContrast;\n@property (readwrite) BOOL shouldUseLightContent;\n\n@end\n\n@implementation UINavigationController (Chameleon)\n\n@dynamic hidesNavigationBarHairline;\n\n#pragma mark - Swizzling\n\n+ (void)load {\n    \n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        \n        Class class = [self class];\n        \n        SEL originalSelector = @selector(viewDidLoad);\n        SEL swizzledSelector = @selector(chameleon_viewDidLoad);\n        \n        Method originalMethod = class_getInstanceMethod(class, originalSelector);\n        Method swizzledMethod = class_getInstanceMethod(class, swizzledSelector);\n        \n        BOOL didAddMethod =\n        class_addMethod(class,\n                        originalSelector,\n                        method_getImplementation(swizzledMethod),\n                        method_getTypeEncoding(swizzledMethod));\n        \n        if (didAddMethod) {\n            class_replaceMethod(class,\n                                swizzledSelector,\n                                method_getImplementation(originalMethod),\n                                method_getTypeEncoding(originalMethod));\n            \n        } else {\n            method_exchangeImplementations(originalMethod, swizzledMethod);\n        }\n    });\n}\n\n- (void)chameleon_viewDidLoad {\n   \n    [self chameleon_viewDidLoad];\n    \n    UIView *hairlineImageView = [self findHairlineImageViewUnder:self.navigationBar];\n    \n    if (hairlineImageView) {\n        \n        if (self.hidesNavigationBarHairline) {\n             hairlineImageView.hidden = YES;\n            \n        } else {\n             hairlineImageView.hidden = NO;\n        }\n    }\n}\n\n- (UIImageView *)findHairlineImageViewUnder:(UIView *)view {\n    \n    if ([view isKindOfClass:UIImageView.class] && view.bounds.size.height <= 1.0) {\n        return (UIImageView *)view;\n    }\n    \n    for (UIView *subview in view.subviews) {\n        UIImageView *imageView = [self findHairlineImageViewUnder:subview];\n        if (imageView) {\n            return imageView;\n        }\n    }\n    \n    return nil;\n}\n\n#pragma mark - Runtime\n\n- (void)setShouldContrast:(BOOL)contrast {\n   \n    NSNumber *number = [NSNumber numberWithBool:contrast];\n    objc_setAssociatedObject(self, @selector(shouldContrast), number, OBJC_ASSOCIATION_RETAIN);\n}\n\n- (BOOL)shouldContrast {\n    \n    NSNumber *number = objc_getAssociatedObject(self, @selector(shouldContrast));\n    return [number boolValue];\n}\n\n- (void)setShouldUseLightContent:(BOOL)shouldUseLightContent {\n    \n    NSNumber *number = [NSNumber numberWithBool:shouldUseLightContent];\n    objc_setAssociatedObject(self, @selector(shouldUseLightContent), number, OBJC_ASSOCIATION_RETAIN);\n}\n\n- (BOOL)shouldUseLightContent {\n    \n    NSNumber *number = objc_getAssociatedObject(self, @selector(shouldUseLightContent));\n    return [number boolValue];\n}\n\n- (void)setHidesNavigationBarHairline:(BOOL)hidesNavigationBarHairline {\n    \n    NSNumber *number = [NSNumber numberWithBool:hidesNavigationBarHairline];\n    objc_setAssociatedObject(self, @selector(hidesNavigationBarHairline), number, OBJC_ASSOCIATION_RETAIN);\n    \n    //Find Hairline Image\n    UIView *hairlineImageView = [self findHairlineImageViewUnder:self.navigationBar];\n    \n    //Check if it exists\n    if (hairlineImageView) {\n        \n        //Check if we should hide it or not\n        if (hidesNavigationBarHairline) {\n            hairlineImageView.hidden = YES;\n            \n        } else {\n            hairlineImageView.hidden = NO;\n        }\n    }\n}\n\n- (BOOL)hidesNavigationBarHairline {\n    \n    NSNumber *number = objc_getAssociatedObject(self, @selector(hidesNavigationBarHairline));\n    return [number boolValue];\n}\n\n\n#pragma mark - Public Methods\n\n- (void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle {\n    \n    if (statusBarStyle == UIStatusBarStyleContrast) {\n        \n        self.shouldContrast = YES;\n        \n    } else {\n       \n        if (statusBarStyle == UIStatusBarStyleLightContent) {\n            \n            self.shouldUseLightContent = YES;\n            \n        } else {\n            \n            self.shouldUseLightContent = NO;\n        }\n        \n    }\n}\n\n#pragma mark - Private Methods\n\n- (UIStatusBarStyle)preferredStatusBarStyle {\n    \n    [super preferredStatusBarStyle];\n    \n    if (self.shouldContrast) {\n        \n        return [self contrastingStatusBarStyleForColor:self.navigationBar.barTintColor];\n        \n    } else {\n        \n        if (self.shouldUseLightContent) {\n            \n            return UIStatusBarStyleLightContent;\n            \n        } else {\n            \n            return UIStatusBarStyleDefault;\n        }\n    }\n}\n\n- (UIStatusBarStyle)contrastingStatusBarStyleForColor:(UIColor *)backgroundColor {\n    \n    //Calculate Luminance\n    CGFloat luminance;\n    CGFloat red, green, blue;\n    \n    //Check for clear or uncalculatable color and assume white\n    if (![backgroundColor getRed:&red green:&green blue:&blue alpha:nil]) {\n        return UIStatusBarStyleDefault;\n    }\n    \n    //Relative luminance in colorimetric spaces - http://en.wikipedia.org/wiki/Luminance_(relative)\n    red *= 0.2126f; green *= 0.7152f; blue *= 0.0722f;\n    luminance = red + green + blue;\n    \n    return (luminance > 0.6f) ? UIStatusBarStyleDefault : UIStatusBarStyleLightContent;\n}\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIView+ChameleonPrivate.h",
    "content": "//\n//  UIView+ChameleonPrivate.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/4/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIView (ChameleonPrivate)\n\n- (BOOL)isTopViewInWindow;\n- (UIView *)findTopMostViewForPoint:(CGPoint)point;\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIView+ChameleonPrivate.m",
    "content": "//\n//  UIView+ChameleonPrivate.m\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/4/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"UIView+ChameleonPrivate.h\"\n\n@implementation UIView (ChameleonPrivate)\n\n- (BOOL)isTopViewInWindow {\n    \n    if (!self.window) {\n        return NO;\n    }\n    \n    CGPoint centerPointInSelf = CGPointMake(CGRectGetMidX(self.bounds),\n                                            CGRectGetMidY(self.bounds));\n    \n    CGPoint centerPointOfSelfInWindow = [self convertPoint:centerPointInSelf\n                                                    toView:self.window];\n    \n    UIView *view = [self.window findTopMostViewForPoint:centerPointOfSelfInWindow];\n    BOOL isTopMost = view == self || [view isDescendantOfView:self];\n    \n    return isTopMost;\n}\n\n- (UIView *)findTopMostViewForPoint:(CGPoint)point {\n    \n    for (int i = (int)self.subviews.count - 1; i >= 0; i--) {\n        \n        UIView *subview = self.subviews[i];\n        \n        if (!subview.hidden && CGRectContainsPoint(subview.frame, point) && subview.alpha > 0.01) {\n            CGPoint pointConverted = [self convertPoint:point toView:subview];\n            return [subview findTopMostViewForPoint:pointConverted];\n        }\n    }\n    \n    return self;\n}\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIViewController+Chameleon.h",
    "content": "//\n//  UIViewController+Chameleon.h\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/4/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import \"ChameleonEnums.h\"\n\n@interface UIViewController (Chameleon)\n\n/**\n *  Sets the color theme for the specified view controller using a primary color and the specified content style.\n *\n *  @param primaryColor   The primary color.\n *  @param contentStyle   The contentStyle.\n *\n *  @since 2.0\n */\n- (void)setThemeUsingPrimaryColor:(UIColor *)primaryColor\n                 withContentStyle:(UIContentStyle)contentStyle;\n\n/**\n *  Sets the color theme for the specified view controller using a primary color, secondary color, and the specified content style.\n *\n *  @param primaryColor   The primary color.\n *  @param secondaryColor The secondary color.\n *  @param contentStyle   The contentStyle.\n *\n *  @since 2.0\n */\n- (void)setThemeUsingPrimaryColor:(UIColor *)primaryColor\n               withSecondaryColor:(UIColor *)secondaryColor\n                  andContentStyle:(UIContentStyle)contentStyle;\n\n/**\n *  Sets the color theme for the specified view controller using a primary color, secondary color, font name, and the specified content style.\n *\n *  @param primaryColor   The primary color.\n *  @param secondaryColor The secondary color.\n *  @param fontName       The main font to use for all text-based elements.\n *  @param contentStyle   The contentStyle.\n *\n *  @since 2.0\n */\n- (void)setThemeUsingPrimaryColor:(UIColor *)primaryColor\n               withSecondaryColor:(UIColor *)secondaryColor\n                    usingFontName:(NSString *)fontName\n                  andContentStyle:(UIContentStyle)contentStyle;\n\n/**\n *  Sets the status bar style for the specified @c UIViewController and all its child controllers.\n *\n *  @param statusBarStyle The style of the device's status bar.\n *\n *  @note Chameleon introduces a new @c statusBarStyle called @c UIStatusBarStyleContrast.\n *\n *  @since 2.0\n */\n- (void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle;\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Objective-C/UIViewController+Chameleon.m",
    "content": "//\n//  UIViewController+Chameleon.m\n//  Chameleon\n//\n//  Created by Vicc Alexander on 6/4/15.\n//  Copyright (c) 2015 Vicc Alexander. All rights reserved.\n//\n\n#import \"UIViewController+Chameleon.h\"\n#import <objc/runtime.h>\n\n#import \"ChameleonConstants.h\"\n#import \"ChameleonEnums.h\"\n#import \"ChameleonMacros.h\"\n\n#import \"NSArray+Chameleon.h\"\n#import \"UIColor+Chameleon.h\"\n#import \"UIViewController+Chameleon.h\"\n#import \"UIView+ChameleonPrivate.h\"\n#import \"UILabel+Chameleon.h\"\n#import \"UIButton+Chameleon.h\"\n#import \"UIAppearance+Swift.h\"\n\n@interface UIViewController ()\n\n@property (readwrite) BOOL shouldContrast;\n@property (readwrite) BOOL shouldUseLightContent;\n\n@end\n\n@implementation UIViewController (Chameleon)\n\n\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wdeprecated-declarations\"\n\n#pragma mark - Runtime\n\n- (void)setShouldContrast:(BOOL)contrast {\n    \n    NSNumber *number = [NSNumber numberWithBool:contrast];\n    objc_setAssociatedObject(self, @selector(shouldContrast), number, OBJC_ASSOCIATION_RETAIN);\n}\n\n- (BOOL)shouldContrast {\n    \n    NSNumber *number = objc_getAssociatedObject(self, @selector(shouldContrast));\n    return [number boolValue];\n}\n\n- (void)setShouldUseLightContent:(BOOL)shouldUseLightContent {\n    \n    NSNumber *number = [NSNumber numberWithBool:shouldUseLightContent];\n    objc_setAssociatedObject(self, @selector(shouldUseLightContent), number, OBJC_ASSOCIATION_RETAIN);\n}\n\n- (BOOL)shouldUseLightContent {\n    \n    NSNumber *number = objc_getAssociatedObject(self, @selector(shouldUseLightContent));\n    return [number boolValue];\n}\n\n#pragma mark - Swizzling\n\n+ (void)load {\n    \n    static dispatch_once_t onceToken;\n    dispatch_once(&onceToken, ^{\n        \n        Class class = [self class];\n        \n        SEL originalSelector = @selector(preferredStatusBarStyle);\n        SEL swizzledSelector = @selector(chameleon_preferredStatusBarStyle);\n        \n        Method originalMethod = class_getInstanceMethod(class, originalSelector);\n        Method swizzledMethod = class_getInstanceMethod(class, swizzledSelector);\n        \n        BOOL didAddMethod =\n        class_addMethod(class,\n                        originalSelector,\n                        method_getImplementation(swizzledMethod),\n                        method_getTypeEncoding(swizzledMethod));\n        \n        if (didAddMethod) {\n            class_replaceMethod(class,\n                                swizzledSelector,\n                                method_getImplementation(originalMethod),\n                                method_getTypeEncoding(originalMethod));\n            \n        } else {\n            method_exchangeImplementations(originalMethod, swizzledMethod);\n        }\n    });\n}\n\n#pragma mark - Methods\n\n\n- (void)setStatusBarStyle:(UIStatusBarStyle)statusBarStyle {\n    \n    if (statusBarStyle == UIStatusBarStyleContrast) {\n        \n        [self performSelector:@selector(setNeedsStatusBarAppearanceUpdate) withObject:nil afterDelay:0.01];\n        self.shouldContrast = YES;\n        \n    } else {\n        \n        if (statusBarStyle == UIStatusBarStyleLightContent) {\n            \n            [self performSelector:@selector(setNeedsStatusBarAppearanceUpdate) withObject:nil afterDelay:0.01];\n            self.shouldUseLightContent = YES;\n            \n        } else {\n            \n            [self performSelector:@selector(setNeedsStatusBarAppearanceUpdate) withObject:nil afterDelay:0.01];\n            self.shouldUseLightContent = NO;\n        }\n    }\n    \n    [self preferredStatusBarStyle];\n}\n\n- (UIStatusBarStyle)chameleon_preferredStatusBarStyle {\n    \n    [self chameleon_preferredStatusBarStyle];\n    \n    if (self.shouldContrast) {\n\n        CGRect statusBarFrame = [UIApplication sharedApplication].statusBarFrame;\n        UIView *topView = [self.view findTopMostViewForPoint:CGPointMake(CGRectGetMidX(statusBarFrame), 2)];\n        \n        return [self contrastingStatusBarStyleForColor:topView.backgroundColor];\n        \n    } else {\n        \n        if (self.shouldUseLightContent) {\n            return UIStatusBarStyleLightContent;\n            \n        } else {\n            return [self chameleon_preferredStatusBarStyle];\n        }\n    }\n}\n\n- (void)setThemeUsingPrimaryColor:(UIColor *)primaryColor\n                 withContentStyle:(UIContentStyle)contentStyle {\n    \n    if (contentStyle == UIContentStyleContrast) {\n        \n        if ([ContrastColor(primaryColor, YES) isEqual:FlatWhite]) {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        } else {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n        }\n        \n    } else if (contentStyle == UIContentStyleLight) {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        \n    } else {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n    }\n    \n    [[self class] customizeBarButtonItemWithPrimaryColor:primaryColor contentStyle:contentStyle];\n    [[self class] customizeButtonWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeNavigationBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizePageControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeProgressViewWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSearchBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSegmentedControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSliderWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeStepperWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSwitchWithPrimaryColor:primaryColor];\n    [[self class] customizeTabBarWithBarTintColor:FlatWhite andTintColor:primaryColor];\n    [[self class] customizeToolbarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeImagePickerControllerWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n}\n\n- (void)setThemeUsingPrimaryColor:(UIColor *)primaryColor\n               withSecondaryColor:(UIColor *)secondaryColor\n                  andContentStyle:(UIContentStyle)contentStyle {\n    \n    if (contentStyle == UIContentStyleContrast) {\n        \n        if ([ContrastColor(primaryColor, YES) isEqual:FlatWhite]) {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        } else {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n        }\n        \n    } else if (contentStyle == UIContentStyleLight) {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        \n    } else {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n    }\n    \n    [[self class] customizeBarButtonItemWithPrimaryColor:primaryColor contentStyle:contentStyle];\n    [[self class] customizeButtonWithPrimaryColor:primaryColor secondaryColor:secondaryColor withContentStyle:contentStyle];\n    [[self class] customizeNavigationBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizePageControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeProgressViewWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeSearchBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSegmentedControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSliderWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeStepperWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSwitchWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeTabBarWithBarTintColor:FlatWhite andTintColor:primaryColor];\n    [[self class] customizeToolbarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeImagePickerControllerWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n}\n\n- (void)setThemeUsingPrimaryColor:(UIColor *)primaryColor\n               withSecondaryColor:(UIColor *)secondaryColor\n                    usingFontName:(NSString *)fontName\n                  andContentStyle:(UIContentStyle)contentStyle {\n    \n    if (contentStyle == UIContentStyleContrast) {\n        \n        if ([ContrastColor(primaryColor, YES) isEqual:FlatWhite]) {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        } else {\n            [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n        }\n        \n    } else if (contentStyle == UIContentStyleLight) {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];\n        \n    } else {\n        \n        [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];\n    }\n    \n    [[UILabel appearance] setSubstituteFontName:fontName];\n    [[UIButton appearance] setSubstituteFontName:fontName];\n    \n    [[self class] customizeButtonWithPrimaryColor:primaryColor secondaryColor:secondaryColor withContentStyle:contentStyle];\n    [[self class] customizeBarButtonItemWithPrimaryColor:primaryColor fontName:fontName fontSize:18 contentStyle:contentStyle];\n    [[self class] customizeNavigationBarWithBarColor:primaryColor textColor:ContrastColor(primaryColor, YES) fontName:fontName fontSize:20 buttonColor:ContrastColor(primaryColor, YES)];\n    [[self class] customizePageControlWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeProgressViewWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeSearchBarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSegmentedControlWithPrimaryColor:primaryColor withFontName:fontName withFontSize:14 withContentStyle:contentStyle];\n    [[self class] customizeSliderWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeStepperWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeSwitchWithPrimaryColor:primaryColor andSecondaryColor:secondaryColor];\n    [[self class] customizeTabBarWithBarTintColor:FlatWhite andTintColor:primaryColor];\n    [[self class] customizeToolbarWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n    [[self class] customizeImagePickerControllerWithPrimaryColor:primaryColor withContentStyle:contentStyle];\n}\n\n#pragma mark - UIBarButtonItem\n\n+ (void)customizeBarButtonItemWithPrimaryColor:(UIColor *)primaryColor\n                                  contentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIBarButtonItem appearance] setTintColor:primaryColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UISearchBar class], nil] setTintColor:contentColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], nil] setTintColor:contentColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UIToolbar class], nil] setTintColor:contentColor];\n}\n\n+ (void)customizeBarButtonItemWithPrimaryColor:(UIColor *)primaryColor\n                                      fontName:(NSString *)fontName\n                                      fontSize:(float)fontSize\n                                  contentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIBarButtonItem appearance] setTintColor:primaryColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UISearchBar class], nil] setTintColor:contentColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], nil] setTintColor:contentColor];\n    [[UIBarButtonItem appearanceWhenContainedIn:[UIToolbar class], nil] setTintColor:contentColor];\n    \n    \n    if ([UIFont fontWithName:fontName size:fontSize]) {\n        [[UIBarButtonItem appearance] setTitleTextAttributes:@{ NSForegroundColorAttributeName:contentColor, NSFontAttributeName:[UIFont fontWithName:fontName size:fontSize]} forState:UIControlStateNormal];\n    }\n}\n\n#pragma mark - UIButton\n\n+ (void)customizeButtonWithPrimaryColor:(UIColor *)primaryColor\n                       withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIButton appearance] setTintColor:contentColor];\n    [[UIButton appearance] setBackgroundColor:primaryColor];\n    \n    \n    [[UIButton appearanceWhenContainedIn:[UISearchBar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UISearchBar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UINavigationBar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UINavigationBar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UIToolbar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UIToolbar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UIStepper class], nil] setTintColor:primaryColor];\n    [[UIButton appearanceWhenContainedIn:[UIStepper class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearance] setTitleShadowColor:ClearColor forState:UIControlStateNormal];\n    \n}\n\n+ (void)customizeButtonWithPrimaryColor:(UIColor *)primaryColor\n                         secondaryColor:(UIColor *)secondaryColor\n                       withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    UIColor *secondaryContentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            secondaryContentColor = ContrastColor(secondaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            secondaryContentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            secondaryContentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            secondaryContentColor = ContrastColor(secondaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIButton appearance] setTintColor:secondaryContentColor];\n    [[UIButton appearance] setBackgroundColor:secondaryColor];\n    \n    \n    [[UIButton appearanceWhenContainedIn:[UISearchBar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UISearchBar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UINavigationBar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UINavigationBar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UIToolbar class], nil] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedIn:[UIToolbar class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearanceWhenContainedIn:[UIStepper class], nil] setTintColor:primaryColor];\n    [[UIButton appearanceWhenContainedIn:[UIStepper class], nil] setBackgroundColor:ClearColor];\n    \n    [[UIButton appearance] setTitleShadowColor:ClearColor forState:UIControlStateNormal];\n    \n}\n\n#pragma mark - UIImagePickerController\n\n+ (void)customizeImagePickerControllerWithPrimaryColor:(UIColor *)primaryColor withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    //Workaround for Swift http://stackoverflow.com/a/28765193\n    [[UIButton appearanceWhenContainedWithin:@[[UIView class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n    [[UIButton appearanceWhenContainedWithin:@[[UIView class],[UIImagePickerController class]]] setTintColor:ClearColor];\n    [[UIButton appearanceWhenContainedWithin:@[[UINavigationBar class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n    [[UIButton appearanceWhenContainedWithin:@[[UINavigationBar class],[UIImagePickerController class]]] setTintColor:contentColor];\n    [[UIButton appearanceWhenContainedWithin:@[[UITableViewCell class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n    \n    //[[UIButton appearanceWhenContainedInInstancesOfClasses:@[[UIView class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n    //[[UIButton appearanceWhenContainedInInstancesOfClasses:@[[UIView class],[UIImagePickerController class]]] setTintColor:contentColor];\n    //[[UIButton appearanceWhenContainedInInstancesOfClasses:@[[UINavigationBar class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n    //[[UIButton appearanceWhenContainedInInstancesOfClasses:@[[UINavigationBar class],[UIImagePickerController class]]] setTintColor:contentColor];\n    //[[UIButton appearanceWhenContainedInInstancesOfClasses:@[[UITableViewCell class],[UIImagePickerController class]]] setBackgroundColor:ClearColor];\n}\n\n#pragma mark - UILabel\n\n+ (void)customizeLabelWithPrimaryColor:(UIColor *)primaryColor\n                              fontName:(NSString *)fontName\n                              fontSize:(CGFloat)fontSize\n                      withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UILabel appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setTextColor:contentColor];\n    [[UILabel appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setTextColor:contentColor];\n    \n    UIFont *font = [UIFont fontWithName:fontName size:fontSize];\n    \n    if (font) {\n        [[UILabel appearanceWhenContainedIn:[self class], nil] setFont:[UIFont fontWithName:fontName size:fontSize]];\n        [[UILabel appearanceWhenContainedIn:[self class], [UITextField class], nil] setFont:[UIFont fontWithName:fontName size:14]];\n        [[UILabel appearanceWhenContainedIn:[self class], [UIButton class], nil] setFont:[UIFont fontWithName:fontName size:18]];\n    }\n}\n\n#pragma mark - UINavigationBar\n\n+ (void)customizeNavigationBarWithPrimaryColor:(UIColor *)primaryColor\n                              withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setBarTintColor:primaryColor];\n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setTintColor:contentColor];\n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setTitleTextAttributes:@{NSForegroundColorAttributeName:contentColor}];\n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setShadowImage:[UIImage new]];\n//    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];\n}\n\n+ (void)customizeNavigationBarWithBarColor:(UIColor *)barColor\n                                 textColor:(UIColor *)textColor\n                               buttonColor:(UIColor *)buttonColor {\n    \n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setBarTintColor:barColor];\n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setTintColor:buttonColor];\n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setTitleTextAttributes:@{NSForegroundColorAttributeName:textColor}];\n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setShadowImage:[UIImage new]];\n//    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];\n}\n\n+ (void)customizeNavigationBarWithBarColor:(UIColor *)barColor\n                                 textColor:(UIColor *)textColor\n                                  fontName:(NSString *)fontName\n                                  fontSize:(CGFloat)fontSize\n                               buttonColor:(UIColor *)buttonColor {\n    \n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setBarTintColor:barColor];\n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setTintColor:buttonColor];\n    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setShadowImage:[UIImage new]];\n//    [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];\n    \n    if ([UIFont fontWithName:fontName size:fontSize]) {\n        [[UINavigationBar appearanceWhenContainedIn:[self class], nil] setTitleTextAttributes:@{ NSForegroundColorAttributeName:textColor, NSFontAttributeName:[UIFont fontWithName:fontName size:fontSize] }];\n    }\n}\n\n#pragma mark - UIPageControl\n\n+ (void)customizePageControlWithPrimaryColor:(UIColor *)primaryColor\n                            withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIPageControl appearanceWhenContainedIn:[self class], nil] setCurrentPageIndicatorTintColor:primaryColor];\n    [[UIPageControl appearanceWhenContainedIn:[self class], nil] setPageIndicatorTintColor:[primaryColor colorWithAlphaComponent:0.4]];\n    [[UIPageControl appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setCurrentPageIndicatorTintColor:contentColor];\n    [[UIPageControl appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setPageIndicatorTintColor:[contentColor colorWithAlphaComponent:0.4]];\n    [[UIPageControl appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setCurrentPageIndicatorTintColor:contentColor];\n    [[UIPageControl appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setPageIndicatorTintColor:[contentColor colorWithAlphaComponent:0.4]];\n}\n\n#pragma mark - UIProgressView\n\n+ (void)customizeProgressViewWithPrimaryColor:(UIColor *)primaryColor\n                             withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIProgressView appearanceWhenContainedIn:[self class], nil] setProgressTintColor:primaryColor];\n    [[UIProgressView appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setProgressTintColor:contentColor];\n    [[UIProgressView appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setProgressTintColor:contentColor];\n    [[UIProgressView appearanceWhenContainedIn:[self class], nil] setTrackTintColor:[UIColor lightGrayColor]];\n    [[UIProgressView appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    [[UIProgressView appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n}\n\n+ (void)customizeProgressViewWithPrimaryColor:(UIColor *)primaryColor\n                            andSecondaryColor:(UIColor *)secondaryColor {\n    \n    [[UIProgressView appearanceWhenContainedIn:[self class], nil] setProgressTintColor:secondaryColor];\n    [[UIProgressView appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setProgressTintColor:secondaryColor];\n    [[UIProgressView appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setProgressTintColor:secondaryColor];\n    [[UIProgressView appearanceWhenContainedIn:[self class], nil] setTrackTintColor:[UIColor lightGrayColor]];\n    [[UIProgressView appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    [[UIProgressView appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n}\n\n#pragma mark - UISearchBar\n\n+ (void)customizeSearchBarWithPrimaryColor:(UIColor *)primaryColor withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UISearchBar appearanceWhenContainedIn:[self class], nil] setBarTintColor:primaryColor];\n    [[UISearchBar appearanceWhenContainedIn:[self class], nil] setBackgroundColor:primaryColor];\n    [[UISearchBar appearanceWhenContainedIn:[self class], nil] setTintColor:contentColor];\n    [[UISearchBar appearanceWhenContainedIn:[self class], nil] setBackgroundImage:[UIImage new] forBarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault];\n}\n\n#pragma mark - UISegmentedControl\n\n+ (void)customizeSegmentedControlWithPrimaryColor:(UIColor *)primaryColor\n                                 withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UISegmentedControl appearanceWhenContainedIn:[self class], nil] setTintColor:primaryColor];\n    [[UISegmentedControl appearanceWhenContainedIn:[self class], [UINavigationBar class], nil]\n     setTintColor:contentColor];\n    [[UISegmentedControl appearanceWhenContainedIn:[self class], [UIToolbar class], nil]\n     setTintColor:contentColor];\n}\n\n+ (void)customizeSegmentedControlWithPrimaryColor:(UIColor *)primaryColor\n                                     withFontName:(NSString *)fontName\n                                     withFontSize:(CGFloat)fontSize\n                                 withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UISegmentedControl appearanceWhenContainedIn:[self class], nil] setTintColor:primaryColor];\n    [[UISegmentedControl appearanceWhenContainedIn:[self class], [UINavigationBar class], nil]\n     setTintColor:contentColor];\n    [[UISegmentedControl appearanceWhenContainedIn:[self class], [UIToolbar class], nil]\n     setTintColor:contentColor];\n    \n    UIFont *font = [UIFont fontWithName:fontName size:fontSize];\n    if (font) {\n        [[UISegmentedControl appearanceWhenContainedIn:[self class], nil] setTitleTextAttributes:@{NSFontAttributeName:font}\n                                                                                        forState:UIControlStateNormal];\n    }\n}\n\n#pragma mark - UISlider\n\n+ (void)customizeSliderWithPrimaryColor:(UIColor *)primaryColor\n                       withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UISlider appearanceWhenContainedIn:[self class], nil] setMinimumTrackTintColor:primaryColor];\n    [[UISlider appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setMinimumTrackTintColor:contentColor];\n    [[UISlider appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setMinimumTrackTintColor:contentColor];\n    [[UISlider appearanceWhenContainedIn:[self class], nil] setMaximumTrackTintColor:[UIColor lightGrayColor]];\n    [[UISlider appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setMaximumTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    [[UISlider appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setMaximumTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n}\n\n+ (void)customizeSliderWithPrimaryColor:(UIColor *)primaryColor\n                      andSecondaryColor:(UIColor *)secondaryColor {\n    \n    [[UISlider appearanceWhenContainedIn:[self class], nil] setMinimumTrackTintColor:secondaryColor];\n    [[UISlider appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setMinimumTrackTintColor:secondaryColor];\n    [[UISlider appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setMinimumTrackTintColor:secondaryColor];\n    [[UISlider appearanceWhenContainedIn:[self class], nil] setMaximumTrackTintColor:[UIColor lightGrayColor]];\n    [[UISlider appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setMaximumTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    [[UISlider appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setMaximumTrackTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n}\n\n#pragma mark - UIStepper\n\n+ (void)customizeStepperWithPrimaryColor:(UIColor *)primaryColor\n                        withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIStepper appearanceWhenContainedIn:[self class], nil] setTintColor:primaryColor];\n    [[UIStepper appearanceWhenContainedIn:[self class], [UINavigationBar class], nil]\n     setTintColor:contentColor];\n    [[UIStepper appearanceWhenContainedIn:[self class], [UIToolbar class], nil]\n     setTintColor:contentColor];\n}\n\n#pragma mark - UISwitch\n\n+ (void)customizeSwitchWithPrimaryColor:(UIColor *)primaryColor {\n    \n    [[UISwitch appearanceWhenContainedIn:[self class], nil] setOnTintColor:primaryColor];\n    [[UISwitch appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setOnTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n    [[UISwitch appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setOnTintColor:[[primaryColor darkenByPercentage:0.25] flatten]];\n}\n\n+ (void)customizeSwitchWithPrimaryColor:(UIColor *)primaryColor\n                      andSecondaryColor:(UIColor *)secondaryColor {\n    \n    [[UISwitch appearanceWhenContainedIn:[self class], nil] setOnTintColor:secondaryColor];\n    [[UISwitch appearanceWhenContainedIn:[self class], [UINavigationBar class], nil] setOnTintColor:secondaryColor];\n    [[UISwitch appearanceWhenContainedIn:[self class], [UIToolbar class], nil] setOnTintColor:secondaryColor];\n}\n\n#pragma mark - UITabBar\n\n+ (void)customizeTabBarWithBarTintColor:(UIColor *)barTintColor\n                           andTintColor:(UIColor *)tintColor {\n    \n    [[UITabBar appearanceWhenContainedIn:[self class], nil] setBarTintColor:barTintColor];\n    [[UITabBar appearanceWhenContainedIn:[self class], nil] setTintColor:tintColor];\n}\n\n+ (void)customizeTabBarWithBarTintColor:(UIColor *)barTintColor\n                              tintColor:(UIColor *)tintColor\n                               fontName:(NSString *)fontName\n                               fontSize:(CGFloat)fontSize {\n    \n    [[UITabBar appearanceWhenContainedIn:[self class], nil] setBarTintColor:barTintColor];\n    [[UITabBar appearanceWhenContainedIn:[self class], nil] setTintColor:tintColor];\n    \n    UIFont *font = [UIFont fontWithName:fontName size:fontSize];\n    if (font) {\n        [[UITabBarItem appearanceWhenContainedIn:[self class], nil] setTitleTextAttributes:@{NSFontAttributeName:font}\n                                                                                  forState:UIControlStateNormal];\n    }\n}\n\n#pragma mark - UIToolbar\n\n+ (void)customizeToolbarWithPrimaryColor:(UIColor *)primaryColor\n                        withContentStyle:(UIContentStyle)contentStyle {\n    \n    UIColor *contentColor;\n    switch (contentStyle) {\n        case UIContentStyleContrast: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n        case UIContentStyleLight: {\n            contentColor = [UIColor whiteColor];\n            break;\n        }\n        case UIContentStyleDark: {\n            contentColor = FlatBlackDark;\n            break;\n        }\n        default: {\n            contentColor = ContrastColor(primaryColor, NO);\n            break;\n        }\n    }\n    \n    [[UIToolbar appearanceWhenContainedIn:[self class], nil] setTintColor:contentColor];\n    [[UIToolbar appearanceWhenContainedIn:[self class], nil] setBarTintColor:primaryColor];\n    [[UIToolbar appearanceWhenContainedIn:[self class], nil] setClipsToBounds:YES];\n}\n\n\n#pragma mark - Private Methods\n\n- (UIStatusBarStyle)contrastingStatusBarStyleForColor:(UIColor *)backgroundColor {\n    \n    //Calculate Luminance\n    CGFloat luminance;\n    CGFloat red, green, blue;\n    \n    //Check for clear or uncalculatable color and assume white\n    if (![backgroundColor getRed:&red green:&green blue:&blue alpha:nil]) {\n        return UIStatusBarStyleDefault;\n    }\n    \n    //Relative luminance in colorimetric spaces - http://en.wikipedia.org/wiki/Luminance_(relative)\n    red *= 0.2126f; green *= 0.7152f; blue *= 0.0722f;\n    luminance = red + green + blue;\n    \n    return (luminance > 0.6f) ? UIStatusBarStyleDefault : UIStatusBarStyleLightContent;\n}\n\n#pragma GCC diagnostic pop\n\n@end\n"
  },
  {
    "path": "Pod/Classes/Swift/ChameleonShorthand.swift",
    "content": "\n//  ChameleonShorthand.swift\n\n/*\n \n The MIT License (MIT)\n \n Copyright (c) 2014-2015 Vicc Alexander.\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n \n */\n\nimport UIKit\n\n// MARK: - UIColor Methods Shorthand\n\n/**\nCreates and returns a complementary flat color object 180 degrees away in the HSB colorspace from the specified color.\n\n- parameter color: The color whose complementary color is being requested.\n\n- returns: A flat UIColor object in the HSB colorspace.\n*/\npublic func ComplementaryFlatColorOf(_ color: UIColor) -> UIColor {\n    return UIColor(complementaryFlatColorOf: color)\n}\n\n/**\n Returns a randomly generated flat color object with an alpha value of 1.0 in either a light or dark shade.\n \n - parameter shade: Specifies whether the randomly generated flat color should be a light or dark shade.\n \n - returns: A flat UIColor object in the HSB colorspace.\n */\npublic func RandomFlatColorWithShade(_ shade: UIShadeStyle) -> UIColor {\n    return UIColor(randomFlatColorOf: shade)\n}\n\n/**\n Creates and returns either a black or white color object depending on which contrasts more with a specified color.\n \n - parameter backgroundColor: The specified color of the contrast color that is being requested.\n - parameter returnFlat:      Pass **true** to return flat color objects.\n \n - returns: A UIColor object in the HSB colorspace.\n */\npublic func ContrastColorOf(_ backgroundColor: UIColor, returnFlat: Bool) -> UIColor {\n    return UIColor(contrastingBlackOrWhiteColorOn: backgroundColor, isFlat: returnFlat)\n}\n\n/**\n Creates and returns a gradient as a color object with an alpha value of 1.0\n \n - parameter gradientStyle: Specifies the style and direction of the gradual blend between colors.\n - parameter frame:         The frame rectangle, which describes the view’s location and size in its superview’s coordinate system.\n - parameter colors:        An array of color objects used to create a gradient.\n \n - returns: A UIColor object using colorWithPattern.\n */\npublic func GradientColor(_ gradientStyle: UIGradientStyle, frame: CGRect, colors: [UIColor]) -> UIColor {\n    return UIColor(gradientStyle: gradientStyle, withFrame: frame, andColors: colors)\n}\n\npublic func HexColor(_ hexString: String, _ alpha: CGFloat = 1.0) -> UIColor? {\n    return UIColor(hexString: hexString, withAlpha: alpha)\n}\n\n/**\n Returns the average color generated by averaging the colors of a specified image.\n \n - parameter image: A specified UIImage.\n \n - returns: A flat UIColor object in the HSB colorspace.\n */\npublic func AverageColorFromImage(_ image: UIImage) -> UIColor {\n    return UIColor(averageColorFrom: image)\n}\n\n// MARK: - Array Methods Shorthand\n\n// TODO Array Extension needed ;)\n\n/**\nGenerates and creates an array of 5 color objects in the HSB colorspace from the specified color.\n\n- parameter colorSchemeType: The color scheme with which to select colors using a specified color.\n- parameter color:           The specified color which the color scheme is built around.\n- parameter isFlatScheme:    Pass *true* to return flat color objects.\n\n- returns: An array of 5 color objects in the HSB colorspace.\n*/\npublic func ColorSchemeOf(_ colorSchemeType:ColorScheme, color:UIColor, isFlatScheme:Bool) -> [UIColor] {\n    return NSArray(ofColorsWith: colorSchemeType, using: color, withFlatScheme: isFlatScheme) as! [UIColor]\n}\n\n/**\nGenerates and creates an array of 5 color objects in the HSB colorspace that appear most often in a specified image.\n\n- parameter image:          The specified image which the color scheme is built around.\n- parameter withFlatScheme: Pass **true** to return flat color objects.\n\n- returns: An array of 5 color objects in the HSB colorspace.\n*/\npublic func ColorsFromImage(_ image: UIImage, withFlatScheme: Bool) -> [UIColor] {\n    // TODO: Remove forced casting\n    return NSArray(ofColorsFrom: image, withFlatScheme: withFlatScheme) as! [UIColor]\n}\n\n\n// MARK: - Special Colors Shorthand\n\n/**\nReturns a randomly generated flat color object whose alpha value is 1.0.\n\n- returns: A flat UIColor object in the HSB colorspace.\n*/\npublic func RandomFlatColor() -> UIColor {\n    return UIColor.randomFlat\n}\n\npublic func ClearColor() -> UIColor {\n    return UIColor.clear\n}\n\n\n// MARK: - Light Shades Shorthand\n\npublic func FlatBlack() -> UIColor {\n\treturn UIColor.flatBlack \n}\n\npublic func FlatBlue() -> UIColor {\n\treturn UIColor.flatBlue \n}\n\npublic func FlatBrown() -> UIColor {\n\treturn UIColor.flatBrown \n}\n\npublic func FlatCoffee() -> UIColor {\n\treturn UIColor.flatCoffee \n}\n\npublic func FlatForestGreen() -> UIColor {\n\treturn UIColor.flatForestGreen \n}\n\npublic func FlatGray() -> UIColor {\n\treturn UIColor.flatGray \n}\n\npublic func FlatGreen() -> UIColor {\n\treturn UIColor.flatGreen \n}\n\npublic func FlatLime() -> UIColor {\n\treturn UIColor.flatLime \n}\n\npublic func FlatMagenta() -> UIColor {\n\treturn UIColor.flatMagenta \n}\n\npublic func FlatMaroon() -> UIColor {\n\treturn UIColor.flatMaroon \n}\n\npublic func FlatMint() -> UIColor {\n\treturn UIColor.flatMint \n}\n\npublic func FlatNavyBlue() -> UIColor {\n\treturn UIColor.flatNavyBlue \n}\n\npublic func FlatOrange() -> UIColor {\n\treturn UIColor.flatOrange \n}\n\npublic func FlatPink() -> UIColor {\n\treturn UIColor.flatPink \n}\n\npublic func FlatPlum() -> UIColor {\n\treturn UIColor.flatPlum \n}\n\npublic func FlatPowderBlue() -> UIColor {\n\treturn UIColor.flatPowderBlue \n}\n\npublic func FlatPurple() -> UIColor {\n\treturn UIColor.flatPurple \n}\n\npublic func FlatRed() -> UIColor {\n\treturn UIColor.flatRed \n}\n\npublic func FlatSand() -> UIColor {\n\treturn UIColor.flatSand \n}\n\npublic func FlatSkyBlue() -> UIColor {\n\treturn UIColor.flatSkyBlue \n}\n\npublic func FlatTeal() -> UIColor {\n\treturn UIColor.flatTeal \n}\n\npublic func FlatWatermelon() -> UIColor {\n\treturn UIColor.flatWatermelon \n}\n\npublic func FlatWhite() -> UIColor {\n\treturn UIColor.flatWhite \n}\n\npublic func FlatYellow() -> UIColor {\n\treturn UIColor.flatYellow \n}\n\n// MARK: - Chameleon - Dark Shades Shorthand\n\npublic func FlatBlackDark() -> UIColor {\n\treturn UIColor.flatBlackDark \n}\n\npublic func FlatBlueDark() -> UIColor {\n\treturn UIColor.flatBlueDark\n}\n\npublic func FlatBrownDark() -> UIColor {\n\treturn UIColor.flatBrownDark\n}\n\npublic func FlatCoffeeDark() -> UIColor {\n\treturn UIColor.flatCoffeeDark\n}\n\npublic func FlatForestGreenDark() -> UIColor {\n\treturn UIColor.flatForestGreenDark\n}\n\npublic func FlatGrayDark() -> UIColor {\n\treturn UIColor.flatGrayDark\n}\n\npublic func FlatGreenDark() -> UIColor {\n\treturn UIColor.flatGreenDark\n}\n\npublic func FlatLimeDark() -> UIColor {\n\treturn UIColor.flatLimeDark\n}\n\npublic func FlatMagentaDark() -> UIColor {\n\treturn UIColor.flatMagentaDark\n}\n\npublic func FlatMaroonDark() -> UIColor {\n\treturn UIColor.flatMaroonDark\n}\n\npublic func FlatMintDark() -> UIColor {\n\treturn UIColor.flatMintDark\n}\n\npublic func FlatNavyBlueDark() -> UIColor {\n\treturn UIColor.flatNavyBlueDark\n}\n\npublic func FlatOrangeDark() -> UIColor {\n\treturn UIColor.flatOrangeDark\n}\n\npublic func FlatPinkDark() -> UIColor {\n\treturn UIColor.flatPinkDark\n}\n\npublic func FlatPlumDark() -> UIColor {\n\treturn UIColor.flatPlumDark\n}\n\npublic func FlatPowderBlueDark() -> UIColor {\n\treturn UIColor.flatPowderBlueDark\n}\n\npublic func FlatPurpleDark() -> UIColor {\n\treturn UIColor.flatPurpleDark\n}\n\npublic func FlatRedDark() -> UIColor {\n\treturn UIColor.flatRedDark\n}\n\npublic func FlatSandDark() -> UIColor {\n\treturn UIColor.flatSandDark\n}\n\npublic func FlatSkyBlueDark() -> UIColor {\n\treturn UIColor.flatSkyBlueDark\n}\n\npublic func FlatTealDark() -> UIColor {\n\treturn UIColor.flatTealDark\n}\n\npublic func FlatWatermelonDark() -> UIColor {\n\treturn UIColor.flatWatermelonDark\n}\n\npublic func FlatWhiteDark() -> UIColor {\n\treturn UIColor.flatWhiteDark\n}\n\npublic func FlatYellowDark() -> UIColor {\n\treturn UIColor.flatYellowDark\n}\n"
  },
  {
    "path": "README.md",
    "content": "<p align=\"center\">\n  <img src=\"http://i.imgur.com/BwqHhB4.png\" alt=\"Chameleon by Vicc Alexander\"/>\n</p>\n\n<p align=\"center\">\n    <img src=\"https://img.shields.io/cocoapods/dt/ChameleonFramework.svg?maxAge=86400\" alt=\"Downloads\"/>  \n    <img src=\"https://img.shields.io/cocoapods/at/ChameleonFramework.svg?maxAge=86400\" alt=\"Apps\"/>\n    <img src=\"https://img.shields.io/badge/platform-iOS%208%2B-blue.svg?style=flat\" alt=\"Platform: iOS 8+\"/>\n    <a href=\"https://developer.apple.com/swift\"><img src=\"https://img.shields.io/badge/language-swift%203-4BC51D.svg?style=flat\" alt=\"Language: Swift 3\" /></a>\n    <a href=\"https://github.com/Carthage/Carthage\"><img src=\"https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat\" alt=\"Carthage compatible\" /></a>\n    <a href=\"https://cocoapods.org/pods/ChameleonFramework\"><img src=\"https://cocoapod-badges.herokuapp.com/v/ChameleonFramework/badge.png\" alt=\"CocoaPods compatible\" /></a>\n    <img src=\"http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat\" alt=\"License: MIT\" /> <br><br>\n</p>\n\n## Swift 3\n\nTo use the Swift 3 version, add this to your Podfile (until 2.2 or higher is released):\n```ruby\npod 'ChameleonFramework/Swift', :git => 'https://github.com/ViccAlexander/Chameleon.git'\n```\n\n## Introduction\n\n**Chameleon** is a lightweight, yet powerful, color framework for iOS (Objective-C & Swift). It is built on the idea that software applications should function effortlessly while simultaneously maintaining their beautiful interfaces.\n\nWith Chameleon, you can easily stop tinkering with RGB values, wasting hours figuring out the right color combinations to use in your app, and worrying about whether your text will be readable on the various background colors of your app. \n\n### Features\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/lA4J37o.png\" alt=\"Features\"/>\n</p>\n\n### App Showcase\n\n###### In an upcoming update we'll begin showcasing some of the best apps and companies making use of Chameleon. If you'd like to see your app featured in this section, make sure to add it [here](https://airtable.com/shrr1WK6dLQBZfXV0).\n\n## Table of Contents\n[● Product Features](https://github.com/ViccAlexander/Chameleon#-product-features)  \n[● Requirements](https://github.com/ViccAlexander/Chameleon#%EF%B8%8F-requirements)  \n[● License](https://github.com/ViccAlexander/Chameleon#-license)  \n[● Contributions](https://github.com/ViccAlexander/Chameleon#-contributions)   \n[● Documentation](https://github.com/ViccAlexander/Chameleon#-documentation)  \n[● Storyboard Add-On](https://github.com/ViccAlexander/Chameleon#storyboard-add-on)  \n[● Author](https://github.com/ViccAlexander/Chameleon#-author)   \n[● To Do List](https://github.com/ViccAlexander/Chameleon#-to-do-list)  \n[● Change Log](https://github.com/ViccAlexander/Chameleon#-change-log)  \n\n## 🌟 Product Features\n\n### 100% Flat & Gorgeous\n\nChameleon features over 24 hand-picked colors that come in both light and dark shades. \n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/wkGGWkN.png\" alt=\"Swatches\"/>\n</p>\n\n### Flat Color Schemes\n\nChameleon equips you with 3 different classes of flat color schemes that can be generated from a flat or non-flat color. *In the examples below, the white stars indicate the color used to generate the schemes.*\n\n###### Analogous Flat Color Scheme\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/cPAkSWA.png\" alt=\"Analogous Scheme\"/>\n</p>\n\n###### Complementary Flat Color Scheme\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/kisXJsu.png\" alt=\"Complementary Scheme\"/>\n</p>\n\n###### Triadic Flat Color Scheme\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/Cy452jQ.png\" alt=\"Triadic Scheme\"/>\n</p>\n\n### Contrasting Text\nWith a plethora of color choices available for text, it's difficult to choose one that all users will appreciate and be able to read. Whether you're in doubt of your text and tint color choices, or afraid to let users customize their profile colors because it may disturb the legibility or usability of the app, you no longer have to worry. With Chameleon, you can ensure that all text stands out independent of the background color.\n\nOh... Chameleon works with the status bar as well. : )\n\n<p align=\"center\">\n  <img src=\"http://s29.postimg.org/i1syd7bkn/Contrast.gif\" alt=\"Status Bar\"/>\n</p>\n\n### Themes ![Beta](http://i.imgur.com/JyYiUJq.png)\n\nChameleon now allows you easily theme your app with as little as **one line of code**. You can set a theme for all your views, and for specific views as well.\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/ypfqpIn.png\" alt=\"Themes\"/>\n</p>\n\n### Colors From Images \n\nChameleon allows you to seamlessly extract non-flat or flat color schemes from images without hassle. You can also generate the average color from an image with ease. You can now mold the UI colors of a profile, or product based on an image!\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/6JjFzHo.png\" alt=\"Colors from images\"/>\n</p>\n\n### Gradient Colors\nWith iOS 7 & 8, Apple mainstreamed flat colors. Now, with the release of iOS 9, Chameleon strives to elevate the game once more. Say hello to gradient colors. Using one line of code, you can easily set any object's color properties to a gradient (background colors, text colors, tint colors, etc). Other features, like Chameleon's contrasting feature, can also be applied to create a seamless product. Experimentation is encouraged, and gutsiness is applauded!\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/7hTa5Pd.png\" alt=\"Gradients\"/>\n</p>\n\n![](http://i.imgur.com/2jN72eh.png)\n\n### Xcode Quick Help Documentation\n\nChameleon's documentation, while written as clearly and concisely as possible may still render some slightly confused. But don't fret! Staying true to our vision of simplifying the entire color process, we added Xcode Quick Help's Documentation Support! Simply highlight a Chameleon method or tap it with three fingers to find out more about what it is and what it does!\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/p4KkQ9X.png\" alt=\"Xcode Quick Help Documentation\"/>\n</p>\n  \n### Palettes\n\nIf you're like us and love to use storyboards, Chameleon's got you covered. We've provided you with a quick and easy way to access Chameleon colors right from Storyboard, and any other app that uses the color picker (i.e. TextEdit). In addition you can even import the palette directly into Photoshop and Sketch.\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/5lrB3BA.png\" alt=\"Chameleon Palette\"/>\n</p>\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/QhhPFHY.gif\" alt=\"Chameleon Palette\"/>\n</p>\n\n## ⚠️ Requirements\n\n* Objective-C or Swift\n* Requires a minimum of iOS 7.0 for Objective-C (No active development for anything earlier, but may work with 6.0) and a minimum of iOS 8.0 for Swift.\n* Requires Xcode 6.3 for use in any iOS Project\n\n## 🔑 License\nChameleon is released and distributed under the terms and conditions of the [MIT license](https://github.com/ViccAlexander/Chameleon/blob/master/LICENSE.md).\n\n## 👥 Contributions\nIf you run into problems, please open up an issue. We also actively welcome pull requests. By contributing to Chameleon you agree that your contributions will be licensed under its MIT license.\n\nIf you use Chameleon in your app we would love to hear about it! Drop Vicc a line on [twitter](http://twitter.com/viccsmind).\n\n## 📗 Documentation\nAll methods, properties, and types available in Chameleon are documented below.   \n\n##### Documentation Table of Contents  \n[● Installation](https://github.com/ViccAlexander/Chameleon#installation)  \n[● Palettes](https://github.com/ViccAlexander/Chameleon#palettes)  \n[● Usage](https://github.com/ViccAlexander/Chameleon#usage)  \n[● UIColor Methods](https://github.com/ViccAlexander/Chameleon#uicolor-methods)  \n[● Colors From Images](https://github.com/ViccAlexander/Chameleon#colors-from-images)  \n[● UIStatusBarStyle Methods](https://github.com/ViccAlexander/Chameleon#uistatusbarstyle-methods)  \n[● Color Scheme Methods](https://github.com/ViccAlexander/Chameleon#color-schemes-methods)  \n[● Theme Methods](https://github.com/ViccAlexander/Chameleon#theme-methods)  \n\n### Installation\n\n###### Note: Swift 3 version maintained in a separate branch until it's release.\n\n#### CocoaPods Installation\nChameleon is now available on [CocoaPods](http://cocoapods.org). Simply add the following to your project Podfile, and you'll be good to go.\n\n###### Objective-C\n```ruby\nuse_frameworks!\n\npod 'ChameleonFramework'\n```\n###### Swift\n```ruby\nuse_frameworks!\n\npod 'ChameleonFramework/Swift'\n```\n\n=======\n#### Carthage Installation\nAdd this to your Cartfile:\n```ruby\ngithub \"ViccAlexander/Chameleon\"\n```\n\n=======\n#### Manual Installation\nIf you rather install this framework manually, just drag and drop the Chameleon folder into your project, and make sure you check the following boxes. Note: Don't forget to manually import the *QuartzCore* & *CoreGraphics* framework if you plan on using gradient colors!\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/gDXaF5F.png\" alt=\"Manual Installation\"/>\n</p>\n\nIf you're working with Swift and are manually installing Chameleon, there's an additional step. Make sure to download and drag the following file, [ChameleonShorthand.swift](https://github.com/ViccAlexander/Chameleon/blob/master/Pod/Classes/Swift/ChameleonShorthand.swift), into your project, and you'll be good to go.\n\n#### Palettes\n##### Storyboard Add-On\nUsing Chameleon's awesome palette in Storyboard is easy! Simply download and install [Chameleon Palette](https://github.com/ViccAlexander/Chameleon/blob/master/Extras/Chameleon.dmg?raw=true).\n\nOnce installed, make sure to restart Xcode. You'll find all of Chameleon's colors in the Palette Color Picker whenever they're needed! :)\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/XqpFUSt.png\" alt=\"Chameleon Palette\"/>\n</p>\n\n<p align=\"center\">\n  <img src=\"http://i.imgur.com/QhhPFHY.gif\" alt=\"Chameleon Palette\"/>\n</p>\n\n##### Photoshop Add-On\nUsing Chameleon's awesome palette in Sketch is easy! Simply download and install [Photoshop Palette](https://github.com/ViccAlexander/Chameleon/blob/master/Extras/Chameleon_Photoshop.aco?raw=true).\n\n##### Sketch Add-On\nUsing Chameleon's awesome palette in Sketch is easy! Simply download and install [Sketch Palette](https://github.com/ViccAlexander/Chameleon/blob/master/Extras/Chameleon.sketchpalette?raw=true).\n\n### Usage\nTo use the myriad of features in Chameleon, include the following import:\n\n###### If you installed Chameleon using CocoaPods:\n\n###### Objective-C\n\n``` objective-c\n#import <ChameleonFramework/Chameleon.h>\n```\n\n###### Swift:\n``` swift\nimport ChameleonFramework\n```\n\n###### If you installed Chameleon using Carthage:\n\n``` swift\nimport Chameleon\n```\n\n###### If you installed Chameleon manually:\n``` objective-c\n#import \"Chameleon.h\"\n```\n### UIColor Methods\n[● Flat Colors](https://github.com/ViccAlexander/Chameleon#flat-colors)   \n[● Random Colors](https://github.com/ViccAlexander/Chameleon#random-colors)  \n[● Complementary Colors](https://github.com/ViccAlexander/Chameleon#complementary-colors)  \n[● Contrasting Colors](https://github.com/ViccAlexander/Chameleon#contrasting-colors)  \n[● Flattening Non-Flat Colors](https://github.com/ViccAlexander/Chameleon#flattening-non-flat-colors)  \n[● Gradient Colors](https://github.com/ViccAlexander/Chameleon#gradient-colors-1)   \n[● Hex Colors](https://github.com/ViccAlexander/Chameleon#hex-colors-)  \n[● Lighter & Darker Colors](https://github.com/ViccAlexander/Chameleon#lighter-and-darker-colors-)\n\n#### Flat Colors\nUsing a flat color is as easy as adding any other color in your app (if not easier). For example, to set a view's background property to a flat color with a dark shade, you simply have to do the following:\n\n##### Normal Convention:\n\n###### Objective-C\n``` objective-c\nself.view.backgroundColor = [UIColor flatGreenColorDark];\n```\n###### Swift\n``` swift\nview.backgroundColor = UIColor.flatGreenDark\n```\n\n##### Chameleon Shorthand:\n\n###### Objective-C\n``` objective-c\nself.view.backgroundColor = FlatGreenDark;\n```\n###### Swift\n``` swift\nview.backgroundColor = FlatGreenDark()\n```\n\nSetting the color for a light shade is the same, except without adding the *Dark* suffix. (By default, all colors without a *Dark* suffix are light shades). For example:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\nself.view.backgroundColor = [UIColor flatGreenColor];\n```\n###### Swift\n``` swift\nview.backgroundColor = UIColor.flatGreen\n```\n\n##### Chameleon Shorthand:\n\n###### Objective-C\n``` objective-c\nself.view.backgroundColor = FlatGreen;\n```\n###### Swift\n``` swift\nview.backgroundColor = FlatGreen()\n```\n\n#### Random Colors\nThere are four ways to generate a random flat color. If you have no preference as to whether you want a light shade or a dark shade, you can do the following:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\nself.view.backgroundColor = [UIColor randomFlatColor];\n```\n###### Swift\n``` swift\nview.backgroundColor = UIColor.randomFlat\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nself.view.backgroundColor = RandomFlatColor;\n```\n\n###### Swift\n``` swift\nview.backgroundColor = RandomFlatColor()\n```\n\nOtherwise, you can perform the following method call to specify whether it should return either a light or dark shade:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[UIColor colorWithRandomFlatColorOfShadeStyle:UIShadeStyleLight];\n```\n\n###### Swift\n``` swift\nUIColor(randomFlatColorOfShadeStyle:.Light)\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nRandomFlatColorWithShade(UIShadeStyleLight);\n```\n###### Swift\n``` swift\nRandomFlatColorWithShade(.Light)\n```\n\n**UIShadeStyles:**  \n- `UIShadeStyleLight` (`UIShadeStyle.Light` in Swift)\n- `UIShadeStyleDark` (`UIShadeStyle.Dark` in Swift)\n\n##### Choosing A Random Color From a List of Colors ![New](http://i.imgur.com/BX3b9ES.png)\n\nIf you need to be a bit more selective and only display a random color from a set list of colors, you can use the following method:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[UIColor colorWithRandomColorInArray:@[FlatWhite, FlatRed, FlatBlue]];\n```\n\n###### Swift\n``` swift\nTBA\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nRandomFlatColorInArray(@[FlatWhite, FlatRed, FlatBlue]) \n```\n###### Swift\n``` swift\nTBA\n```\n\n##### Choosing A Random Flat Color But Excluding A Few ![New](http://i.imgur.com/BX3b9ES.png)\n\nLast but certainly not least, you can also choose form the list of random colors and exclude the ones you don't want. For example say you want to randomly select a flat color for a user's profile, but don't want to use any blacks, grays, or whites. You can simply do:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[UIColor colorWithRandomFlatColorExcludingColorsInArray:@[FlatBlack, FlatBlackDark, FlatGray, FlatGrayDark, FlatWhite, FlatWhiteDark]];\n```\n\n###### Swift\n``` swift\nTBA\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nRandomFlatColorExcluding(@[FlatBlack, FlatBlackDark, FlatGray, FlatGrayDark, FlatWhite, FlatWhiteDark]) \n```\n###### Swift\n``` swift\nTBA\n```\n\n#### Complementary Colors\nTo generate a complementary color, perform the following method call, remembering to specify the color whose complement you want:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[UIColor colorWithComplementaryFlatColorOf:(UIColor *)someUIColor];\n```\n\n###### Swift\n``` swift\nUIColor(complementaryFlatColorOf:someUIColor)\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nComplementaryFlatColorOf(color);\n```\n\n###### Swift\n``` swift\nComplementaryFlatColorOf(color)\n```\n\n#### Contrasting Colors\nThe contrasting color feature returns either a dark color a light color depending on what the Chameleon algorithm believes is a better choice. You can specify whether the dark or light colors are flat: *`([UIColor flatWhiteColor]` & `[UIColor flatBlackColorDark]`)* or non-flat *(`[UIColor whiteColor]` & `[UIColor blackColor]`).*\n\nIf you're trying to set a `UILabel's textColor` property, make sure you provide the `UILabel's backgroundColor`. If your label has a clear `backgroundColor`, just provide the `backgroundColor` property of the object directly behind the `UILabel`.\n\nHere's an example:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[UIColor colorWithContrastingBlackOrWhiteColorOn:(UIColor *)backgroundColor isFlat:(BOOL)flat];\n```\n\n###### Swift\n``` swift\nUIColor(contrastingBlackOrWhiteColorOn:UIColor!, isFlat:Bool)\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nContrastColor(backgroundColor, isFlat);\n```\n\n###### Swift\n``` swift\nContrastColor(backgroundColor, isFlat)\n```\n\n#### Flattening Non-Flat Colors\nAs mentioned previously, this feature is unique to Chameleon. While this feature is in its early stages of operation and can be improved, it is accurate in finding the nearest flat version of any color in the spectrum, and very simple to use:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[(UIColor *)color flatten];\n```\n\n###### Swift\n``` swift\nUIColor.pink.flatten()\n```\n\n#### Gradient Colors\nUsing a gradient to color an object usually requires a couple of lines of code plus many more lines to superimpose smart contrasting text. Thankfully, Chameleon takes care of that for you. We've introduced a new way to have multicolored objects, and that's with gradients!\n\n##### Gradient Styles\nChameleon provides three simple gradient styles. Gradients can be created from any number of colors you desire as long as at least two colors are provided. Don't forget that the contrasting text feature is also compatible with gradient colors!\n\n**UIGradientStyles:**\n* `UIGradientStyleLeftToRight` (UIGradientStyle.LeftToRight in Swift)\n* `UIGradientStyleTopToBottom` (UIGradientStyle.TopToBottom in Swift)\n* `UIGradientStyleRadial` (UIGradientStyle.Radial in Swift)\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[UIColor colorWithGradientStyle:(UIGradientStyle)gradientStyle withFrame:(CGRect)frame andColors:(NSArray<UIColor *> *)colors];\n```\n\n###### Swift\n``` swift\nUIColor(gradientStyle:UIGradientStyle, withFrame:CGRect, andColors:[UIColor])\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nGradientColor(gradientStyle, frame, colors);\n```\n\n###### Swift\n``` swift\nGradientColor(gradientStyle, frame, colors)\n```\n\n**Objective-C Note**: If you use the Chameleon Shorthand, and use the `NSArray` literal ```@[]``` to set the array of colors, make sure you add parenthesis around it, or else you'll get an error.\n\nNote: `UIGradientStyleRadial` only uses a maximum of 2 colors at the moment. So if more colors are provided, they will not show.\n\n#### Hex Colors\n\nOne of the most requested features, *hex colors*, is now available. You can simply provide a hex string with or without a *#* sign:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[UIColor colorWithHexString:(NSString *)string];\n```\n\n###### Swift\n``` swift\nUIColor(hexString:string)\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nHexColor(hexString)\n```\n\n###### Swift\n``` swift\nHexColor(hexString)\n```\n#### Hex Values ![New](http://i.imgur.com/BX3b9ES.png)\n\nRetrieving the `hexValue` of a UIColor is just as easy.\n\n###### Objective-C\n``` objective-c\n[FlatGreen hexValue]; //Returns @\"2ecc71\"\n```\n\n###### Swift\n``` swift\nFlatGreen.hexValue //Returns @\"2ecc71\"\n```\n\n#### Lighter and Darker Colors\n\nSometimes all you need is a color a shade lighter or a shade darker. Well for those rare, but crucial moments, Chameleon's got you covered. You can now lighten any color the following way:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[color lightenByPercentage:(CGFloat)percentage];\n```\n\n###### Swift\n``` swift\ncolor.lightenByPercentage(percentage: CGFloat)\n```\n\nYou can also generate a darker version of a color:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[color darkenByPercentage:(CGFloat)percentage];\n```\n\n###### Swift\n``` swift\ncolor.darkenByPercentage(percentage: CGFloat)\n```\n\n### Colors From Images\n\nChameleon now supports the extraction of colors from images. You can either generate both flat and non-flat color schemes from an image, or easily extract the average color.\n\nTo generate a color scheme simply do the following:\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[NSArray arrayOfColorsFromImage:(UIImage *)image withFlatScheme:(BOOL)flatScheme];\n```\n\n###### Swift (**Array extension missing**)\n``` swift\nNSArray(ofColorsFromImage: UIImage, withFlatScheme: Bool)\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nColorsFromImage(image, isFlatScheme)\n```\n\n###### Swift\n``` swift\nColorsFromImage(image, isFlatScheme)\n```\n\nTo extract the average color from an image, you can also do:\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[UIColor colorWithAverageColorFromImage:(UIImage *)image];\n```\n\n###### Swift\n``` swift\nUIColor(averageColorFromImage: UIImage)\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nAverageColorFromImage(image)\n```\n\n###### Swift\n``` swift\nAverageColorFromImage(image)\n```\n\n### UIStatusBarStyle Methods\n#### Contrasting UIStatusBarStyle\nMany apps on the market, even the most popular ones, overlook this aspect of a beautiful app: the status bar style. Chameleon has done something no other framework has... it has created a new status bar style: `UIStatusBarStyleContrast`. Whether you have a `ViewController` embedded in a `NavigationController`, or not, you can do the following:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[self setStatusBarStyle:UIStatusBarStyleContrast];\n```\n\n###### Swift\n``` swift\nself.setStatusBarStyle(UIStatusBarStyleContrast)\n```\n###### **Note**: Make sure that the key *View controller-based status bar appearance* in **Info.plist** is set to `YES`.\n\n### Color Schemes Methods\n###### **Note**: *Due to the limited number of flat colors currently available, color schemes may return results that reuse certain flat colors. Because of this redundancy, we have provided an option to return either a flat color scheme or a non-flat color scheme until more flat colors are added to the inventory.*\n\nThe initial color can be either a non-flat color or flat color. Chameleon will return an `NSArray` of 5 `UIColors` in which the original color will be the third object of the scheme. This allows for Chameleon to designate the colors of the color scheme (2 colors counter-clockwise and 2 clockwise from the initial color), and thus, the chosen colors are aligned specifically in that order. \n\n#### Analogous Color Scheme\nAn analogous color scheme uses three adjacent colors on the color wheel. According to Wikipedia, it’s best used with either warm or cool colors, creating a cohesive collection with certain temperature qualities as well as proper color harmony; however, this particular scheme lacks contrast and is less vibrant than complementary schemes. Within the scheme, choose one color to dominate and two to support. The remaining two colors should be used (along with black, white or gray) as accents.\n\n#### Complementary Color Scheme\nA complementary color scheme uses opposite colors on the color wheel. To put into slightly more technical terms, they are two colors that, when combined, produce a neutral color. Complementary colors are tricky to use extensively, but work well when you want a point of emphasis. Complementary colors are generally not favorable to use for text. \n\n#### Triadic Color Scheme\nA triadic scheme uses evenly spaced colors on the color wheel. The colors tend to be richly vivid and offer a higher degree of contrast while, at the same time, retain color harmony. Let one color dominate and use the two others for accent.\n\n#### Getting Colors in a Color Scheme\nTo retrieve an array of colors, first make sure to initialize an NSMutableArray (in case you want to use the same array to replace with different colors later):\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\nNSMutableArray *colorArray = [NSMutableArray alloc] initWithArray:[NSArray arrayOfColorsWithColorScheme:(ColorScheme)colorScheme \n                                                                                                    with:(UIColor *)color \n                                                                                             flatScheme:(BOOL)isFlatScheme]];\n```\n\n###### Swift\n``` swift\nvar colorArray = NSArray(ofColorsWithColorScheme:ColorScheme, with:UIColor!, flatScheme:Bool)\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nNSMutableArray *colorArray = [[NSMutableArray alloc] initWithArray:ColorScheme(colorSchemeType, color, isFlatScheme)];\n```\n\n###### Swift\n``` swift\nvar colorArray = ColorSchemeOf(colorSchemeType, color, isFlatScheme)\n```\n\n##### Example:\nAssuming you want to generate an analogous color scheme for the light shade of Flat Red, perform the following method call:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\nNSMutableArray *colorArray = [NSMutableArray alloc] initWithArray:[NSArray arrayOfColorsWithColorScheme:ColorSchemeAnalogous\n                                                                                                    with:[UIColor flatRedColor] \n                                                                                             flatScheme:YES]];\n```\n\n###### Swift\n``` swift\nvar colorArray = NSArray(ofColorsWithColorScheme:ColorScheme.Analogous, with:UIColor.flatRed, flatScheme:true)\n```\n\n##### Chameleon Shorthand:\n###### Objective-C\n``` objective-c\nNSMutableArray *colorArray = [[NSMutableArray alloc] initWithArray:ColorScheme(ColorSchemeAnalogous, FlatRed, YES)];\n```\n\n###### Swift\n``` swift\nvar colorArray = ColorSchemeOf(ColorScheme.Analogous, FlatRed(), true)\n```  \n\nYou can then retrieve each individual color the same way you would normally retrieve any object from an array:\n\n###### Objective-C\n```objective-c\nUIColor *firstColor = colorArray[0];\n```\n\n###### Swift\n``` swift\nvar firstColor = colorArray[0] as! UIColor\n```  \n\n### Theme Methods\n\nWith Chameleon, you can now specify a global color theme with simply one line of code (It even takes care of dealing with the status bar style as well)! Here's one of three methods to get you started. `ContentStyle` allows you to decide whether text and a few other elements should be white, black, or whichever contrasts more over any UI element's `backgroundColor`. \n\nTo set a global theme, you can do the following in your app delegate:\n\n##### Normal Convention:\n###### Objective-C\n``` objective-c\n[Chameleon setGlobalThemeUsingPrimaryColor:(UIColor *)color withContentStyle:(UIContentStyle)contentStyle];\n```\n\nBut what if you want a different theme for a specific `UIViewController?` No problem, Chameleon allows you to override the global theme in any `UIViewController` and `UINavigationController`, by simply doing the following:\n\n##### Normal Convention:\n###### Objective-C\n```objective-c\n//This would go in the controller you specifically want to theme differently\n[self setThemeUsingPrimaryColor:FlatMint withSecondaryColor:FlatBlue andContentStyle:UIContentStyleContrast];\n```\n\n###### **Note:** In order for the status bar style to automatically be set using a theme, you need to make sure that the *View controller-based status bar appearance* key in **Info.plist** is set to `NO`.\n\n#### Navigation Bar Hairline\n\n![No Hairline](http://i.imgur.com/tjwx53y.png)\n\nAs 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: \n\n###### Objective-C\n```objective-c\n[self.navigationController setHidesNavigationBarHairline:YES];\n\n//or\n\nself.navigationController.hidesNavigationBarHairline = YES;\n```\n\n###### Swift\n```swift\nself.navigationController?.hidesNavigationBarHairline = true\n``` \n\n## 👑 Author\nChameleon was developed by **Vicc Alexander** [(@ViccsMind)](https://twitter.com/viccsmind) in 2014 using Objective-C. In 2015, full Swift support was implemented by [@Bre7](https://github.com/bre7). Currently, it is being maintained by both [@ViccAlexander](https://github.com/ViccAlexander) and [@Bre7](https://github.com/bre7).\n\n## 📝 To Do List \n* ~~CocoaPods Support~~ ![1.0.1](http://i.imgur.com/8Li5aRR.png)  \n* ~~Table of Contents~~ ![1.0.1](http://i.imgur.com/8Li5aRR.png)  \n* ~~Storyboard Color Picker Add-On~~ ![1.1.0](http://i.imgur.com/Py4QvaK.png)  \n* ~~Xcode In-App Documentation~~ ![1.1.0](http://i.imgur.com/Py4QvaK.png)  \n* ~~Switch from RGB values over to HSB and LAB~~ ![1.1.0](http://i.imgur.com/Py4QvaK.png)  \n* ~~Gradient Colors~~ ![1.1.0](http://i.imgur.com/Py4QvaK.png)  \n* ~~Update GradientStyle & ShadeStyle Syntax~~ ![1.1.1](http://i.imgur.com/AHxj8Rb.png)  \n* ~~Add Radial Gradient Support~~ ![1.1.1](http://i.imgur.com/AHxj8Rb.png)  \n* ~~Fix Swift Conflict with `initWithArray:for:flatScheme:` method~~  ![1.1.12](http://i.imgur.com/7NrZ7yx.png)  \n* ~~Swift Support~~ ![1.1.3](http://i.imgur.com/WgpBlLo.png)     \n* ~~Color Scheme From Images~~ ![2.0.0](http://i.imgur.com/HdE8kjQ.png)  \n* ~~UIAppearance Convenience Methods~~  ![2.0.0](http://i.imgur.com/HdE8kjQ.png)  \n* ~~Add option to hide `NavigationBar` hairline~~ ![2.0.3](http://i.imgur.com/DmlOKPJ.png)\n* ~~Add support for App Extensions hairline~~ ![2.2.0](http://i.imgur.com/z6575IT.png)\n* Add Swift Support for Random Colors\n* Allow Gradient Colors to Adapt To Frame Changes\n\n## 📄 Change Log\n\n### See [Changelog.md](https://github.com/ViccAlexander/Chameleon/blob/master/CHANGELOG.md) 👀\n\n"
  }
]