• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Ask Before Quite,Save Read info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Ask Before Quite,Save Read info (From: Chad Eckles <email@hidden>)

  • Prev by Date: Re: Ask Before Quite,Save Read info
  • Next by Date: Re: Where in a prefPane can I do some polling, and then update the UI?
  • Previous by thread: Re: Ask Before Quite,Save Read info
  • Next by thread: Re: Where in a prefPane can I do some polling, and then update the UI?
  • Index(es):
    • Date
    • Thread