 			}
 		}
 
-		let cancelSelector = Selector("cancelView")
+		let cancelSelector = #selector(SCLAlertView.cancelView)
 
 		if buttonsLayout == .Horizontal {
 			if cancelText != nil {

		}
		// Done button
		if completeText != nil {
			addButton(completeText!, target:self, selector:Selector("hideView"))
		}

		if buttonsLayout == .Vertical {

		btn.actionType = SCLActionType.Closure
		btn.action = action
		btn.target = self
		btn.addTarget(self, action:#selector(SCLAlertView.buttonTapped(_:)), forControlEvents:.TouchUpInside)
		btn.addTarget(self, action:#selector(SCLAlertView.buttonTapDown(_:)), forControlEvents:[.TouchDown, .TouchDragEnter])
		btn.addTarget(self, action:#selector(SCLAlertView.buttonRelease(_:)), forControlEvents:[.TouchUpInside, .TouchUpOutside, .TouchCancel, .TouchDragOutside] )
		return btn
	}

