• 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
consecutive open dialogs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

consecutive open dialogs


  • Subject: consecutive open dialogs
  • From: Mitchell Livingston <email@hidden>
  • Date: Wed, 15 Aug 2007 14:15:47 -0400

Hello,

I am having trouble using multiple NSOpenPanel objects in a row. I have a main method that creates an NSDictionary to use as the context info. I then run the open panel and go to the didEndSelector and use the info in the dictionary to create an object. I then use performSelectorOnMainThread:withObject:waitUntilDone: to make sure the next sheet shows correctly. I create another NSDictionary back in the main method again and create another NSOpenPanel, etc. until I am finished opening all the files.

The problem is only the first open works. For the rest it has problems creating the NSDictionary and although it does show the open sheet, after I hit OK I get "*** -[NSSavePanelAuxiliary UTF8String]: selector not recognized [self = 0x523d620] " in Console. Is there something I'm doing wrong?

The code is available http://transmission.m0k.org/trac/browser/tags/ 0.80/macosx/Controller.m starting at line 798.

Thanks,
Mitchell Livingston
_______________________________________________

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: consecutive open dialogs
      • From: "Clark Cox" <email@hidden>
  • Prev by Date: Custom Control Questions
  • Next by Date: Printing contents of the active Desktop window
  • Previous by thread: Re: Custom Control Questions
  • Next by thread: Re: consecutive open dialogs
  • Index(es):
    • Date
    • Thread