<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: h3p</title>
    <description>The latest articles on DEV Community by h3p (@h3pdesign).</description>
    <link>https://dev.to/h3pdesign</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3979489%2Feeb40f88-f09d-4747-9049-5d0112836553.png</url>
      <title>DEV Community: h3p</title>
      <link>https://dev.to/h3pdesign</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/h3pdesign"/>
    <language>en</language>
    <item>
      <title>Neon Vision Editor — a native Swift code and text editor for macOS, iPad, and iPhone</title>
      <dc:creator>h3p</dc:creator>
      <pubDate>Thu, 11 Jun 2026 12:04:28 +0000</pubDate>
      <link>https://dev.to/h3pdesign/neon-vision-editor-a-native-swift-code-and-text-editor-for-macos-ipad-and-iphone-3of9</link>
      <guid>https://dev.to/h3pdesign/neon-vision-editor-a-native-swift-code-and-text-editor-for-macos-ipad-and-iphone-3of9</guid>
      <description>&lt;p&gt;I've been building &lt;a href="https://github.com/h3pdesign/Neon-Vision-Editor" rel="noopener noreferrer"&gt;Neon Vision Editor&lt;/a&gt; &lt;br&gt;
for about a year — a lightweight, native code and text editor for macOS, iPadOS, and &lt;br&gt;
iPhone written in Swift 6 with SwiftUI + AppKit. No Electron, no web views, no runtime &lt;br&gt;
dependencies.&lt;/p&gt;

&lt;p&gt;Here's what it does and some of the interesting technical decisions behind it.&lt;/p&gt;




&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Syntax highlighting for code and Markdown&lt;/li&gt;
&lt;li&gt;Vim mode for keyboard-first editing&lt;/li&gt;
&lt;li&gt;Find &amp;amp; Replace with scope selection&lt;/li&gt;
&lt;li&gt;Find in Files across your project sidebar&lt;/li&gt;
&lt;li&gt;Configurable status bar — cursor position, word count, Git branch, encoding, 
indentation, file size, and more&lt;/li&gt;
&lt;li&gt;Code minimap with a draggable viewport marker for large file navigation&lt;/li&gt;
&lt;li&gt;Code snapshots for exporting readable code images&lt;/li&gt;
&lt;li&gt;Markdown support with live preview and configurable themes&lt;/li&gt;
&lt;li&gt;Indentation guides, invisible character rendering, current-line and 
matching-bracket highlighting&lt;/li&gt;
&lt;li&gt;Git integration — working-tree status, branch history, commit diffs, 
and a visual branch graph&lt;/li&gt;
&lt;li&gt;Split editor for comparing two files side by side&lt;/li&gt;
&lt;li&gt;Integrated terminal tab in the project sidebar&lt;/li&gt;
&lt;li&gt;On-device AI via Apple Foundation Models — completions run fully offline, 
no API key, no internet required&lt;/li&gt;
&lt;li&gt;Runs natively on macOS, iPadOS, and iPhone from a single codebase&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Some technical decisions worth mentioning
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;AppKit + SwiftUI together.&lt;/strong&gt; The core editor is AppKit-based for performance and &lt;br&gt;
control over text rendering. SwiftUI wraps the chrome, settings, and sidebar. Getting &lt;br&gt;
the two to stay in sync — especially around scroll position, layout invalidation, and &lt;br&gt;
focus — has been the most consistently interesting challenge.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Swift 6 concurrency.&lt;/strong&gt; The entire codebase is migrated to Swift 6 language mode. &lt;br&gt;
Syntax highlighting, Git operations, Find in Files, and folder compare all run off the &lt;br&gt;
main actor with explicit Sendable boundaries. The main payoff is eliminating a class &lt;br&gt;
of threading bugs that only showed up under load.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Foundation Models on-device AI.&lt;/strong&gt; Completions use Apple's Foundation Models API &lt;br&gt;
directly — no third-party backend, no network call. The integration is gated on real &lt;br&gt;
system availability, not a feature flag, so it degrades cleanly on unsupported hardware.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Markdown preview privacy.&lt;/strong&gt; The preview WebView uses a non-persistent data store &lt;br&gt;
with JavaScript disabled. Remote images become click-through placeholders rather than &lt;br&gt;
loading automatically. This keeps the preview useful without it making unexpected &lt;br&gt;
network requests.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Single codebase, three platforms.&lt;/strong&gt; macOS, iPadOS, and iPhone share the same Swift &lt;br&gt;
codebase with platform-specific layout paths. The hardest part is toolbar and sheet &lt;br&gt;
density — what works at full macOS width needs a completely different information &lt;br&gt;
hierarchy on a compact iPhone layout.&lt;/p&gt;




&lt;h2&gt;
  
  
  It is open source
&lt;/h2&gt;

&lt;p&gt;Apache 2.0. All development happens in the open on GitHub. I ship releases as DMG &lt;br&gt;
and ZIP for macOS, and there is a Homebrew tap for those who prefer that.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/h3pdesign/Neon-Vision-Editor" rel="noopener noreferrer"&gt;https://github.com/h3pdesign/Neon-Vision-Editor&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Download: &lt;a href="https://github.com/h3pdesign/Neon-Vision-Editor/releases/tag/v0.7.7" rel="noopener noreferrer"&gt;https://github.com/h3pdesign/Neon-Vision-Editor/releases/tag/v0.7.7&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Homebrew: &lt;code&gt;brew install h3pdesign/tap/neon-vision-editor&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;App Store: &lt;a href="https://apps.apple.com/de/app/neon-vision-editor/id6758950965" rel="noopener noreferrer"&gt;https://apps.apple.com/de/app/neon-vision-editor/id6758950965&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy to answer questions about the AppKit + SwiftUI bridging, the Swift 6 migration, &lt;br&gt;
or the Foundation Models integration.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv6ebl7um97zyv6jaolwl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv6ebl7um97zyv6jaolwl.png" alt=" " width="800" height="706"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>software</category>
      <category>development</category>
      <category>code</category>
    </item>
  </channel>
</rss>
