• 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
Re: When is a document moved or renamed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When is a document moved or renamed?


  • Subject: Re: When is a document moved or renamed?
  • From: Uli Kusterer <email@hidden>
  • Date: Sat, 14 Jun 2008 01:38:30 +0200


Am 13.06.2008 um 23:11 schrieb Andy Mroczkowski:
My solution/workaround was to keep track of the slave document's URL myself, and hijack NSDocument's save facility at a high level by overriding:

I think the 'correct', i.e. most robust solution here would be to use an Alias to store the references to your files. Aliases both follow files when they're just moved, as well as have the ability to re-discover a file if it has been recreated.


Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

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


References: 
 >When is a document moved or renamed? (From: LAURENS Jérôme <email@hidden>)
 >Re: When is a document moved or renamed? (From: Andy Mroczkowski <email@hidden>)

  • Prev by Date: Re: NSOutlineView threading problem
  • Next by Date: Re: NSMutableAttributedString's setBaseWritingDirection problem
  • Previous by thread: Re: When is a document moved or renamed?
  • Next by thread: Making use of a static library?
  • Index(es):
    • Date
    • Thread