I have the problem, to have a high amount of buttons which have a number as their label, so i thought i could take the label as an integer instead of creating an action for
You should make sure that the text exists
var input:Int = (sender.titleLabel.text! as NSString).integerValue