Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift Properties

class Person {

  // define properties 
  var name: String = ""
  var age: Int = 0 

  ... 
}
 
PREVIOUS NEXT
Tagged: #Swift #Properties
ADD COMMENT
Topic
Name
6+9 =