Swift provided the code below. How's it possible to call the squishEm function without parenthesis? Isn't that the syntax difference between a function and property?
func squishEm() {
// Iterate over graphics and squish each one.
for graphic in graphics {
squishGraphic(graphic: graphic)
}
}
// Create and add Squish ’Em! button.
let squishButton = Button(name: "Squish ’Em!")
squishButton.onTap = squishEm
scene.button = squishButton