consecutive open dialogs
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