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

NSSavePanel crash!


  • Subject: NSSavePanel crash!
  • From: Half Activist <email@hidden>
  • Date: Fri, 11 Dec 2009 17:49:36 +0100

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!

Regards._______________________________________________

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

  • Follow-Ups:
    • Re: NSSavePanel crash!
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Outing the poseAsClass: poseur
  • Next by Date: Re: Problem with missing symbol
  • Previous by thread: Re: Outing the poseAsClass: poseur
  • Next by thread: Re: NSSavePanel crash!
  • Index(es):
    • Date
    • Thread