Re: CFURLRef -> NSFileManager path
Re: CFURLRef -> NSFileManager path
- Subject: Re: CFURLRef -> NSFileManager path
- From: Patrick Tescher <email@hidden>
- Date: Wed, 12 Jun 2002 21:14:52 -0700
This may seem easy but how do I make a NSString from from the output of FSRefMakePath?
On Tuesday, June 11, 2002, at 05:56 PM, Jonathan Stocks wrote:
Hi Patrick,
Have you taken a look at FSRefMakePath(...). This might do what you want.
You can find information about it at:
http://developer.apple.com/techpubs/macosx/Carbon/Files/FileManager/File_Man
ager/Functions/Converting_B_f_Structures.html
This might do what you are looking for (or at least help).
Thanks,
Jon
-----Original Message-----
From: email@hidden
[mailto:email@hidden]On Behalf Of Patrick Tescher
Sent: Tuesday, June 11, 2002 5:47 PM
To: email@hidden
Subject: CFURLRef -> NSFileManager path
Is there an easy way to take a CFURLRef that points to a local file and turn
it into a string that can be read by NSFilemanager so I could do something
like fileExistsAtPath? I don't know anything about carbon and I would like
to get back to cocoa as fast as possible :)
_______________________________________________
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.
_______________________________________________
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.