Class
ScenarioViewController
open class ScenarioViewController: UIViewController
The view controller to layout scenario's content.
Relationships
Conforms To
UIViewController
Initializers
init(context:)
public init(context: ScenarioContext)
Initialize a new scenario view controller with given context.
Parameters
Name | Type | Description |
---|---|---|
context | ScenarioContext |
The context of scenario. |
init(context:scenario:)
public convenience init(context: ScenarioContext, scenario: Scenario)
Initialize a new scenario view controller with given context.
Parameters
Name | Type | Description |
---|---|---|
context | ScenarioContext |
The context of scenario. |
scenario | Scenario |
A scenario to be displayed initially. |
init?(coder:)
@available(*, unavailable) public required init?(coder: NSCoder)
Unavailable initializer.
Properties
contentViewController
var contentViewController: UIViewController?
The view controller wrapping content of currently displayed scenario.
disablesEndAppearanceTransition
var disablesEndAppearanceTransition
Specifies whether the endAppearanceTransition
should be call after transition.
Methods
endAppearanceTransition()
open override func endAppearanceTransition()
Tells the child controller its appearance changed.