Michael Buerger
Michael Buerger

Reputation: 19

xCode console output empty after printing string

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:

Console

Please help if you can, thanks :)

Thank you everyone who helped, I was apparently looking at the wrong thing :)

Upvotes: 1

Views: 484

Answers (1)

H4Hugo
H4Hugo

Reputation: 2650

Your console is collapsed, you need to click the little icon on the right :

enter image description here

so it becomes blue :

enter image description here

Upvotes: 1

Related Questions