Search

Search bites

Search by bite title, tag, topic, or collection. Showing every bite.

Bites

  • Article Capabilities Showcase

    Synthetic article demonstrating all supported rendering features in one place.

    Swift Testing Fixtures
  • 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
  • SwiftData Query Design Basics

    Structure SwiftData queries so the fetch logic stays predictable as your models evolve.

    SwiftData Persistence Data
  • Swift Testing Traits Overview

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

    Swift Testing Testing Swift
  • SwiftUI Animation Composition

    Build coherent transitions by composing animation intent.

    SwiftUI Animation UI
    A motion study showing one state change driving several coordinated animations
  • 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
  • PhaseAnimator Overview

    Build richer staged motion without scattering animation logic everywhere.

    SwiftUI Animation UI
    A SwiftUI motion illustration used for animation articles
  • 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
  • Scroll Target Behavior

    Make scroll interactions feel intentional with better snapping and targeting.

    SwiftUI UI Layout
    A SwiftUI editorial illustration used for navigation and interaction topics
  • Safe Area Insets Explained

    Understand when to respect, ignore, or extend into the safe area.

    SwiftUI Layout UI
    A SwiftUI layout illustration used for spacing and safe area articles
  • 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
  • Sensory Feedback Patterns

    Use haptics and sensory feedback with enough restraint to feel premium.

    SwiftUI UI Animation
    A SwiftUI motion illustration used for feedback and interaction 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
  • Redaction Patterns in SwiftUI

    Use redaction and loading placeholders without making the interface feel dead.

    SwiftUI UI Architecture
    A SwiftUI editorial illustration used for loading and presentation topics