• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: dual controllers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: dual controllers
      • From: "Brian E. Howard" <email@hidden>
References: 
 >dual controllers (From: "Brian E. Howard" <email@hidden>)

  • Prev by Date: Re: SIGBUS with NSTask
  • Next by Date: OT: Mail.app
  • Previous by thread: dual controllers
  • Next by thread: Re: dual controllers
  • Index(es):
    • Date
    • Thread