Problem
Current built-in presentation APIs require UIKit or AppKit view-controller types and static calls. SwiftUI clients need presentation state that can be bound to a view hierarchy without searching for a global window.
Scope
- Provide a SwiftUI-facing adapter for structured update results.
- Expose presentation state suitable for
alert, sheet, or a documented view modifier.
- Support iOS and macOS within their existing deployment targets where SwiftUI APIs permit.
- Do not introduce global window lookup.
- Add a minimal SwiftUI usage example while retaining the UIKit/AppKit APIs.
Dependencies
Acceptance criteria
Tests
- Cover state transitions, dismissal, repeated results, scene ownership, and action routing.
Relevant files
Framework/Sources/
README.md
iOSSample/
MacSample/
Problem
Current built-in presentation APIs require UIKit or AppKit view-controller types and static calls. SwiftUI clients need presentation state that can be bound to a view hierarchy without searching for a global window.
Scope
alert,sheet, or a documented view modifier.Dependencies
Acceptance criteria
Tests
Relevant files
Framework/Sources/README.mdiOSSample/MacSample/