Methods without any parameters in Swift

class Greeting {
    func sayGoodby() {
        print("Goodby!")
    }
}