Skip to main content

Blog. Articles on Swift, iOS internals and the tooling around them. Some are also in မြန်မာ.

Collections

All articles 17

2026

  1. Why iOS Killed Your App Without Crashing: Jetsam, Virtual Memory, and Darwin Memory Pressure

    iOS Internals 46 min

    Your app disappeared and there is no crash report. We trace memory from a Swift allocation down through Darwin virtual memory pages, physical footprint, and system pressure, then read a synthetic jetsam event report line by line.

  2. The Twelve Mobile Factors: Building Robust Apps in the AI Era

    Mobile Architecture 22 min

    The Twelve-Factor App, rewritten for the mobile runtime. Twelve boundaries that keep an app reliable when AI makes change cheap and fast.

  3. Knuth-Morris-Pratt (KMP) in Swift: How It Works and Why It Is Worth Learning

    DSA 22 min

    Learn how KMP avoids repeated work, builds its LPS table, and performs efficient substring searches, with a clear implementation in Swift.

  4. Modern Swift Testing: The Complete Guide, Part 2

    Swift Testing 29 min

    Master Swift Testing: dependency injection patterns, auto-generated mocks with Mockolo, Cuckoo, and Sourcery, snapshot testing for UI and data models, and macro testing.

  5. Modern Swift Testing: The Complete Guide, Part 1

    Swift Testing 28 min

    Learn Swift Testing from scratch: the @Test and #expect macros, test doubles, parameterised tests, tags, XCTestPlan for CI lanes, and actor isolation.

  6. Making Sense of Apple’s AI Ecosystem: MLX, HuggingFace, CoreAI

    WWDC26 25 min

    A hype-free explanation of how Apple's AI ecosystem shares a single Swift interface.

  7. Everything I've Seen So Far About Foundation Models

    WWDC26 35 min

    A hands-on tour of Apple's Foundation Models: on-device LLMs, why they matter, streaming, structured output, and the new agentic primitives from WWDC26.

  8. Swift Package Traits

    Swift Package Manager 10 min

    Swift Package Traits let you add opt-in features to your packages without dragging in unused dependencies. Learn how to define and use them from scratch.

  9. Dub-Dub 26 Manifestation

    WWDC26 6 min

    Everything I Want That Apple Probably Won't Give Us

  10. Are Mobile Devs Still Safe in the AI Era?

    Career Advice 5 min Also in မြန်မာ

    AI is shrinking mobile teams. My honest take on whether mobile developers are still safe in 2026, and the practical moves that keep you indispensable.

    Are Mobile Devs Still Safe in the AI Era?

    Career Advice 3 min Also in English

    AI ကြောင့် mobile team တွေ ငယ်လာနေပြီ။ Mobile developer အနေနဲ့ ဘာတွေပြင်ဆင်ထားသင့်လဲ၊ ဘယ်လိုပိုတန်ဖိုးရှိတဲ့သူဖြစ်ရမလဲဆိုတာ ကျွန်တော့်အမြင်ကို ဝေမျှပါတယ်။

  11. SwiftNIO Notes 1

    Swift on Server 4 min Also in မြန်မာ

    SwiftNIO server bootstrap explained: backlog, SO_REUSEADDR, TCP_NODELAY, maxMessagesPerRead, and adaptive buffer allocation, each with a plain-language analogy.

    SwiftNIO မှတ်စု ၁

    Swift on Server 3 min Also in English

    SwiftNIO နဲ့ server bootstrap လုပ်တဲ့အခါ သုံးတဲ့ options တွေ — backlog, SO_REUSEADDR, TCP_NODELAY, maxMessagesPerRead, recvAllocator — ကို နားလည်အောင် ရှင်းပြပေးထားပါတယ်။

  12. Tools I Use as a Developer for Productivity

    5 min Also in မြန်မာ

    11 free macOS tools I rely on daily as a developer — Shottr, Espanso, Lazygit, Raycast, Hammerspoon, and more — each one worth your attention.

    Tools I Use as a Developer for Productivity

    2 min Also in English

    Developer တစ်ယောက်အနေနဲ့ ကျွန်တော် daily သုံးနေတဲ့ free macOS tools ၁၁ မျိုး — Shottr, Espanso, Lazygit, Raycast, Hammerspoon တို့အပါအဝင် — ကို မိတ်ဆက်ပေးပါတယ်။

2025

  1. Let’s Talk About Backtracking

    DSA 8 min Also in မြန်မာ

    Backtracking is smarter brute force. Learn how to explore every valid solution with recursive pruning in Swift, starting with power sets and decision trees.

    Let’s Talk About Backtracking

    DSA 7 min Also in English

    Backtracking အကြောင့် လေ့လာကြရအောင်

  2. Let’s Talk About Recursion

    DSA 11 min Also in မြန်မာ

    Recursion from the ground up: understand base cases, call stacks, and how recursive thinking solves the Tower of Hanoi, with clear Swift code examples.

    Let’s Talk About Recursion

    DSA 10 min Also in English

    Recursion ကို base case, call stack, Tower of Hanoi ဥပမာတွေနဲ့ Swift code ကိုသုံးပြီး scratch ကနေ ရှင်းပြပေးထားပါတယ်။

  3. Let’s Talk About the Stack Data Structure

    DSA 3 min

    Stack ဆိုတာ LIFO ပုံစံ data structure ပါ။ Swift code examples တွေနဲ့ push, pop, peek operations တွေနဲ့ real-world use cases တွေကို ရှင်းလင်းချပြထားပါတယ်။

  4. My Recommended Books for Software Engineers

    Learning Resources 5 min Also in မြန်မာ

    A hand-picked reading list for engineers with 2+ years of experience — covering dependency injection, DDD, TDD, legacy code, and operating systems.

    Software Engineer တွေ ဖတ်သင့်တဲ့ စာအုပ်များ

    Learning Resources 3 min Also in English

    ကျွန်တော်ဖတ်ခဲ့တဲ့ ဖတ်နေတဲ့ စာအုပ်တွေကို ညွှန်ပေးထားပါတယ်။

  5. Questions Every Mobile/Frontend Developer Should Be Asking Before Building a Feature

    Career Advice 10 min Also in မြန်မာ

    The questions to ask before you build from a designer's or product manager's handoff.

    Mobile/Frontend Developer တစ်ယောက်အနေနဲ့ မေးသင့်သောမေးခွန်းများ

    Career Advice 8 min Also in English

    UI/UX Designer/Product Manager က design handoff ပေးလိုက်ပြီဆိုရင် ဘာတွေမေးရမလဲ?