I can't see any output to the console in xCode after printing a string "Button pressed", I have tested the code when the button is pressed so I am sure that the code that prints is reached. Here is the method:
func onRatingButton(button: UIButton) {
print("Button pressed")
}
(Swift) The code is executed when a button is pressed.
This is what my console looks like:
Please help if you can, thanks :)
- Update
Thank you everyone who helped, I was apparently looking at the wrong thing :)

