… and the window is probably NULL because the view has not yet been added to the window as the code expects to be. Best guess.
… and the window is probably NULL because the view has not yet been added to the window as the code expects to be. Best guess.