• 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: "Brian E. Howard" <email@hidden>
  • Date: Sun, 13 Oct 2002 12:03:10 -0400

On Sunday, October 13, 2002, at 09:11 AM, Andreas Mayer wrote:

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?

Aaron Hillegass on page 128 of his Cocoa book says: "Here ares some reasons that you might want to create a custom subclass of NSWindowController." The second item he mentions is:

"You want to put the UI controller logic and model controller logic into separate classes."

I am trying to decouple as much of my program as possible and separating model and view logic into different controllers seems like a good idea, but I have not been able to figure out how to do it, or find any discussion on the topic. Perhaps it is so simple that no one has bothered to explain it. For a smart guy I can be awfully dense at times.

Brian E. Howard
_______________________________________________
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.

References: 
 >Re: dual controllers (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: Bug in tableColumnWithIdentifier: ?
  • Next by Date: [myMatrix addColumn] but NSMatrix doesn't show Cells
  • Previous by thread: Re: dual controllers
  • Next by thread: Cocoa-nuts!
  • Index(es):
    • Date
    • Thread