SWIFT OJECT - ORIENTED FEATUREWed, Oct 29, 2014
Learning notes about object oriented features of the Swift programming language.
Class Like Constructs In Swift
class all can:
have properties to keep states.
have methods to perform actions.
define subscript operators to let user access their properties through subscript syntax.
define initializers to have a reasonable initial state.
be extended to have additional behaviors beyond their default implementations.
conform to protocols.
have inheritance capability.
be referenced by mutiple variable or constants. the
enumare both value types.