Global Variable

NSURLLabelNumberKey

The resource’s label number, returned as an NSNumber object (read-write).

Declaration

const NSURLResourceKey NSURLLabelNumberKey;

See Also

Other Resource Keys

NSURLKeysOfUnsetValuesKey

Key for the resource properties that have not been set after the setResourceValues:error: method returns an error, returned as an array of NSString objects.

NSURLAddedToDirectoryDateKey

The time at which the resource’s was created or renamed into or within its parent directory, returned as an NSDate. Inconsistent behavior may be observed when this attribute is requested on hard-linked items. This property is not supported by all volumes. (read-only)

NSURLAttributeModificationDateKey

The time at which the resource’s attributes were most recently modified, returned as an NSDate object if the volume supports attribute modification dates, or nil if attribute modification dates are unsupported (read-only).

NSURLContentAccessDateKey

The time at which the resource was most recently accessed.

NSURLContentModificationDateKey

The time at which the resource was most recently modified.

NSURLCreationDateKey

The time at which the resource was created.

NSURLCustomIconKey

The icon stored with the resource, returned as an NSImage object, or nil if the resource has no custom icon.

NSURLDocumentIdentifierKey

The document identifier returned as an NSNumber (read-only).

NSURLEffectiveIconKey

The resource’s normal icon, returned as an NSImage object (read-only).

NSURLGenerationIdentifierKey

An opaque generation identifier, returned as an id <NSCopying, NSCoding, NSObject> (read-only)

NSURLHasHiddenExtensionKey

Key for determining whether the resource’s extension is normally removed from its localized name, returned as a Boolean NSNumber object (read-write).

NSURLIsExcludedFromBackupKey

Key for determining whether the resource is excluded from all backups of app data, returned as a Boolean NSNumber object (read-write).

NSURLIsExecutableKey

Key for determining whether the current process (as determined by the EUID) can execute the resource (if it is a file) or search the resource (if it is a directory), returned as a Boolean NSNumber object (read-only).

NSURLIsHiddenKey

Key for determining whether the resource is normally not displayed to users, returned as a Boolean NSNumber object (read-write).

NSURLIsReadableKey

Key for determining whether the current process (as determined by the EUID) can read the resource, returned as a Boolean NSNumber object (read-only).

NSURLIsSymbolicLinkKey

Key for determining whether the resource is a symbolic link, returned as a Boolean NSNumber object (read-only).

NSURLIsSystemImmutableKey

Key for determining whether the resource's system immutable bit is set, returned as a Boolean NSNumber object (read-write).

NSURLIsUserImmutableKey

Key for determining whether the resource's user immutable bit is set, returned as a Boolean NSNumber object (read-write).

NSURLIsWritableKey

Key for determining whether the current process (as determined by the EUID) can write to the resource, returned as a Boolean NSNumber object (read-only).

NSURLLabelColorKey

The resource’s label color, returned as an NSColor object, or nil if the resource has no label color (read-only).

NSURLLinkCountKey

The number of hard links to the resource, returned as an NSNumber object (read-only).

NSURLLocalizedLabelKey

The resource’s localized label text, returned as an NSString object, or nil if the resource has no localized label text (read-only).

NSURLLocalizedNameKey

The resource’s localized or extension-hidden name, returned as an NSString object (read-only).

NSURLLocalizedTypeDescriptionKey

The resource’s localized type description, returned as an NSString object (read-only).

NSURLNameKey

The resource’s name in the file system, returned as an NSString object (read-write).

NSURLPathKey

The file system path for the URL, returned as an NSString object (read-only).

NSURLTagNamesKey

The names of tags attached to the resource, returned as an array of NSString values (read-write).

NSURLTypeIdentifierKey

The resource’s uniform type identifier (UTI), returned as an NSString object (read-only).