Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift Extension

// class definition 
class Temperature {
  ...
}

// extension of Temperature class
extension Temperature {

  // add new methods 
}
 
PREVIOUS NEXT
Tagged: #Swift #Extension
ADD COMMENT
Topic
Name
5+6 =