#import "House.h" @interface House() @property (nonatomic, readwrite) int numberOfBedrooms; @end @implementation House -(instancetype)initWithAddress:(NSString*)address { self = [super init]; if(self){ _address = [address copy]; _numberOfBedrooms = 2; _hasHotTub = false; } return self; } @end