In order to support UIDocumentController options on different file types, I thought that perhaps creating and pointing to a file alias would be a good solution. The file is large, so copying the file and duplicating it would create some overhead. Is there a way to point to the original file, but under a different name/extension, like a Finder alias?
Asked
Active
Viewed 861 times
1 Answers
2
You can do this using hard links.
To create them, take a look at linkItemAtURL:toURL:error:
and linkItemAtPath:toPath:error:
in NSFileManager
.

Sherman Lo
- 2,759
- 20
- 20
-
Perfect, just what I was looking for. Could not find it in the docs. – akaru Feb 02 '12 at 01:41