Re: NSWindowController
Re: NSWindowController
- Subject: Re: NSWindowController
- From: Peter Lübke <email@hidden>
- Date: Sun, 27 Feb 2011 13:29:42 +0100
BTW, is there a particular reason why you retain
m_designViewerController ? A newly allocated object *is* a retained
object.
It will need one extra entire line of code to send a -release message
to the object for it not to leak :-)
-Peter
Am 26.02.2011 um 09:08 schrieb koko:
1 m_designViewerController = [[[NSWindowController alloc]
initWithWindowNibName:@"DesignViewer"] retain];
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden