Re: dual controllers
Re: dual controllers
- Subject: Re: dual controllers
- From: Andreas Mayer <email@hidden>
- Date: Sun, 13 Oct 2002 15:11:04 +0200
Am Sonntag, 13.10.02 um 01:47 Uhr schrieb Brian E. Howard:
My *Killer* App works after a fashion, but it is all jammed up in one
main controller and two view controllers and it's a real can of worms.
Furthermore, I need to get this modularity down
I'm sorry, I don't think I understand. Can you elaborate on what
exactly your problem is?
The easiest way to manage object connections is to declare a strict
hierarchy like a tree where one 'parent' 'owns' it children. That is
the parent retains the children, but the children do not retain the
parent. This way you can destroy the whole thing from the parent up
without to much hassle. Just release your parent; since every object
should release all objects it retained, the children will be released
(and deallocated) too.
Sorry, if that was not what you wanted to know ...
bye. Andreas.
_______________________________________________
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.