I am not able to see the “Background thread: Adding numbers… etc” if I write the example code with command-line tool, but I am able to see those logs if I write it in iOS app.
My question is, is GCD work differently in iOS and in Mac command-line tool? That’s why it doesn’t show properly if I use command-line tool for the book example?
Hi! I’m working with Xcode, and the same problems occurs here. Sometimes the “Background thread: Adding numbers…” appears, others don’t. And the “Main thread: The sum is 5050” never appears