Instance Property インスタンスプロパティ

URLByDeletingPathExtension

A URL created by taking the receiver and removing the path extension, if any. (read-only) レシーバをとってそしてパス拡張子を、もしあれば、取り除くことによって作成されるURL。(読み出しのみ)

Declaration 宣言

@property(nullable, readonly, copy) NSURL *URLByDeletingPathExtension;

Discussion 議論

If the receiver represents the root path, this property contains a copy of the original URL. If the URL has multiple path extensions, only the last one is removed. レシーバがルートパスを表すならば、このプロパティは元のURLのコピーを含みます。URLが複数のパス拡張子を持つならば、最後のものだけが取り除かれます。

See Also 参照

Modifying and Converting a File URL ファイルURLを修正および変換する