- 1

Parameters on Swift

Why do you have to use () and {} when you can use <>? https://code.sololearn.com/cgJqqS3O5MYs/?ref=app Search up this on code: why, brackets and {},when you can use <>?

5th Oct 2018, 5:59 AM
Nic The Awsome
Nic The Awsome - avatar
2 Answers
+ 1
It is because it is apart of the language... https://docs.swift.org/swift-book/LanguageGuide/Functions.html
8th Oct 2018, 5:16 PM
Zach Eriksen
Zach Eriksen - avatar
- 1
hi, if you like my questions, follow me!
5th Oct 2018, 6:03 AM
Nic The Awsome
Nic The Awsome - avatar