Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift Methods

class Person {
  . . .    
 
  // define methods
  func greet() {
  // method body    
  }
}
 
PREVIOUS NEXT
Tagged: #Swift #Methods
ADD COMMENT
Topic
Name
9+8 =