• 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: How to customize NSDocument's error message 'The document ... could not be opened'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to customize NSDocument's error message 'The document ... could not be opened'


  • Subject: Re: How to customize NSDocument's error message 'The document ... could not be opened'
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 19 Sep 2005 01:47:15 -0700


On Sep 19, 2005, at 1:27 AM, Kaspar Fischer wrote:

John and mmalc, thanks for your answers. The problem
is that neither of the methods
presentError:modalForWindow:delegate:didPresentSelector:contextInfo:
willPresentError:inError
of my subclass of NSPersistentDocument gets called
for the error alert "The document ... could not be
opened." So overriding them as you suggest does not
help.


Oh, rats, my apologies, I was sure that had been covered. Please would you file a bug asking that the tutorial mention application:willPresentError: as well.

mmalc


_______________________________________________ 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
  • Follow-Ups:
    • Re: How to customize NSDocument's error message 'The document ... could not be opened'
      • From: Kaspar Fischer <email@hidden>
References: 
 >How to customize NSDocument's error message 'The document ... could not be opened' (From: Kaspar Fischer <email@hidden>)
 >Re: How to customize NSDocument's error message 'The document ... could not be opened' (From: mmalcolm crawford <email@hidden>)
 >Re: How to customize NSDocument's error message 'The document ... could not be opened' (From: Kaspar Fischer <email@hidden>)

  • Prev by Date: Re: How to customize NSDocument's error message 'The document ... could not be opened'
  • Next by Date: Re: Starting a Spotlight search
  • Previous by thread: Re: How to customize NSDocument's error message 'The document ... could not be opened'
  • Next by thread: Re: How to customize NSDocument's error message 'The document ... could not be opened'
  • Index(es):
    • Date
    • Thread