Loads the receiver’s window from the nib file.
- macOS 10.0+
You should never directly invoke this method. Instead, access the
window property so the
window methods are invoked. Subclasses can override this method if the way it finds and loads the window is not adequate. It uses the
bundle method to get the bundle, using the class of the nib file owner as argument. It then locates the nib file within the bundle and, if successful, loads it; if unsuccessful, it tries to find the nib file in the main bundle.