<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Swift on SoloSoft</title><link>https://www.solosoft.dev/tags/swift/</link><description>Recent content in Swift on SoloSoft</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://www.solosoft.dev/tags/swift/index.xml" rel="self" type="application/rss+xml"/><item><title>Apple Container: Open-Source Tool for Running Linux Containers as VMs on Mac</title><link>https://www.solosoft.dev/post/apple-container-mac-2026/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/apple-container-mac-2026/</guid><description>&lt;p&gt;For years, running Linux containers on macOS has required a VM layer &amp;ndash; Docker Desktop&amp;rsquo;s Linux VM, Podman&amp;rsquo;s podman-machine, or Lima&amp;rsquo;s QEMU-based approach. These solutions work, but they introduce overhead and complexity. &lt;strong&gt;Apple Container&lt;/strong&gt; takes a fundamentally different approach by running Linux containers directly as lightweight virtual machines using Apple&amp;rsquo;s native Virtualization.framework, eliminating the need for a separate VM management layer.&lt;/p&gt;
&lt;p&gt;Released as an open-source project under the Apache 2.0 license, Apple Container represents Apple&amp;rsquo;s official entry into the container tooling space. The tool is written in Swift and provides a clean command-line interface for creating, running, and managing Linux containers as VMs on Apple Silicon Macs. It leverages the same Virtualization.framework that powers macOS&amp;rsquo;s own virtualization features, ensuring native performance and tight integration with the host operating system.&lt;/p&gt;</description></item><item><title>Apple Containerization: Swift Package for Native Linux Containers on macOS</title><link>https://www.solosoft.dev/post/apple-containerization-swift-2026/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/apple-containerization-swift-2026/</guid><description>&lt;p&gt;When Apple announced &lt;strong&gt;Containerization&lt;/strong&gt; at WWDC 2025, it represented a significant strategic shift: Apple was not just providing a container tool, but building a native containerization stack for macOS from the ground up. Containerization is the Swift package that forms the programmatic foundation of this stack, offering a clean, Swift-native API for creating, managing, and orchestrating Linux containers as lightweight VMs.&lt;/p&gt;
&lt;p&gt;Unlike the Apple Container CLI tool, which provides an end-user command-line interface, Containerization is designed for developers who need to integrate container management directly into their applications, build tools, and workflows. It is the same package that powers Apple Container under the hood, but exposed as a public API for programmatic use.&lt;/p&gt;</description></item><item><title>Live Wallpaper for macOS: Dynamic Desktop Backgrounds</title><link>https://www.solosoft.dev/post/live-wallpaper-mac-2026/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/live-wallpaper-mac-2026/</guid><description>&lt;p&gt;One of the few desktop features that macOS users envy from Windows and Linux is live wallpaper support. Live Wallpaper for macOS, created by thusvill, fills this gap with a native Swift application that brings dynamic, video-based wallpapers to macOS with performance-optimized rendering.&lt;/p&gt;
&lt;p&gt;Unlike resource-heavy solutions that drain battery and slow down the system, this app is built with performance as a priority. It uses Metal-rendered video playback that pauses automatically when running on battery, when full-screen apps are active, or when system resources are needed elsewhere. The result is beautiful animated desktops without sacrificing battery life or performance.&lt;/p&gt;
&lt;h2 id="key-features"&gt;Key Features&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Feature&lt;/th&gt;
 &lt;th&gt;Description&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Video wallpaper&lt;/td&gt;
 &lt;td&gt;Play any video file as desktop background&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Performance optimization&lt;/td&gt;
 &lt;td&gt;Metal rendering with automatic pausing&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Battery awareness&lt;/td&gt;
 &lt;td&gt;Pauses on battery to conserve power&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;App detection&lt;/td&gt;
 &lt;td&gt;Pauses when full-screen apps are running&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Multi-monitor&lt;/td&gt;
 &lt;td&gt;Independent wallpapers per display&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="application-architecture"&gt;Application Architecture&lt;/h2&gt;

&lt;figure class="mermaid-wrapper not-prose" role="img" aria-label="Mermaid diagram"&gt;
 &lt;div class="mermaid-container"&gt;
 &lt;pre class="mermaid"&gt;flowchart LR
 A[Live Wallpaper App] --&amp;gt; B[Window Manager]
 B --&amp;gt; C[Desktop Wallpaper Layer]
 C --&amp;gt; D[Metal Renderer]
 D --&amp;gt; E[Video Decoder]
 E --&amp;gt; F[Video File]
 D --&amp;gt; G[Performance Monitor]
 G --&amp;gt; H{System State}
 H --&amp;gt;|Battery| I[Pause Playback]
 H --&amp;gt;|Fullscreen App| I
 H --&amp;gt;|Normal| J[Continue Playback]&lt;/pre&gt;
 &lt;script type="application/mermaid"&gt;flowchart LR
 A[Live Wallpaper App] --&gt; B[Window Manager]
 B --&gt; C[Desktop Wallpaper Layer]
 C --&gt; D[Metal Renderer]
 D --&gt; E[Video Decoder]
 E --&gt; F[Video File]
 D --&gt; G[Performance Monitor]
 G --&gt; H{System State}
 H --&gt;|Battery| I[Pause Playback]
 H --&gt;|Fullscreen App| I
 H --&gt;|Normal| J[Continue Playback]&lt;/script&gt;
 &lt;/div&gt;
&lt;/figure&gt;&lt;p&gt;The app creates a lightweight desktop wallpaper layer that sits behind all other windows. The Metal renderer decodes and displays videos efficiently, while the performance monitor tracks system state and pauses playback when appropriate.&lt;/p&gt;</description></item><item><title>QuickRecorder: Lightweight Screen Recorder for macOS</title><link>https://www.solosoft.dev/post/quickrecorder-mac-2026/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.solosoft.dev/post/quickrecorder-mac-2026/</guid><description>&lt;p&gt;macOS users have long relied on QuickTime Player for basic screen recording, but its limited features and lack of customization have left room for a better solution. &lt;strong&gt;QuickRecorder&lt;/strong&gt; (lihaoyun6/QuickRecorder on GitHub) fills this gap with a lightweight, open-source screen recorder that offers professional capture capabilities without the bloat of commercial alternatives.&lt;/p&gt;
&lt;p&gt;Developed by lihaoyun6 using Swift and native macOS APIs, QuickRecorder has become one of the most popular open-source screen recording tools on the platform. The application provides three capture modes &amp;ndash; fullscreen, window, and region &amp;ndash; along with hardware-accelerated video encoding using Apple&amp;rsquo;s VideoToolbox framework, camera overlay support, and simultaneous audio recording from system and microphone sources.&lt;/p&gt;</description></item></channel></rss>