ContextSettingTask

public struct ContextSettingTask<VC> : ContextTask where VC : ContextAccepting

ContextTask that simplifies setting of the context to the UIViewController that implements ContextAccepting protocol.

Methods

  • Constructor

    Declaration

    Swift

    public init()
  • Declaration

    Swift

    public func prepare(with context: VC.Context) throws
  • Declaration

    Swift

    public func perform(on viewController: VC, with context: VC.Context) throws