 		btn.actionType = SCLActionType.Closure
 		btn.action = action
 		btn.target = self
-		btn.addTarget(self, action:Selector("buttonTapped:"), forControlEvents:.TouchUpInside)
-		btn.addTarget(self, action:Selector("buttonTapDown:"), forControlEvents:[.TouchDown, .TouchDragEnter])
-		btn.addTarget(self, action:Selector("buttonRelease:"), forControlEvents:[.TouchUpInside, .TouchUpOutside, .TouchCancel, .TouchDragOutside] )
+		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
 	}
 

		viewText.textColor = UIColorFromRGB(0x4D4D4D)
		contentView.layer.borderColor = UIColorFromRGB(0xCCCCCC).CGColor
		//Gesture Recognizer for tapping outside the textinput
		let tapGesture = UITapGestureRecognizer(target: self, action: Selector("dismissKeyboard"))
		tapGesture.numberOfTapsRequired = 1
		self.view.addGestureRecognizer(tapGesture)
	}

			}
		}

		let cancelSelector = #selector(SCLAlertView.cancelView)

		if buttonsLayout == .Horizontal {
			if cancelText != nil {
