• 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: Duplicating an edited document in 10.7.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Duplicating an edited document in 10.7.1


  • Subject: Re: Duplicating an edited document in 10.7.1
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Tue, 20 Sep 2011 23:24:39 +0700

On 20 Sep 2011, at 22:40, Kevin Perry wrote:

> There's a bug in NSDocument in that it doesn't protect itself against nil return values from -fileNameExtensionForType:saveOperation:. To work around, make sure you return a non-nil value from that method.

Thank you very much!

Now everything works perfectly (if super does return nil, I replace it with @"").

Kind regards,

Gerriet.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Duplicating an edited document in 10.7.1 (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Duplicating an edited document in 10.7.1 (From: Kevin Perry <email@hidden>)

  • Prev by Date: Re: NSArrayController and NSTableView
  • Next by Date: Re: bindings confusion
  • Previous by thread: Re: Duplicating an edited document in 10.7.1
  • Next by thread: NSDocument - based application and "--Edited" string in window title
  • Index(es):
    • Date
    • Thread