Hello, total Swift beginner here and I apologize in advance if this is a silly question.
I'm just wondering why the argument
true for the
completion closure needs to be passed in inside the body of the function? Why can it not be passed in when the actual function
upload is called? Why do you have to give it an arbitrary parameter name (
success in this case)?
Thanks for your help.