Kelas SWIFT CONFORM dengan protokol Swift
// conform class to Greet protocol
class Employee: Greet {
// implementation of property
var name = "Perry"
// implementation of method
func message() {
print("Good Morning!")
}
}
SAMER SAEID