Re: Changing name of newly created NSDocument (instead of 'Untitled i')

2009-05-13 Thread Sean McBride
On 5/12/09 6:30 PM, Jerry Krinock said: My doc-based application is able to import foreign file formats. I do this by creating a new instance of my NSPersistentDocument subclass and populate it as needed. Works fine, but results in a document named Untitled i. Is there a way to name it

Re: Changing name of newly created NSDocument (instead of 'Untitled i')

2009-05-13 Thread Kyle Sluder
On Tue, May 12, 2009 at 4:37 PM, Sean McBride s...@rogue-research.com wrote: My doc-based application is able to import foreign file formats.  I do this by creating a new instance of my NSPersistentDocument subclass and populate it as needed. Add another entry to your Info.plist declaring your

Changing name of newly created NSDocument (instead of 'Untitled i')

2009-05-12 Thread Sean McBride
Hi all, My doc-based application is able to import foreign file formats. I do this by creating a new instance of my NSPersistentDocument subclass and populate it as needed. Works fine, but results in a document named Untitled i. Is there a way to name it something like original_filename

Re: Changing name of newly created NSDocument (instead of 'Untitled i')

2009-05-12 Thread Jerry Krinock
On 2009 May 12, at 13:37, Sean McBride wrote: Hi all, My doc-based application is able to import foreign file formats. I do this by creating a new instance of my NSPersistentDocument subclass and populate it as needed. Works fine, but results in a document named Untitled i. Is there a

Re: Changing name of newly created NSDocument (instead of 'Untitled i')

2009-05-12 Thread Dave Geering
On Wed, May 13, 2009 at 6:37 AM, Sean McBride s...@rogue-research.com wrote: Hi all, My doc-based application is able to import foreign file formats.  I do this by creating a new instance of my NSPersistentDocument subclass and populate it as needed. Works fine, but results in a document

Re: Changing name of newly created NSDocument (instead of 'Untitled i')

2009-05-12 Thread Dave Geering
On Wed, May 13, 2009 at 12:07 PM, Dave Geering dlgeer...@gmail.com wrote: On Wed, May 13, 2009 at 6:37 AM, Sean McBride s...@rogue-research.com wrote: Hi all, My doc-based application is able to import foreign file formats.  I do this by creating a new instance of my NSPersistentDocument