Getting rid of an NSWindowController
Getting rid of an NSWindowController
- Subject: Getting rid of an NSWindowController
- From: Matt Judy <email@hidden>
- Date: Sun, 03 Feb 2002 17:56:52 -0800
I've got a multi-window (non-document-based) app that uses an
NSWindowController to create, setup, and manage the windows. My app is
leaking bigtime, though, because nothing in the window is released when
the window is closed. I thought this might have happened automatically,
but not so.
So, what and when is the correct way to get rid of an
NSWindowController, its associated window and contents when the window
closes?
Thanks!
--Matt