Re: NSDocument opening folders

2008-08-05 Thread Ken Thomases
On Aug 5, 2008, at 10:43 PM, Chris Idou wrote: I have a document based application that needs to be able to open folders. Generic folders (folders as folders)? Or document packages (special folders treated as a single document)? Either way, you need to declare your application's support

NSDocument opening folders

2008-08-05 Thread Chris Idou
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 "“myfol