"Single Window" to Doc Based App?
"Single Window" to Doc Based App?
- Subject: "Single Window" to Doc Based App?
- From: Jerry LeVan <email@hidden>
- Date: Wed, 28 Jul 2004 21:59:41 -0400
Hi,
I have been banging away on Cocoa for about 7 months now
and all of my applications have been "simple" single window
applications.
It has been suggested that some of the apps might benefit
from a doc based architecture...
Regrettably I have zip's worth of experience in this change.
Could some kind soul(s) offer a general outline of what might
typically be done to convert to a multi window style app?
It seems clear that each window will probably have to be bound
to an instance of something close to my current "controller" class.
Does each window get its own menu when it become frontmost? I currently
use the state of menu to one thing or another...
The apps I am interested in converting are basically state free ie
there is nothing to save on closing except perhaps preferences, if
one thinks of a window as a session and you might want to continue
later.
The main app that I wish to convert has about 6 classes, the controller
has about 60 methods and 30 variables. Starting from scratch seems to
be to painful...
Thanks for any suggestions/pointers.
Jerry
_______________________________________________
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.