4 ms·
> I don’t write swift, but didn’t you miss a comma and a label Swift has a feature called "trailing closures". If the last argument to a function is a closure,
by deergomoo 5y ago
> I don’t write swift, but didn’t you miss a comma and a label
Swift has a feature called "trailing closures". If the last argument to a function is a closure, you can close the brackets early and put the closure directly after.