Answers for "how to write swift function"

2

declare function in swift

func greet(person: String) -> String {
    let greeting = "Hello, " + person + "!"
    return greeting
}
Posted by: Guest on February-11-2021

Code answers related to "how to write swift function"

Code answers related to "Swift"

Browse Popular Code Answers by Language