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

Re: Convert NSString to FSRef


  • Subject: Re: Convert NSString to FSRef
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 17 Mar 2008 12:27:52 -0400
  • Organization: Rogue Research

On 3/15/08 3:04 PM, Kevin Dixon said:

>I'm trying to write a method that will convert a NSString containing a
>file system URL to an FSRef
>
> *SNIP*
>
>Also, is there a better way to accomplish this?

Yes, use the NDAlias classes which provide all sort of useful code to
convert to and from: url, fsref, fsspec, path, alias, etc.  It is GC and
64 bit aware too.

<http://homepage.mac.com/nathan_day/pages/source.xml>

--
____________________________________________________________
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

References: 
 >Convert NSString to FSRef (From: "Kevin Dixon" <email@hidden>)

  • Prev by Date: Re: Prevent application activation after dragging items to the Dock icon?
  • Next by Date: Re: Best Way To Lookup From a Huge Table
  • Previous by thread: Re: Convert NSString to FSRef
  • Next by thread: Re: Convert NSString to FSRef
  • Index(es):
    • Date
    • Thread