O
O
Oleg2020-10-30 10:14:52
Swift
Oleg, 2020-10-30 10:14:52

Is there a good article on using closures as function arguments?

Learning Swift after working with PHP and Java for a long time.
Brains boil when trying to read the listings. Stumbling over Swift's specific syntactic sugar.

It's good that the argument can be taken out of brackets.
But then. } dopArg: { - and the next one went.

Ideally, something from a person who himself retrained to Swift. Perhaps not only for these moments.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question