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
delegateInsider 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
delegateThe Insider delegate reference.
portthe port on which local webserver will listen for commands.
-
Stop the local web server.
Declaration
Swift
public func stop()
View on GitHub
Insider Class Reference