Cierre de arrastre rápido
func grabLunch(message: String, search: ()->()) {
print(message)
search()
}
// use of trailing closure
grabLunch(message:"Let's go out for lunch") {
print("Alfredo's Pizza: 2 miles away")
}
SAMER SAEID