How to provide an own UIWindow subclass as the main window in an iPhone app?

Posted by mystify on Stack Overflow See other posts from Stack Overflow or by mystify
Published on 2010-04-20T15:50:00Z Indexed on 2010/04/20 15:53 UTC
Read the original article Hit count: 599

Filed under:

For inspecting all events posted to the views of the window, I want to make a subclass of UIWindow and make that -keyAndVisible in the app delegate.

However, my project already came with an nasty MainWindow.xib 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 MainWindow.xib? Or is there another way to have an subclass of UIWindow in place?

© Stack Overflow or respective owner

Related posts about iphone