• 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: NSSavePanel crash!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSavePanel crash!


  • Subject: Re: NSSavePanel crash!
  • From: Corbin Dunn <email@hidden>
  • Date: Fri, 11 Dec 2009 13:58:29 -0800

On Dec 11, 2009, at 8:49 AM, Half Activist wrote:

> Hello All,
>
> 	I'm developping a document-based application that up to today could read two document types and write one of the two.
> 	So one type was set as an editor the other one as viewer in the Info.plist.
> 	All the save/open panel stuff is the plain AppKit behavior and I haven't overridden a tiny ounce of it all in my NSDocument subclass.
> 	Today I added a new editor document type in the info.plist. Gave it a name, an icon, an extension, etc and set the app as an editor of this type.
> 	Now I open a document, choose File > Save As, the save panel appears and bang, crash!
> 	So i traced it back and my own document's awakeFromNib is being called by the savepanel opening process!
> 	That's _really_ weird.
>
> 	If anyone already experienced this, did I do something wrong (clearly I don't think so because I haven't even changed the source code, except for one test)?
> 	Yes the weirdest thing is that my code hasn't changed!
>

Hi Half,

You should post your crash report; that will help people diagnose the problem.

corbin



_______________________________________________

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: 
 >NSSavePanel crash! (From: Half Activist <email@hidden>)

  • Prev by Date: Printing to a ipp printer discovered with bonjour
  • Next by Date: Re: Outing the poseAsClass: poseur
  • Previous by thread: NSSavePanel crash!
  • Next by thread: Screwy Binding/KVO
  • Index(es):
    • Date
    • Thread