Re: NSApp and main window
Re: NSApp and main window
- Subject: Re: NSApp and main window
- From: Matt Neuburg <email@hidden>
- Date: Sun, 02 Jan 2005 09:27:31 -0800
On Sat, 1 Jan 2005 15:14:11 -0500, Coleman Nitroy <email@hidden> said:
>I am working on loading data from a file and putting it all into a data
>model class. So far all works well until I try to get it to work with
>the multiple document format. I have two questions:
>
>How do I make like the "new file" stuff. For example, when I load a
>existing file in, MyDocument handles loading of the data and creates
>the instance of the model data object, then fills it with the proper
>values and such, how do I say "when starting a new document create a
>instance of the model data object and fill it with this..."
I think MyDocument's init is what you are looking for. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden