NACC_ResultDisplayImageStore

fileprivate final class NACC_ResultDisplayImageStore : ObservableObject

This allows us to store the currently displayed image into a place where it can be shared to the wrapper.

  • We have a singleton.

    Declaration

    Swift

    @MainActor
    static let shared: NACC_ResultDisplayImageStore
  • That singleton has an optional image.

    Declaration

    Swift

    @Published
    @MainActor
    var image: UIImage? { get set }