Tag

Swift

Every bite filed under Swift, so you can stay close to the exact thread you are following.

March 2026

  • Understanding PreferenceKey in SwiftUI

    How PreferenceKey lets child views communicate information back up the view tree.

    SwiftUI Layout Swift
    A SwiftUI layout diagram showing a child view reporting preference values upward
  • Borrowing and consuming, the ownership of values

    Borrowing, consuming, and why Swift's ownership model matters.

    Swift Memory Compiler
    A visual diagram contrasting borrowing and consuming in Swift
  • Actor Isolation Essentials

    A practical mental model for protected state and cross-actor calls in Swift.

    Swift Concurrency Actors
    A diagram showing actor-isolated state with controlled async access
  • Swift Testing Traits Overview

    Use traits deliberately so Swift Testing communicates intent instead of just decorating test code.

    Swift Testing Testing Swift

February 2026

  • JSON Decoding Strategies in Swift

    Decode real-world payloads without turning models into a mess.

    Swift API design JSON
    An editorial Swift illustration used for JSON decoding strategy articles

January 2026

  • Defer Cleanup Patterns

    Use defer to keep cleanup logic honest and close to the scope it protects.

    Swift API design Safety
    A Swift editorial illustration used for cleanup and control-flow topics

December 2025

  • Result Builder Design Notes

    Design builder APIs that read clearly and stay predictable for callers.

    Swift API design Compiler
    A Swift editorial illustration used for language and API design topics

November 2025

  • Date Formatting in Practice

    Choose formatting APIs that are resilient to locale, context, and product change.

    Swift API design UI
    A Swift editorial illustration used for product-facing formatting topics

October 2025

September 2025

August 2025

  • Codable Versioning Basics

    Keep decoders resilient when APIs and persisted formats evolve over time.

    Swift JSON API design
    A Swift editorial illustration used for model and decoding topics

July 2025

June 2025

May 2025

March 2025

  • API Naming Consistency

    Small naming decisions compound into whether an API feels obvious or tiring.

    Swift API design Compiler
    A Swift editorial illustration used for API design topics