Skip to content

Responder-Based Model

Compare
Choose a tag to compare
@aheze aheze released this 05 Jan 17:16
· 168 commits to main since this release

Popovers now fully supports multiple windows and won't interfere with the status bar! This is a breaking change — for migrating, check out the guide. Thanks to @ShezHsky for the pull request.

  • No more overlaying container window — popovers are now presented directly on the topmost view controller.
  • No more static Popovers class — control the lifecycle with Popover instance methods.
  • Popover models and frame tags are now tied to specific windows and stored in the UIResponder chain.
  • New WindowReader view for easily reading the hosting window in SwiftUI.
  • If inside a popover view or background, use PopoverReader + context.window instead.
  • Set context.isDraggingEnabled to enable or disable dragging at any time.
Responder-Based.Model.mp4