Re: FindFolder Equivalent?
Re: FindFolder Equivalent?
- Subject: Re: FindFolder Equivalent?
- From: Arno Gourdol <email@hidden>
- Date: Mon, 7 May 2001 12:40:16 -0700
* FindFolder to obtain an FSSpec
* Convert FSSpec to an FSRef
* Obtain the path of the FSRef as a CFURL
* Pass the (coerced?) CFURL into Cocoa API's (whatever takes NSURL).
You should probably avoid using FSSpec. Instead try:
- FSFindFolder to obtain an FSRef
- FSRefMakePath to obtain a POSIX path
- Create a NSURL from the path
Arno.