SwiftprotocolHealthReportCoreUI

protocol HealthReportCoreUI.EvaluationExperienceViewProviding

Members 14

  1. funcmethod descriptor for static makeExperience(for: HealthReport.EvaluationExperienceIdentifier, restoring: A.Snapshot, context: HealthReportCoreUI.EvaluationExperienceContext, results: HealthDomains.ClassificationSet) -> A
  2. funcstatic makeExperience<A where A1: HealthReport.ExperienceSnapshotType>(for: HealthReport.EvaluationExperienceIdentifier, from: A1, context: HealthReportCoreUI.EvaluationExperienceContext, results: HealthDomains.ClassificationSet) -> HealthReportCoreUI.EvaluationExperienceViewProviding?
  3. varstatic var snapshotIdentifier: HealthReport.SnapshotTypeIdentifier { get }
  4. associatedtypeassociatedtype CardView
  5. associatedtypeassociatedtype Snapshot
  6. associatedtypeassociatedtype State
  7. funcerasedCard(isExpanded: Bool) -> SwiftUI.AnyView
  8. funcmethod descriptor for makeCard(isExpanded: Bool) -> A.CardView
  9. funcHealthReportCoreUI.EvaluationExperienceViewProviding< where A.CardView == HealthReportCoreUI.EvaluationCard>.makeCard(isExpanded: Bool) -> HealthReportCoreUI.EvaluationCard
  10. funcmethod descriptor for makeViewController(context: HealthReportCoreUI.EvaluationExperienceContext) -> UIViewController
  11. funcmarkExpiring(for: HealthReport.EvaluationActionStatus, forcesExpiry: Bool) -> HealthReportCoreUI.EvaluationExperienceViewProviding
  12. funcoverrideStatus(to: HealthReport.EvaluationActionStatus) -> some HealthReportCoreUI.EvaluationExperienceViewProviding
  13. varvar identifier: HealthReport.EvaluationExperienceIdentifier { get }
  14. varvar state: A.State { get }
protocol EvaluationExperienceViewProviding where Self.CardView: SwiftUI.View, Self.Snapshot: HealthReport.ExperienceSnapshotType, Self.State: HealthReportCoreUI.ExperienceStateProviding {
    associatedtype Snapshot
    associatedtype State
    associatedtype CardView

    var state: Self.State {
        get
    }

    func makeViewController(context: HealthReportCoreUI.EvaluationExperienceContext) -> __C.UIViewController
    func makeCard(isExpanded: Swift.Bool) -> Self.CardView

    static func makeExperience(for: HealthReport.EvaluationExperienceIdentifier, restoring: Self.Snapshot, context: HealthReportCoreUI.EvaluationExperienceContext, results: HealthDomains.ClassificationSet) -> Self
}
extension HealthReportCoreUI.EvaluationExperienceViewProviding {
    var identifier: HealthReport.EvaluationExperienceIdentifier {
        get
    }

    func makeCard(isExpanded: Swift.Bool) -> HealthReportCoreUI.EvaluationCard where Self.CardView == HealthReportCoreUI.EvaluationCard
    func erasedCard(isExpanded: Swift.Bool) -> SwiftUI.AnyView
    func markExpiring(for: HealthReport.EvaluationActionStatus, forcesExpiry: Swift.Bool) -> any HealthReportCoreUI.EvaluationExperienceViewProviding
    func overrideStatus(to: HealthReport.EvaluationActionStatus) -> some HealthReportCoreUI.EvaluationExperienceViewProviding

    static var snapshotIdentifier: HealthReport.SnapshotTypeIdentifier {
        get
    }

    static func makeExperience<A1>(for: HealthReport.EvaluationExperienceIdentifier, from: A1, context: HealthReportCoreUI.EvaluationExperienceContext, results: HealthDomains.ClassificationSet) -> (any HealthReportCoreUI.EvaluationExperienceViewProviding)? where A1: HealthReport.ExperienceSnapshotType
}