NSDocument Save As... problem?

2015-02-02 Thread Graham Cox
If my NSDocument subclass opens a file of a certain type, and then I do a Save As (option click the File menu), choose a new name and CHANGE THE EXTENSION, shouldn't the document be given the new typeName in -fileWrapperOfType:error: ? I'm finding that it is passed the original typeName, so the

Re: NSDocument Save As... problem?

2015-02-02 Thread Quincey Morris
On Feb 2, 2015, at 14:06 , Graham Cox graham@bigpond.com wrote: If my NSDocument subclass opens a file of a certain type, and then I do a Save As (option click the File menu), choose a new name and CHANGE THE EXTENSION, shouldn't the document be given the new typeName in

Re: NSDocument Save As... problem?

2015-02-02 Thread Quincey Morris
On Feb 2, 2015, at 15:21 , Graham Cox graham@bigpond.com wrote: The app supports 4 document types. It imports all 4 UTIs corresponding to these types, but it exports only two. This doesn’t sound right to me. My understanding is that a UTI string is one of three things: 1. A standard

Re: NSDocument Save As... problem?

2015-02-02 Thread Graham Cox
On 3 Feb 2015, at 10:02 am, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Feb 2, 2015, at 14:06 , Graham Cox graham@bigpond.com wrote: If my NSDocument subclass opens a file of a certain type, and then I do a Save As (option click the File menu), choose a new name

Re: NSDocument Save As... problem?

2015-02-02 Thread Graham Cox
On 3 Feb 2015, at 11:58 am, Quincey Morris quinceymor...@rivergatesoftware.com wrote: The app supports 4 document types. It imports all 4 UTIs corresponding to these types, but it exports only two. This doesn’t sound right to me. My understanding is that a UTI string is one of three