Do I need to release IBOutlets in dealloc?
Do I need to release IBOutlets in dealloc?
- Subject: Do I need to release IBOutlets in dealloc?
- From: "Christopher Hickman" <email@hidden>
- Date: Thu, 18 Aug 2005 09:57:34 -0400
I have an NSApplication subclass to which I've added an IBOutlet so I can
connect an interface element in IB to my NSApp instance for easy messaging.
I'm using IB to connect my outlet to the control. I know your dealloc
method usually needs to release the ivars you've added to your class, but I
wasn't sure if IBOutlet ivars were special-case or not. Do I need to send
my IBOutlet ivar a release in my dealloc to prevent memory leaks?
Thanks,
Topher
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden