Jul 22, 2017 · 1 min read
Your code snippet above…never write like that. It’s bad for your health.
Never have a trailing closure next to a normal closure.
Only use trailing closure when it’s the only closure in the call to a function.
If you have two closures then make pass them both with non-trailing format. It’s more semantic and easier to read!
