How to provide an own UIWindow subclass as the main window in an iPhone app?
<p>For inspecting all events posted to the views of the window, I want to make a subclass of <code>UIWindow</code> and make that <code>-keyAndVisible</code> in the app delegate.</p>

<p>However, my project already came with an nasty <code>MainWindow.xib</code> file ;-) so I find it hard to do that now, since that nib guy is creating the window. Is there any way I can get rid of this <code>MainWindow.xib</code>? Or is there another way to have an subclass of <code>UIWindow</code> in place?</p>
