Global Variable グローバル変数

NSURLIsPackageKey

Key for determining whether the resource is a file package, returned as a Boolean NSNumber object (read-write in macOS 10.8 and later, read-only in previous versions). A true value means that the resource is a file package. リソースがファイルパッケージであるかどうか判定するためのキー、ブールのNSNumberオブジェクトとして返されます(macOS 10.8以降では読み書き、前の版では読み出し専用)。trueは、リソースがファイルパッケージであることを意味します。

Declaration 宣言

const NSURLResourceKey NSURLIsPackageKey;

Discussion 議論

If you attempt to set or clear this key’s value on a file instead of a directory, the system ignores your attempt. If the directory is defined as a package by way of its filename extension or other reason apart from this key, setting this key’s value to false has no effect. あなたがこのキーのもつ値をディレクトレではなくてファイル上で設定または一掃しようと試みるならば、システムはあなたの試みを無視します。ディレクトリがパッケージとしてそれのファイル名拡張子のやり方またはこのキーから離れた他の理由によって定義されるならば、このキーの値をfalseに設定することは効果を持ちません。

See Also 参照

File Keys ファイルキー