• 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: FSRef -> NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSRef -> NSString


  • Subject: Re: FSRef -> NSString
  • From: email@hidden
  • Date: Thu, 16 Jan 2003 02:45:55 -0800

>You can also save and restore the alias as an NSData, so you don't store (fragile) textual paths in data files, preferences, etc.

I've noted that FSRefs behave correctly on UFS volumes, which is to say they don't break when the file path changes (during runtime). However I'm unaware of AliasHandles break under similar circumstances. Since an Alias on a UFS volume is like an HFS+ Alias without the FileID (and host FolderID) I'm inclined to believe they will break like symlinks even at runtime.

For this reason and others I believe FSRefs ought to be used at runtime for file primitives.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: FSRef -> NSString (From: email@hidden)
 >Re: FSRef -> NSString (From: Chris Hanson <email@hidden>)

  • Prev by Date: Patching an application (long)
  • Next by Date: Re: Resolving alias
  • Previous by thread: Re: FSRef -> NSString
  • Next by thread: Re: FSRef -> NSString
  • Index(es):
    • Date
    • Thread