Expand ~ in custom preference path name
By jankass... on December 22, 2011 15:54 (imported from Google Code)
It would be great if ~ would be expanded in the pathname for the custom preference folder. This should make it easier to share the same preference file across systems with different usernames.
This should be easily be done by calling stringByExpandingTildeInPath[1] on the filename.