• 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: NSOpenPanel problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenPanel problem


  • Subject: Re: NSOpenPanel problem
  • From: Corbin Dunn <email@hidden>
  • Date: Tue, 22 Nov 2005 15:37:08 -0800

Corbin, I apologize; I missed your reply when you posted it and only found it when revisiting the issue and going back through the mail archives this morning.

No problem -- I frequently miss messages, since this list is so active.


It is just my app: TextEdit etc. work fine. My document icon appears in TextEdit's browser as a thumbnail etc. and, as my file is actually nothing more than a standard Cocoa archived plist, TextEdit will even open it.

That is very strange.


In a similar vein, I added a second file type to my app's plist, a file type created by other applications other than mine. This file type is similarly just a specialized text file (specialized in terms of the content of the text, not formatting etc.; it is plain text) which other apps open fine but when I click on those files, again instant crash.

So, you can bring the panel up, it is just when you select files that it crashes, right? And, I'm assuming you are in the "browser" mode. It is the only mode that shows a preview.



Re the delegate, I have not set one and have only been looking for standard behavior. (BTW, is there some requirement for a delegate and some delegate method that I must implement? I certainly didn't think so.)

No -- I didn't realize you were using the default NSDocument stuff. Does the manual creation of an open panel work? Or will it crash too? Add a button that creates and shows an open panel for testing.



I've pasted the entire stack I get on crash as requested.

Again, thanks for replying and my apologies for overlooking your response.

Yeah, I'm unsure what causes this. There must be something else going on that I'm not seeing. Do you have a simple app that reproduces this, or only your full application?
-corbin


_______________________________________________
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


References: 
 >Re: NSOpenPanel problem (From: James Spencer <email@hidden>)

  • Prev by Date: Re: NSTextView completion fun
  • Next by Date: CoreData Fetch Request Failing When Using NSDate in NSPredicate
  • Previous by thread: Re: NSOpenPanel problem
  • Next by thread: Width Relative to Width of SplitView?
  • Index(es):
    • Date
    • Thread