Re: Duplicating an edited document in 10.7.1
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