The drawRect: method seems to be a ‘system’ method - From Documentation,‘This method is called when a view is first displayed or when an event occurs that invalidates a visible part of the view. You should never call this method directly yourself’
Now, in the Hypnosister code, where exactly does a call to this method happen?
(Is it in the HypnosisterAppDelegate,
[[self window] addSubview:view] OR in
[self.window makeKeyAndVisible] or somewhere else(pg 126)?)
Also,if we override this method, what is to ensure that ‘our’ implementation of this method gets called and not the ‘iOS’ implementation?
Similar question on loadView: method (in next chapter) - where does that get called?