pathComponents
pathComponents
NSString のインスタンスメソッド。
何をやっているかは公式の説明と図がわかりやすいでしょう。

The strings in the array appear in the order they did in the receiver. If the string begins or ends with the path separator, then the first or last component, respectively, will contain the separator.
