Skip to main content
All articles

swift 9

2026

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. Dub-Dub 26 Manifestation

    WWDC26 6 min

    Everything I Want That Apple Probably Won't Give Us

  6. 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 — ကို နားလည်အောင် ရှင်းပြပေးထားပါတယ်။

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 တွေကို ရှင်းလင်းချပြထားပါတယ်။