HomeViewController
final class HomeViewController : UIViewController, RequiresAppDependencies
extension HomeViewController: HomeLayoutDelegate
extension HomeViewController: UICollectionViewDelegate
extension HomeViewController: ExposureStateUpdating
extension HomeViewController: ENStateHandlerUpdating
extension HomeViewController: NavigationBarOpacityDelegate
Undocumented
-
init(coder:delegate: detectionMode: exposureManagerState: initialEnState: risk: exposureSubmissionService: ) Undocumented
Declaration
Swift
init?( coder: NSCoder, delegate: HomeViewControllerDelegate, detectionMode: DetectionMode, exposureManagerState: ExposureManagerState, initialEnState: ENStateHandler.State, risk: Risk?, exposureSubmissionService: ExposureSubmissionService )
-
Undocumented
Declaration
Swift
override func viewDidLoad() -
Undocumented
Declaration
Swift
override func viewWillAppear(_ animated: Bool) -
Undocumented
Declaration
Swift
override func viewDidAppear(_ animated: Bool) -
Undocumented
Declaration
Swift
override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?)
-
Undocumented
Declaration
Swift
@objc func refreshUIAfterResumingFromBackground() -
Undocumented
Declaration
Swift
func setStateOfChildViewControllers() -
Undocumented
Declaration
Swift
func updateState(detectionMode: DetectionMode, exposureManagerState: ExposureManagerState, risk: Risk?) -
Undocumented
Declaration
Swift
func showRiskStatusLoweredAlertIfNeeded() -
Undocumented
Declaration
Swift
func showExposureSubmissionWithoutResult() -
Undocumented
Declaration
Swift
func showExposureSubmission(with result: TestResult? = nil) -
Undocumented
Declaration
Swift
func showExposureNotificationSetting() -
Undocumented
Declaration
Swift
func showExposureDetection()
-
Undocumented
Declaration
Swift
func reloadData(animatingDifferences: Bool) -
Undocumented
Declaration
Swift
func reloadCell(at indexPath: IndexPath) -
Undocumented
Declaration
Swift
func applySnapshotFromSections(animatingDifferences: Bool = false) -
Undocumented
Declaration
Swift
func updateSections() -
Undocumented
Declaration
Swift
func cellForItem(at indexPath: IndexPath) -> UICollectionViewCell?
-
Undocumented
Declaration
Swift
func showTestResultScreen() -
Undocumented
Declaration
Swift
func updateTestResultState() -
Undocumented
Declaration
Swift
func homeLayoutSection(for sectionIndex: Int) -> Section? -
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool -
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, didHighlightItemAt indexPath: IndexPath) -
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, didUnhighlightItemAt indexPath: IndexPath) -
Undocumented
Declaration
Swift
func collectionView(_: UICollectionView, didSelectItemAt indexPath: IndexPath) -
Undocumented
Declaration
Swift
func updateExposureState(_ state: ExposureManagerState) -
Undocumented
Declaration
Swift
func updateEnState(_ state: ENStateHandler.State) -
Undocumented
Declaration
Swift
var preferredNavigationBarOpacity: CGFloat { get }