       }
     }
   }
-}+}


private class ActionSheetItemView: UIView {
  var subview: UIView?
  
  required init(coder aDecoder: NSCoder) {
    super.init(coder: aDecoder)!
    self.setting()
  }
  
  override init(frame: CGRect) {
    super.init(frame: frame)
    self.setting()
  }
  
  init() {
    super.init(frame: CGRectZero)
    self.setting()
  }
  
  func setting() {
    self.clipsToBounds = true
  }
  
  override func addSubview(view: UIView) {
    super.addSubview(view)
    self.subview = view
  }
  
  override func layoutSubviews() {
    super.layoutSubviews()
    if let subview = self.subview {

        // Remove views
        self.itemContainerView.removeFromSuperview()
        self.maskView.removeFromSuperview()

        // Remove this instance
        for i in 0 ..< CustomizableActionSheet.actionSheets.count {
          if CustomizableActionSheet.actionSheets[i] == self {
