Created
September 14, 2009 01:04
-
-
Save tolmasky/186411 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (CPWindow)window | |
{ | |
if (!_window) | |
{ | |
[self windowWillLoad]; | |
[_document windowControllerWillLoadCib:self]; | |
[self loadWindow]; | |
if (_window === nil && _document !== nil && _cibOwner === _document) | |
[self setWindow:[_document valueForKey:@"window"]]; | |
[self windowDidLoad]; | |
[_document windowControllerDidLoadCib:self]; | |
[self synchronizeWindowTitleWithDocumentName]; | |
} | |
return _window; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment