Contents

ManagedPackageView

A view that displays information and controls for a managed software package.

Declaration

@MainActor @preconcurrency struct ManagedPackageView

Overview

ManagedPackageView provides an interface for presenting managed packages in your app, displaying package details, installation status, and management controls in a consistent way across macOS and macCatalyst applications.

import SwiftUI
import ManagedAppDistribution

struct PackageListView: View {
    let packages: [ManagedPackage]

    var body: some View {
        List(packages) { package in
            ManagedPackageView(package: package)
        }
    }
}

Topics

Initializers