nawar
06/29/2017, 3:06 PMprotocol /* interface */ Person : class {}
// classes Father and Mother defined in a 3rd party library
extension Father: Person {} // extending with the protocol/interface
extension Mother: Person {} // extending with the protocol/interface
// now person can be assigned to objects of type Father / Mother
var person: Person?