By the way, if I put longCalculation on a concurrent GCD queue than it works as expected. But I wonder if it is really meant to be like this.
Topic:
Programming Languages
SubTopic:
Swift
Tags: