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 PROTECTED] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]