Multiple document models.
Multiple document models.
- Subject: Multiple document models.
- From: April Gendill <email@hidden>
- Date: Thu, 22 Jan 2004 23:44:47 -0700
Ok... This is probably a silly question or maybe I am just doing this
program backwards. I have an application I've tinkered with for months
now when I have time here and there. I chose to split it into two
different types of document. document 1 handles 4 files formats in
array, dictionary, plain text and proprietary format. The second deals
with a package file containing 6 different files and a master file. I
have a document subclass for the one that handles the plain files and a
different document subclass for the package. Each uses a different
window controller of course. The first subclass was the default one
(renamed) from the document based application template. The second I
did from scratch. (empty file). Each has it's own nib. Finally I have a
master application controller that does little more than handle
newdocument, save and so on. and it passes notifications to get the
window controllers to perform certain menu functions.
I want to have a preference that allows me to choose which document
type the application starts with, OR to simply allow me to have the
application open the last document I worked in.
How do I control the document type that will be opened at launch?
Thanks
April.
_______________________________________________
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.