Insider

final public class Insider: NSObject

The Insider API facade class.

  • The shared instance.

    Declaration

    Swift

    public static let shared = Insider()
  • The Insider delegate.

    Declaration

    Swift

    public weak var delegate: InsiderDelegate?
  • The Insider notification key.

    Declaration

    Swift

    public static let insiderNotificationKey = "com.insider.insiderNotificationKey"
  • Start the local web server which will listen for commands. By default server listens on port 8080.

    Declaration

    Swift

    public func start()
  • Start the local web server which will listen for commands, for given delegate. By default server listens on port 8080.

    Declaration

    Swift

    public func start(withDelegate delegate: InsiderDelegate?)

    Parameters

    delegate

    Insider delegate reference

  • Start the local web server which will listen for commands, for given delegate and port number.

    Declaration

    Swift

    public func start(withDelegate delegate: InsiderDelegate?, port: UInt)

    Parameters

    delegate

    The Insider delegate reference.

    port

    the port on which local webserver will listen for commands.

  • Stop the local web server.

    Declaration

    Swift

    public func stop()