Help with clearColor


I am stuck on chapter 4 when the instructions request that I add the following code to initWithFrame in the BNRHypnosisView.m however the initWithFrame method seems to be in the AppDelegate.m

[code] - (instancetype) initWithFrame:(CGRect)frame
self = [super initWithFrame:<#frame#>];

        //All HypnososView start with a clear background color
        self.backgroundColor = [UIColor clearColor];
    return self;

Where should this be properly inserted ?


initWithFrame: is a UIView method. Therefore, since BNRHypnosisView is a subclass of UIView, the method should be put in BNRHypnosisView.m.