Skip to content

Instantly share code, notes, and snippets.

@tolmasky
Created August 25, 2009 20:12
Show Gist options
  • Save tolmasky/174982 to your computer and use it in GitHub Desktop.
Save tolmasky/174982 to your computer and use it in GitHub Desktop.
- (void)close
{
var count=[_windowControllers count];
while(count--)
[[_windowControllers objectAtIndex:count] close];
[[CPDocumentController sharedDocumentController] removeDocument:self];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment