ContextSettingTask
@MainActor
public struct ContextSettingTask<VC> : ContextTask where VC : ContextAccepting
ContextTask
that simplifies setting of the context to the UIViewController
that implements ContextAccepting
protocol.
-
Constructor
Declaration
Swift
@MainActor public init()
-
Declaration
Swift
@MainActor public func prepare(with context: VC.Context) throws
-
Declaration
Swift
@MainActor public func perform(on viewController: VC, with context: VC.Context) throws