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.

 

クリックclose

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です