FileManager

public extension FileManager
  • Checks if FILE exists at URL

    Declaration

    Swift

    @available(iOS 9.0, *)
    func fileExists(at url: URL) -> Bool
  • Checks if directory exists at URL

    Declaration

    Swift

    @available(iOS 9.0, *)
    func directoryExists(at url: URL) -> Bool
  • Undocumented

    Declaration

    Swift

    func itemExists(at url: URL) -> Bool

Disk Space

  • Returns formatted string containing free disk space size.

    Declaration

    Swift

    var freeDiskSpace: String { get }