Structure

FileAttributeType

Values representing a file’s type attribute.

Declaration

struct FileAttributeType

Overview

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

Topics

Creating a File Attribute Type

init(rawValue: String)

Creates a file attribute type value.

Relationships

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.

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