Other Extensions

The following extensions are available globally.

  • Extensions on Foundation’s Bundle so you get Path rather than String or URL.

    See more

    Declaration

    Swift

    public extension Bundle
  • Extensions on String that work with Path rather than String or URL

    See more

    Declaration

    Swift

    public extension String
  • Extensions on Data that work with Path rather than String or URL

    See more

    Declaration

    Swift

    public extension Data
  • Extensions on FileHandle that work with Path rather than String or URL

    See more

    Declaration

    Swift

    public extension FileHandle
  • Provided for relative-path coding. See the instructions in our README.

    See more

    Declaration

    Swift

    public extension CodingUserInfoKey
  • Convenience functions for the arrays of Path

    See more

    Declaration

    Swift

    public extension Array where Element == Path