Instance methods are functions that belong to instances of a type in Swift (a class, struct, enumeration, or protocol). Type methods are called on a type itself.
Instance Methods
Instance methods are defined with a func declaration inside the definition of the type, or in an extension.
class Coun...