English · 中文

Actor Boundaries in Swift: Keeping View Models Focused on UI State

May 21, 2025

Give shared mutable resources to actors, keep presentation state on MainActor, and handle races with cancellation and request identity.

Beyond AsyncImage: A Cancellable, Cache-Aware SwiftUI Image Pipeline

May 10, 2025

Separate downloading, caching, decoding, and presentation state to build a SwiftUI image pipeline with cancellation and validated responses.

Practical Lua 5.4 Metatables for Domain-Rich Data

Apr 29, 2025

Use Lua 5.4 metatables to build constrained lightweight domain objects without inheritance emulation, hidden effects, or clever metamethods.

SwiftData Queries in SwiftUI: Filtering, Sorting, and Testable Boundaries

Apr 19, 2025

Build predictable SwiftData filtering and sorting with Query and ModelContext while keeping domain rules independently testable.

Swift 6.1 Nonisolated Types: Less Concurrency Boilerplate

Apr 9, 2025

Understand Swift 6.1 nonisolated types and extensions, and use them to express values that genuinely do not depend on a global actor.

  • « Prev
  • Page 14 of 16
  • Next »
Portrait of Lukes Lu

Lukes Lu

Software Developer

  • lukes.lu@yahoo.com
  • github.com/ilukes
  • @lupingui
  • Home
  • About
  • Keywords →
    • SwiftUI
    • OpenAI
    • Responses API
    • cancellation
    • iOS 26 beta
    • reasoning effort
    • AI Agent
    • Codex

©2026 All rights reserved. Made with Jekyll and ♥