       }
     }
 
+//    var checkedIcon: UIImage!
     public var checkedImage = UIImageView()
     public var photo = UIImageView()
 

    override public func styleUI() {
      super.styleUI()
      photo.styledAsFill()
      checkedImage.backgroundColored(UIColor.whiteColor())
      checkedImage.image = getIcon(.Check, options: ["color": K.Color.buttonBg])
      checkedImage.hidden = true
    }

    override public func layoutSubviews() {
      super.layoutSubviews()
      photo.fillSuperview()
      let p = width * 0.1
      let s = width * 0.3
      checkedImage.anchorInCorner(.BottomRight, xPad: p, yPad: p, width: s, height: s)
      checkedImage.radiused(s / 2).bordered(1, color: K.Color.buttonBg.colorWithAlphaComponent(0.2).CGColor)
    }
  }
}

    case Edit
  }



  public var style: ImageCell.Style! = .Default
  public var checkedIcon: UIImage! = getIcon(.Check, options: ["color": K.Color.buttonBg])

  public var mode: Mode = .Show
  public var checkable: Checkable = .None
  public var bordered: Bool = true
  public var currentBordered: Bool = false
  public var currentIndex: Int! = -1
  public var radius: CGFloat = 0
  public var didChecked = {(items: [Photo], checked: Photo) in }

  public convenience init(checkable: Checkable, checkedIcon: UIImage) {
    self.init(checkable: checkable)
    self.checkedIcon = checkedIcon
    self.style = .Custom
  }

  public init(checkable: Checkable, bordered: Bool = true, radius: CGFloat = 0, sectionInset: UIEdgeInsets = UIEdgeInsetsMake(10, 10, 10, 10)) {
    self.checkable = checkable
