Issue #123

Wishing Everyone a Happy Year of the Horse!

Cover for Weekly Issue 123

This Chinese New Year ushers in the Bingwu Year (丙午) — a once‑in‑60‑years “Red Horse Year” (赤马年) .

In the traditional Chinese stem‑branch calendar, the Heavenly Stem Bing (丙) and the Earthly Branch Wu (午) both belong to the Fire element. This double‑fire combination creates an exceptionally rare “Fire Horse” pattern. Since fire is associated with the colour red, this Year of the Horse is also called the “Red Horse Year” (红马年) . This red horse embodies pure vitality and soaring spirits, symbolising a year full of boundless energy and enterprising drive.

At this once‑in‑60‑years auspicious moment, I wish all my readers: good health (CPU at full power), a soaring career (performance optimised), smooth sailing in everything (bug‑free runtime), and immediate success (compilation passed)! 🎉

Recent Recommendations

Swift Concurrency from Zero to Hero | Reading List

Setting AI aside—since it still struggles to handle complex Swift 6 concurrency code at an expert level—even as tools rapidly evolve, you shouldn’t remain a passive observer. A systematic and comprehensive understanding of Swift Concurrency—its concepts, usage patterns, and historical evolution—is essential for building safer and more resilient applications from the ground up. In this article, Alex Ozun organizes a structured learning roadmap for Swift Concurrency, divided by difficulty levels. Each stage is accompanied by publicly available, free resources, with complexity gradually increasing. The goal is simple: complete the journey and move from Zero to Hero.


A Modern iOS Project Setup in 15 Steps

For many developers, starting a new project means repeating a series of tedious setup steps. In this thread, Ertem Biyik outlines a modern engineering baseline for iOS projects in 15 steps: using Tuist to manage dependencies and project generation, centralizing configuration through xcconfig, simplifying onboarding with a Makefile, and validating builds with GitHub Actions. He also recommends standardizing AI context with AGENTS.md and leveraging sosumi.ai for LLM-friendly Apple documentation.


Micelio: Growing Software Like Nature Grows Forests

As AI becomes deeply embedded in development workflows, many traditional tools are starting to show their limitations. Using the metaphor of a mycelium network, Pedro Piñera argues that Git’s model—capturing what changed but rarely preserving why it changed—may no longer be sufficient in an AI-first world. This article presents his systematic reflection on a “post-Git era” and introduces an experimental approach to agent-first collaboration. The accompanying open-source forge project, Micelio, centers around sessions as the core unit to capture context and reasoning, shifting code hosting from storing diffs to storing decisions. Though still early-stage, the problem framing and engineering direction are worth watching.


Copy-on-Write in Swift - How It Works and Why It Optimizes Memory

Copy-on-Write (COW) is a fundamental mechanism in Swift and a key reason value types can achieve strong semantics without sacrificing performance. Sagar Unagar explains how Swift balances value semantics and runtime efficiency through a “struct wrapper + reference storage” model: reads share storage, while writes trigger a real copy only when the reference is no longer unique, detected via isKnownUniquelyReferenced. The article also demonstrates how to implement COW in custom types.


Taking First Steps into Metal Shaders

For many SwiftUI developers, Metal can feel distant and complex. In this article, Letizia Granata walks through the basics of working with shaders—from understanding CPU/GPU responsibilities to adding a .metal file in Xcode and applying a simple shader effect in SwiftUI. Rather than diving into rendering pipelines or graphics theory, the focus is on getting something running, lowering the barrier to entry for experimentation.


Setting Up a Backend Server for Our Landmarks App

Landmarks is Apple’s classic SwiftUI tutorial app, but its reliance on local JSON data leaves a gap between example and real-world architecture. Kyle Browning builds a simple backend using Vapor to serve data via API, transforming the static demo into a client-server structure. The article covers model definition, routing, data responses, and integration with SwiftUI—less about complex business logic and more about extending a teaching example into something closer to production reality.


In the Background: Spotlight Indexing

After a system update, Macs often run hot and sluggish for a few days—commonly attributed to Spotlight reindexing. But how exactly does Spotlight scan files, decide when to rebuild its index, and manage system resources in the background? Howard Oakley analyzes logs and empirical data to explore Spotlight’s triggering mechanisms, process behavior, and impact on I/O and performance, offering a deeper technical look at macOS internals.

Tools

ScreenStateKit: A Better MVVM for the SwiftUI Concurrency Era

If you appreciate TCA’s unidirectional data flow and predictable state management but don’t want to fully refactor your existing MVVM architecture, ScreenStateKit may offer a pragmatic middle ground. Anthony Tran splits the traditional ViewModel into two clearly defined components: a @MainActor-isolated ScreenState that holds UI state, and a Swift actor-based ScreenActionStore that handles business logic and async tasks. All mutations flow through strongly typed Actions, bringing compile-time concurrency safety and TCA-like discipline to MVVM. Built-in loading/error handling, duplicate request prevention (ActionLocker), parent-child state propagation, and pagination support round out the design. Anthony also provides a detailed design article explaining the architecture and its rationale.


GitHub Directory Downloader

If you’ve ever cloned an entire repository just to download a single folder from GitHub, this tool is for you. Developed by Stewart Lynch, this native macOS app lets you paste any GitHub repository or directory URL (including tree/branch/path formats), automatically detect the default branch, recursively download the selected directory, and preserve its original structure.


SimTag: Branch Context for Your iOS Simulators

In parallel development workflows, it’s easy to lose track of which branch is running in which iOS Simulator. Developed by Aryaman Sharda, SimTag overlays a lightweight label on each Simulator window, showing the git branch and commit corresponding to the running build. For developers using worktrees, reviewing PRs, or collaborating with AI tools, it helps reduce cognitive friction and prevents debugging the wrong branch.

Related Weekly

Subscribe to Fatbobman

Weekly Swift & SwiftUI highlights. Join developers.

Subscribe Now