Re: Convert NSString to FSRef
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