Create a function (Method) swift

func hello() {
print("Hi")
}
//call function
hello()
Previous
Next Post »