Programming, Swift, Object Oriented, Objective C.
in .c file, there is no way to access encapsulated data from the outside. Inheritance Inheritance allows creating new objects based on existing, inheriting properties and behaviour. Swift and Objective-C provide inheritance mechanisms. Usually we use inheritance to extend existing type for a