Collection

Swift

Language features, API design, concurrency, and the practical mechanics behind better Swift code.

17 bites

Fresh reading

Latest in Swift

Every bite in this collection, using the same layout and reading rhythm as the main homepage.

  • Article Capabilities Showcase

    Synthetic article demonstrating all supported rendering features in one place.

    Swift Testing Fixtures
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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