NSDocument opening folders
NSDocument opening folders
- Subject: NSDocument opening folders
- From: Chris Idou <email@hidden>
- Date: Tue, 5 Aug 2008 20:43:55 -0700 (PDT)
I have a document based application that needs to be able to open folders. I'm calling:
[[NSDocumentController sharedDocumentController] openDocument:myfolderurl ofType:@"mytype" display:YES error:&error];
but I get the error:
Error Domain=NSCocoaErrorDomain Code=256 UserInfo=0x10be490 "“myfolder” could not be handled because MyApp cannot open files in the “folder” format."
I've tried various things without success. Has anyone got a tip?
_______________________________________________
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