How about CFURLCreateWithFileSystemPath followed by CFURLGetFSRef?
The CFURL path handling won't canonicalize or otherwise resolve
filesystem path strings. Foundation has -[NSString
stringByExpandingTildeInPath] and -[NSString
stringByStandardizingPath], but there aren't CF equivalents.
Note that features like tilde-expansion are actually implemented at
the framework level, they aren't a kernel/filesystem feature.
For what the specific example you gave ("~/Library/Preferences/
temp.tiff"), you should use FSFindFolder to locate the user's
Preferences folder.
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden