     // MARK:- Utilities
     
     private func backgroundColorFor(hash hash: Int) -> CGColor {
-        if let colorString = AvatarImageView.ColorMap[hash] {
+        if let colorString = AvatarImageView.colorMap[hash] {
             let colors = colorString.componentsSeparatedByString("^")
             
             let red = CGFloat((colors[0] as NSString).doubleValue)


public class AvatarImageView: UIImageView {
    
    static var ColorMap: [Int : String] = [:]
    
    /// The data source to populate the Avatar Image
    public var dataSource: AvatarImageViewDataSource? {

        }
        else {
            let randomColorInfo = randomColor()
            AvatarImageView.colorMap[hash] = randomColorInfo.1
            return randomColorInfo.0
        }
    }
