Re: NSSavePanel and file formats

2009-04-20 Thread Quincey Morris
On Apr 20, 2009, at 03:45, Graham Cox wrote: You want to name a folder, say , but then place files inside called e.g. Foo_001, Foo_002 etc? No, I mean there are, say, export formats A, B and C. Assuming the document file name is something like 'myData.data', export format A should show a

Re: NSSavePanel and file formats

2009-04-20 Thread Adam R. Maxwell
On Apr 20, 2009, at 12:51 AM, Quincey Morris wrote: On Apr 20, 2009, at 00:16, Graham Cox wrote: The save dialog shows the format pop-up automatically if you declare in your info.pList that you export multiple types. Presumably it also takes care of everything else too - you just need to

Re: NSSavePanel and file formats

2009-04-20 Thread Graham Cox
On 20/04/2009, at 5:51 PM, Quincey Morris wrote: But one annoying problem remains. When exporting files (at least in my case) it's highly desirable for some formats to get a suffix on the default filename (specifically, because some of the formats require creating a folder of stuff instead

Re: NSSavePanel and file formats

2009-04-20 Thread Quincey Morris
On Apr 20, 2009, at 00:16, Graham Cox wrote: The save dialog shows the format pop-up automatically if you declare in your info.pList that you export multiple types. Presumably it also takes care of everything else too - you just need to set up the pList and respond to the type passed to you

Re: NSSavePanel and file formats

2009-04-20 Thread Graham Cox
On 18/04/2009, at 7:56 AM, Quincey Morris wrote: I notice that the current HIG recommends the use of a file format popup in the Save dialog, when an application supports multiple formats: http://developer.apple.com/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGMenus/XHIGMe