ContextAccepting
public protocol ContextAccepting : UIViewController
The protocol for a UIViewController
to make it compatible with ContextSettingTask
.
-
Type of
Context
object thatUIViewController
can deal withDeclaration
Swift
associatedtype Context
-
checkCompatibility(with:
Default implementation) -
ContextSettingTask
will call this method to provide theContext
instance to theUIViewController
that has just been build or found.Declaration
Swift
func setup(with context: Context) throws
Parameters
context
Context
instance.