WWDC22 SALE: Save 50% on all my Swift books and bundles! >>

SOLVED: Not seeing print in debugger window

Forums > iOS

I don't see anything in the debugger window. Shouldn't I see: "The time is now (time)") 5 times with the current time? Why don't I see that?

The page I am on is "Triggering events repeatedly using a timer" from Hacking with iOS: Swift Edition

My code is exactly as on the webpage tuturial.

Apologies as I'm still trying to navigagate this forum. I'm not sure which category of the forum to post this in so this is my best effort.

1      

Hi @huedoku

Are you running it in a simulator? You will not see anything in the console until then.

2      

I did not know that, thank you for responding NigelGee.

1      

Hacking with Swift is sponsored by Emerge

SPONSORED Why are Swift reference types bad for app startup time, and what’s the performance cost of protocol conformances? That’s just a couple of the topics you can learn about on the Emerge blog — written by the app performance experts behind Emerge’s advanced app optimization and monitoring tools, based on their experience of working at companies like Apple, Airbnb, Snap, and Spotify.

Find out more

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.