Container
public protocol Container
Container abstracts away from the difference of UIView and UIViewController
With the Container protocol, UIView and UIViewController objects can be used interchangeably,
e.g. when embedding containers into containers.
-
The view of the Container.
Note
It might not exist for aUIViewController.Declaration
Swift
var view: UIView! { get } -
The viewController of the Container.
Note
It might not exist for aUIView.Declaration
Swift
var viewController: UIViewController! { get }
View on GitHub
Container Protocol Reference