qmetrics.net

InjectionIII

Hot code injection for Swift in the Xcode simulator

IDEs & Code EditorsDesktop/CLI app

A macOS app that recompiles edited Swift sources into a dynamic library and loads changes into a running iOS simulator app without a full rebuild.

Overview

InjectionIII enables incremental code injection for Swift and Objective-C projects in the iOS simulator (and related Apple platforms). When you save a source file, it recompiles that file into a dynamic library, loads it into the running app, and updates call sites so new implementations run immediately instead of requiring a full rebuild or restart.

Setup involves downloading the app or Mac App Store build, adding startup hook code in your app, and enabling the -Xlinker -interposable linker flags for Debug targets. A file watcher monitors saves; classes can implement an injected() callback to refresh UI after injection. SwiftUI views can integrate via HotSwiftUI or Inject packages for reliable redraw.

Injection uses linker interposing and fishhook-style rebinding rather than only Objective-C swizzling, and updates vtables for non-final class methods. It cannot change stored property layout, add or remove methods on non-final classes in ways that alter dispatch tables, or automatically re-run UI code paths. Newer Xcode versions may require EMIT_FRONTEND_COMMAND_LINES in Debug settings so build logs expose compiler invocations.

The app also supports optional on-device injection with unsandboxed releases, macOS targets with hardened-runtime adjustments, an MCP server in recent versions, and a successor project called InjectionNext for improved performance on large codebases.

Key features

  • Simulator hot reload without full rebuild
  • Dynamic library load on file save
  • Linker interposing for Swift methods
  • SwiftUI injection helpers via packages
  • Optional on-device injection mode
  • Xcode build log driven recompile
  • MCP server in app bundle
  • Mac App Store and GitHub releases

Use cases

  • Rapid UI iteration in simulator
  • SwiftUI view tweaking
  • Debugging without relaunch
  • macOS app development injection
  • UIKit controller updates

Tags

Similar software

Visual Studio Code

Extensible editor for edit-build-debug workflows

Visual Studio Code combines a lightweight code editor with navigation, debugging, and an extension model. Builds are available for Windows, macOS, and Linux, with a browser-based option.

  • Integrated debugging
  • Rich code navigation
  • Extension marketplace
TypeScriptWeb, Linux, macOS, WindowsDetails →
★ 195.7k⟳ todayMIT
IDEs & Code EditorsDesktop/CLI app
Open Source Alternative to:Sublime TextWindsurf

Neovim

Extensible Vim-based terminal text editor

Neovim refactors Vim for easier maintenance, stronger extensibility, and modern UIs. It keeps Vim's editing model while adding Lua config, LSP, and a language-agnostic RPC API.

  • Language-agnostic RPC API
  • Built-in Lua configuration
  • Tree-sitter parsing support
Vim ScriptLinux, macOS, Windows, CLIDetails →
★ 104.2k⟳ todayApache-2.0 · open core
IDEs & Code EditorsDesktop/CLI app
Open Source Alternative to:Sublime Text

Zed

Multiplayer open-source code editor with optional AI

Zed is a multiplayer code editor for macOS, Linux, and Windows. It comes from the creators of Atom and Tree-sitter.

  • Multiplayer coding sessions
  • macOS, Linux, and Windows installs
  • Optional AI assistance
RustLinux, macOS, WindowsDetails →
★ 96.4k⟳ todayApache-2.0 · open core
IDEs & Code EditorsDesktop/CLI app
Open Source Alternative to:Sublime Text

Helix

Modal terminal text editor built in Rust

Helix is a terminal modal editor inspired by Kakoune and Neovim. It targets fast editing over SSH, tmux, or a plain terminal without Electron or JavaScript.

  • Vim-like modal editing
  • Multiple selections
  • Built-in language server support
RustCLIDetails →
★ 47.2k⟳ 4 days agoMPL-2.0
IDEs & Code EditorsDesktop/CLI app
Open Source Alternative to:Sublime Text

Lapce

Native Rust code editor with GPU rendering

Lapce is a desktop code editor written in Rust with a Floem UI and wgpu rendering. It targets developers who want LSP intelligence, modal editing, and a built-in terminal in one installable app.

  • Built-in LSP support
  • Toggleable Vim-like modal editing
  • Tree-sitter syntax highlighting
RustLinux, macOS, WindowsDetails →
★ 39.2k⟳ 5 days agoApache-2.0
IDEs & Code EditorsDesktop/CLI app
Open Source Alternative to:Sublime Text

VSCodium

Community-built VS Code binaries without Microsoft telemetry

VSCodium distributes freely licensed builds of the VS Code editor produced from upstream sources. Telemetry is disabled and extensions use the open-vsx.org registry by default.

  • MIT-licensed editor binaries
  • Telemetry disabled by default
  • Open VSX extension registry
ShellLinux, macOS, WindowsDetails →
★ 34.4k⟳ 4 days agoMIT
IDEs & Code EditorsDesktop/CLI app
Open Source Alternative to:Sublime Text