FireTVSelectionPresenterProtocol
public protocol FireTVSelectionPresenterProtocol : AnyObject
Protocol describing the requirements of a FireTVSelectionPresenter
The presenter in the VIPER
architecture is responsible for a view
and the counterpart of the view
Comes to play if you implement a custom FireTVSelectionViewProtocol
-
Should be called by a custom
FireTVSelectionViewProtocol
if your custom view did loadDeclaration
Swift
func viewDidLoad()
-
Should be called by a custom
FireTVSelectionViewProtocol
if your custom view will appearDeclaration
Swift
func viewWillAppear()
-
Should be called by your custom
FireTVSelectionViewProtocol
if you have a close button which was pressed The presenter will clean up to be ready to close the viewDeclaration
Swift
func didPressCloseBarButtonItem()