[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSWindowController
From: |
Andrew Ruder |
Subject: |
NSWindowController |
Date: |
Mon, 21 Jul 2003 03:32:59 -0500 |
User-agent: |
Mutt/1.5.4i |
Quick question:
144 - (void) setDocument: (NSDocument *)document
145 {
146 // FIXME - this is RETAINed and never RELEASEd ...
147 ASSIGN (_document, document);
148 [self synchronizeWindowTitleWithDocumentName];
in NSWindowController.m
Is there some reason the RELEASE of _document can't just
be put in the dealloc method or is it more involved than that?
(I'm not seeing any reason why not right away here...)
--
Andrew Ruder
- NSWindowController,
Andrew Ruder <=