After adding DispatchQueue.global(qos: .background).async {}
to a single function of my code (Xcode 10, Swift 5), the scrollbar looks like this:
These are more than 40 calls to vars and other funcs that need a "self.".
Fixing this isn't hard (Editor > Fix All Issues) but it reduces readability a lot.
I'm aware that it's possible to create new copies of/references to these vars and using them instead of the ones outside but then there'll be a lot of new copies/references.
Is there a third way of fixing this that helps with readability but doesn't change the initial code (too much)?