Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift Function

// declare a function
func greet() {
  print("Hello World!")
}

// call the function
greet()

print("Outside function")
 
PREVIOUS NEXT
Tagged: #Swift #Function
ADD COMMENT
Topic
Name
2+7 =