dual controllers
dual controllers
- Subject: dual controllers
- From: "Brian E. Howard" <email@hidden>
- Date: Sat, 12 Oct 2002 19:47:03 -0400
Okay, I have the mojo down for loading Nibs and subclassing
NSWindowController to handle the views, and creating model controllers
by subclassing NSObject. But how do I set up an MVC using both
controllers at the same time in order to make the thing more modular
and keep the bloody data out of the view controller? This seems such a
hairy deal that Anguish, et al took a pass on the subject on page 130
of their new tome. Indeed, the only thing I learned was that Apple's
own user defaults and undo routines don't live up the the MVC design
pattern. Are there any examples of this:
View - - - - - - - - - NSWindowController
|
|
NSObjectSubClass - - - - - - - - - - - Model
Sorry for the noise if I'm just being dense, but I've been dense on
this subject for months and the time has come to deal with it. 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 so that once I have
some money I can PAY some of the brighter lights here to clean up and
expand my program beyond what I'll ever be able to do in the few years
remaining to me on this veil of tears. Without giving away the secret
in the center! As always, thanks for any and all help.
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.