Re: How to wire up document exporting?

2015-01-29 Thread Charles Jenkins
Thanks, Quincey. I really do want an export feature, and I think you've given me enough good information to get me started :-) --  Charles On January 28, 2015 at 20:42:31, Quincey Morris (quinceymor...@rivergatesoftware.com) wrote: On Jan 28, 2015, at 16:16 , Charles Jenkins wrote: I need t

Re: How to wire up document exporting?

2015-01-28 Thread Quincey Morris
On Jan 28, 2015, at 16:16 , Charles Jenkins wrote: > > I need to have a File > Export command to save the document in OpenXML > format. I’ve done some research in the Developer Library, and the best clues > I’ve found so far are in the Sketch app. Sketch manages multiple output types > by over

How to wire up document exporting?

2015-01-28 Thread Charles Jenkins
To save my app’s native document format, I overrode NSDocument’s fileWrapperOfType:error:. I have assumed that the reason I produce data something else actually writes out is because the OS has security features, and a sandboxed app is not allowed to create arbitrary files on the filesystem.