Instance Method

fileType

Returns the file type.

Declaration

- (NSString *)fileType;

Return Value

The value associated with the NSFileType file attributes key, or nil if the file attributes dictionary has no entry for the key. For possible values, see NSFileAttributeType.

See Also

Accessing File Attributes

- fileSize

Returns the file’s size, in bytes.

- fileCreationDate

Returns the file’s creation date.

- fileModificationDate

Returns file’s modification date.

- filePosixPermissions

Returns the file’s POSIX permissions.

- fileOwnerAccountID

Returns the file’s owner account ID.

- fileOwnerAccountName

Returns the file’s owner account name.

- fileGroupOwnerAccountID

Returns file’s group owner account ID.

- fileGroupOwnerAccountName

Returns the file’s group owner account name.

- fileExtensionHidden

Returns a Boolean value indicating whether the file hides its extension.

- fileIsImmutable

Returns a Boolean value indicating whether the file is immutable.

- fileIsAppendOnly

Returns a Boolean value indicating whether the file is append only.

- fileSystemFileNumber

Returns the filesystem file number.

- fileSystemNumber

Returns the filesystem number.

- fileHFSTypeCode

Returns file’s HFS type code.

- fileHFSCreatorCode

Returns the file’s HFS creator code.