• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Changing name of newly created NSDocument (instead of 'Untitled i')
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Changing name of newly created NSDocument (instead of 'Untitled i')
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 12 May 2009 16:37:07 -0400
  • Organization: Rogue Research Inc.

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 (Converted)"?
setFileURL: doesn't seem appropriate since I don't want to ask the user
to choose an on-disk location.

Thanks,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Changing name of newly created NSDocument (instead of 'Untitled i')
      • From: Kyle Sluder <email@hidden>
    • Re: Changing name of newly created NSDocument (instead of 'Untitled i')
      • From: Dave Geering <email@hidden>
    • Re: Changing name of newly created NSDocument (instead of 'Untitled i')
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Group Identity Programming [SOLVED]
  • Next by Date: [iPhone] Caching images fetched from a URL?
  • Previous by thread: Re: Group Identity Programming [SOLVED]
  • Next by thread: Re: Changing name of newly created NSDocument (instead of 'Untitled i')
  • Index(es):
    • Date
    • Thread