Skip to main content
Code sample in Swift, C# and Java
Main menu
About
History
Swift
C#
Java
Python
You are here
Home
»
Forums
»
Swift
»
Swift: Classes
»
Swift: Classes methods
Methods without any parameters in Swift
Submitted by
obraztsov
on Thu, 11/12/2015 - 11:19
Forums:
Swift: Classes methods
class
Greeting {
func
sayGoodby() {
print
(
"Goodby!"
)
}
}
Log in
to post comments