Skip to content

swapify 0.2.0

Choose a tag to compare

@tornikegomareli tornikegomareli released this 28 Nov 22:45
· 61 commits to main since this release

Added

  • macOS apps. swapify run --mac builds the macOS app with reload support, opens it on this Mac, and reloads it like a simulator app: SwiftUI views keep their @State, AppKit view controllers build their views again in place, @objc methods reload, and a new stored property of a class lives beside existing objects. ui, tap, screenshot, watch, doctor and the MCP tools work with it. The Debug build turns off the App Sandbox and the hardened runtime on the xcodebuild command line, so the agent can load and listen; the project does not change. macOS scans each new patch before it loads, so a reload costs about 250 ms more than in the simulator.
  • Examples/Desk, a macOS app with an AppKit list and a SwiftUI detail in a split view, and its end-to-end test, scripts/e2e-mac.py.
  • docs/research/spikes/07-macos: what a macOS app needs, measured.