When is my delegate released?
When is my delegate released?
- Subject: When is my delegate released?
- From: Allan Odgaard <email@hidden>
- Date: Sun, 7 Jul 2002 13:15:06 +0200
Hi there,
Since I want to implement proper resource management then I overload the
dealloc in my controller objects (which are often given as delegates).
But whos job is it to actually release these objects (currently they are
not released at all)?
As of such, most of my apps have their controller instantiated in the
Nib-file, but should I react on "applicationWillTerminate" or similar,
and then call release on my delegate?
_______________________________________________
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.