Global Variable

NSFileModificationDate

The key in a file attribute dictionary whose value indicates the file’s last modified date.

Declaration

const NSFileAttributeKey NSFileModificationDate;

Discussion

The corresponding value is an NSDate object.

See Also

Accessing File Attributes

NSFileAppendOnly

The key in a file attribute dictionary whose value indicates whether the file is read-only.

NSFileBusy

The key in a file attribute dictionary whose value indicates whether the file is busy.

NSFileCreationDate

The key in a file attribute dictionary whose value indicates the file's creation date.

NSFileDeviceIdentifier

The key in a file attribute dictionary whose value indicates the identifier for the device on which the file resides.

NSFileExtensionHidden

The key in a file attribute dictionary whose value indicates whether the file’s extension is hidden.

NSFileGroupOwnerAccountID

The key in a file attribute dictionary whose value indicates the file’s group ID.

NSFileGroupOwnerAccountName

The key in a file attribute dictionary whose value indicates the group name of the file’s owner.

NSFileHFSCreatorCode

The key in a file attribute dictionary whose value indicates the file’s HFS creator code.

NSFileHFSTypeCode

The key in a file attribute dictionary whose value indicates the file’s HFS type code.

NSFileImmutable

The key in a file attribute dictionary whose value indicates whether the file is mutable.

NSFileOwnerAccountID

The key in a file attribute dictionary whose value indicates the file’s owner's account ID.

NSFileOwnerAccountName

The key in a file attribute dictionary whose value indicates the name of the file’s owner.

NSFilePosixPermissions

The key in a file attribute dictionary whose value indicates the file’s Posix permissions.

NSFileProtectionKey

The key in a file attribute dictionary whose value identifies the protection level for this file.

NSFileReferenceCount

The key in a file attribute dictionary whose value indicates the file’s reference count.

NSFileSize

The key in a file attribute dictionary whose value indicates the file’s size in bytes.

NSFileSystemFileNumber

The key in a file attribute dictionary whose value indicates the file’s filesystem file number.

NSFileSystemFreeNodes

The key in a file system attribute dictionary whose value indicates the number of free nodes in the file system.

NSFileSystemFreeSize

The key in a file system attribute dictionary whose value indicates the amount of free space on the file system.

NSFileSystemNodes

The key in a file system attribute dictionary whose value indicates the number of nodes in the file system.

NSFileSystemNumber

The key in a file system attribute dictionary whose value indicates the filesystem number of the file system.

NSFileSystemSize

The key in a file system attribute dictionary whose value indicates the size of the file system.

NSFileType

The key in a file attribute dictionary whose value indicates the file’s type.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software