deallocating instances instantiated in IB
deallocating instances instantiated in IB
- Subject: deallocating instances instantiated in IB
- From: Chaz <email@hidden>
- Date: Wed, 10 Jul 2002 15:35:31 -0600
Hello:
Any instances I use by instantiating in IB do not get deallocated, so
I'm guessing it must be somehow my responsibility to do so. So where
and how do I do this? Actually, let me briefly explain my setup to see
if I even have the right approach:
I have two windows in my application that shouldn't be open at the same
time. One of the windows needs to open itself at launch. So what I've
done is have that window "visible at launch time." Then the user will
do some things in the first window, click "OK," and the second window
comes up after the first closes. Should the first window be release?
And should the second window be created at startup, and then shown when
I need it...or do I have a choice for that matter? Should windows go
into separate nib files?
The reason I was talking about instantiated IB instances was because I
have an NSObject subclass that handles the user actions.
Thanks,
Chaz
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.