PKGControllerProtocol

public protocol PKGControllerProtocol

This protocol enables package lifecycle.

  • The package of this controller. This will be assigned automatically during a controller instantiation.

    Declaration

    Swift

    var package: Package? { get set }
  • This function populate the controller properties.

    Declaration

    Swift

    func properties(from package: Package)

    Parameters

    package

    the package containing data.