Hi,
I've got a project using storyboard and I have a subclassed UIWindow called MyWindow, and I need that to be used in place of the default UIWindow. However, I'm unable to find anywhere in the GUI to change this and I'm starting to believe there isn't a way. (Previously with .XIB files you could change the actual window control from the UIWindow class to the MyWindow class in the GUI.)
In the documentation it says:
I've got a project using storyboard and I have a subclassed UIWindow called MyWindow, and I need that to be used in place of the default UIWindow. However, I'm unable to find anywhere in the GUI to change this and I'm starting to believe there isn't a way. (Previously with .XIB files you could change the actual window control from the UIWindow class to the MyWindow class in the GUI.)
In the documentation it says:
I'm unsure what it actually means by "implement the getter method" and how I would so. Would appreciate any help with this, thanks.When a storyboard is being used, the application must present the storyboard by adding it to a window and putting that window on-screen. The application queries this property for the window. The retained reference to the window by this property is necessary to keep the window from being released. If the value of the property is nil (the default), the application creates a generic instance of UIWindow and assign it to this property for the delegate to reference. You may implement the getter method of this protocol to provide the application with a different window. This property is required if the UIMainStoryboardFile property is specified in the applicationsInfo.plist file. (See UIMainStoryboardFile in Information Property List Key Reference for an explanation of this property.)