~/sandbox
/Users/TheBobs/sandbox
使用NSString的stringByExpandingTildeInPath:方法。
stringByExpandingTildeInPath:
此外,还有几种其他方法可以方便地处理路径。