Re: Ask Before Quite,Save Read info
Re: Ask Before Quite,Save Read info
- Subject: Re: Ask Before Quite,Save Read info
- From: Chris Hanson <email@hidden>
- Date: Wed, 28 May 2003 12:54:43 -0400
On Wednesday, May 28, 2003, at 12:08 PM, Chad Eckles wrote:
Can someone give me CODE for a single Doc interface to show a sheet
and ask if 'Save Close','Close','Cancel'
Apple has given you code to do this in the Cocoa examples. Look at the
sample code installed with the Developer Tools and on Apple's web site.
Also look at the default project that's created when you create a Cocoa
document-based application in Project Builder.
Finally, read Apple's overview documentation on the Cocoa
document-based architecture. There's information in there on how to do
things like set the dirty state for your document and so on.
-- Chris
PS - "Single document interface" is Windows terminology, and doesn't
carry any meaning on the Macintosh.
--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Application Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
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.