 }
 
 //Debugging extension
-extension UIView {
+private extension UIView {
     
     struct GlobalVariables {
         static var staticKey: Int = 42

    }
}

public enum WargError: ErrorType {
    case InvalidBackgroundContent
}

// Declare a global var to produce a unique address as the assoc object handle
var isVerbose = false


public extension UIView {
    
    public func firstReadableColorInRect(rect: CGRect, preferredColor: UIColor? = nil, strategy: ColorMatchingStrategy = .ColorMatchingStrategyLinear, isVerbose: Bool = false) throws -> UIColor {
        

import UIKit
import ObjectiveC

/**
 The strategy used to find the right forground color
 
 - ColorMatchingStrategyLinear: The same factor is applied to the RGB values when incrasing or decreasing them
 */

public enum ColorMatchingStrategy {
    case ColorMatchingStrategyLinear
    
    /// The human readable name of the strategy
    public var name: String {
        switch self {
        case .ColorMatchingStrategyLinear:
