ContextUpdatable
public protocol ContextUpdatable
Type, that can be updated with newly received Context
-
Argument type, that can be used to update a
View
.Declaration
Swift
associatedtype Context
-
Updates current type with newly received
context
.Declaration
Swift
func update(with context: Context)
Parameters
context
argument used for updating current object.