Values representing a file’s type attribute.


struct FileAttributeType


These strings are the possible values for the type attribute key contained in the dictionary object returned by attributesOfItem(atPath:).


Creating a File Attribute Type

init(rawValue: String)

Creates a file attribute type value.


See Also

Supporting Types

struct FileManager.DirectoryEnumerationOptions

Options for enumerating the contents of directories.

enum FileManager.SearchPathDirectory

The location of significant directories.

struct FileManager.SearchPathDomainMask

Domain constants specifying base locations to use when you search for significant directories.

struct FileAttributeKey

Keys in dictionaries used to get and set file attributes.

struct FileProtectionType

Protection level values that can be associated with a file attribute key.

struct URLFileProtection

Protection level values that can be associated with a URL resource key.