SwiftyInspector

@available(iOS 10.0, *)
@objc
public final class SwiftyInspector : UITableViewController

Swifty Inspector is way to view the log of all requests that have gone through Swifty, and view their request and response parameters, including their URLSessionTaskMetrics.

To show the Swifty Inspector, present the UINavigationController returned from the SwiftyInspecter.shared.presentableInspector() method.

Swifty Inspector only collects and displays information in the DEBUG compiler configuration. Only available on iOS 10+.

  • The shared instance of the Swifty Inspector.

    Declaration

    Swift

    @objc
    public static let shared: SwiftyInspector
  • Get the Swifty Inspector’s View Controller.

    Declaration

    Swift

    @objc
    public static func presentableInspector() -> UINavigationController

    Return Value

    UINavigationController - The SwiftyInspector's UIViewController wrapped in a UINavigationController