+ 1
Can I get some help with swift functions? I find them really confusing
I recently started learning swift but I cant figure out how functions work.
5 Answers
+ 2
Explain what exactly you do not understand and give an example.
+ 1
Yes, everything is very simple, it's like when declaring a variable, you set the type of the return variable of the function.
0
I dont understand anything after the ->.
0
Thanks