Example of using inheritance with Objective-C