Pisth

open class Pisth

The class for interacting with Pisth.

  • Init from given message and URL scheme.

    Declaration

    Swift

    public init(message: String?, urlScheme: URL)

    Parameters

    message

    Message to show in the Pisth navigation bar.

    urlScheme

    This app URL scheme.

  • Imported file.

    Declaration

    Swift

    open var receivedFile: PisthFile? { get }
  • Message to show in the Pisth navigation bar.

    Declaration

    Swift

    open var message: String?
  • This app URL scheme.

    Declaration

    Swift

    open var urlScheme: URL
  • Returns true if current application can open Pisth URL scheme.

    Declaration

    Swift

    open var canOpen: Bool { get }
  • Open Pisth and import file.

    This function takes a screenshot of key window and use it as blurred background for Pisth.

    Declaration

    Swift

    open func importFile()