Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

declare function in swift

func greet(person: String) -> String {
    let greeting = "Hello, " + person + "!"
    return greeting
}
 
PREVIOUS NEXT
Tagged: #declare #function #swift
ADD COMMENT
Topic
Name
3+2 =