ViewModel

final class ViewModel

Undocumented

Lifecycle

Internal

  • Undocumented

    See more

    Declaration

    Swift

    enum Errors : Error, LocalizedError
  • Undocumented

    Declaration

    Swift

    var alert: GaugeAlert { get set }
  • Undocumented

    Declaration

    Swift

    var editMode: Bool { get set }
  • Undocumented

    Declaration

    Swift

    var siteID: String { get set }
  • Undocumented

    Declaration

    Swift

    var titlePopoverVisible: Bool { get set }
  • Undocumented

    Declaration

    Swift

    var messagePopoverVisible: Bool { get set }
  • Undocumented

    Declaration

    Swift

    var valuePopoverVisible: Bool { get set }
  • Undocumented

    Declaration

    Swift

    var metricPopoverVisible: Bool { get set }
  • Undocumented

    Declaration

    Swift

    var criteriaPopoverVisible: Bool { get set }
  • Undocumented

    Declaration

    Swift

    var activePopoverVisible: Bool { get set }
  • Undocumented

    Declaration

    Swift

    var edited: Bool { get }
  • Undocumented

    Declaration

    Swift

    var alertValid: Bool { get }
  • Undocumented

    Declaration

    Swift

    var canSave: Bool { get }
  • Undocumented

    Declaration

    Swift

    func onDelete(modelContext: ModelContext, completion: @escaping () -> Void)
  • Undocumented

    Declaration

    Swift

    func onSave(modelContext: ModelContext, completion: @escaping () -> Void)