Классы / Конструкторы

@interface Man : NSObject
@property NSString *name;
-(id) initWithName: (NSString *) name;
@end

@interface Employee : Man
@property NSString *position;
-(id) initWithName: (NSString *) name position: (NSString *) position;
@end

@implementation Employee
-(id) initWithName: (NSString *) name position: (NSString *) position {
    self = [super initWithName:name];
    if (self) {
        self.position = position;
    }
    return self;
}
@end

Employee *employee = [[Employee alloc] initWithName:@"Max" position:@"booker"];