ViewController

@available(iOS 9.0, *)
public class ViewController : UIViewController

A UIViewController which embeds the closure’s view after the viewDidLoad

  • Creates a UIViewController which only runs the closure after the viewDidLoad

    Declaration

    Swift

    public init(_ closure: @escaping (() -> UIView))
  • Undocumented

    Declaration

    Swift

    public override func viewDidLoad()