Skip to content

swapify 0.1.1

Choose a tag to compare

@tornikegomareli tornikegomareli released this 26 Nov 11:57
· 103 commits to main since this release

Fixed

  • On an iPhone, a reload of a file that uses a type created since the build failed with symbol not found in flat namespace. The files of one patch are now bound together, so the patch keeps the new type's metadata.
  • A build kept the compile commands of deleted files. A file created again with the same name then compiled with an old command, maybe one for the other platform. Each build now drops them, and such a file borrows a fresh command.

Added

  • swapify watch reloads Swift files when you save them, for hand edits, for example in Xcode. Start it after swapify run or swapify run --device; it runs until Ctrl-C. It prints one line for each reload, and --json prints each result as one line of JSON.
  • The README, the agent docs and the skill say that a changed static let or global constant keeps its old value, and that a computed property reloads.