One Quickie


Mapping a window to its document (NSDocument->General)
    NSDocumentController *documentController;
    documentController = [NSDocumentController sharedDocumentController];

    BWBorkStitchDocument *noteDocument;
    noteDocument = [documentController documentForWindow: noteWindow];



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com