Skip to content

SwiftUIQuery 0.1.0

Choose a tag to compare

@snndmnsz snndmnsz released this 28 Sep 20:07
· 1 commit to main since this release

SwiftUIQuery is a small query layer for Swift concurrency, SwiftUI, and UIKit.

Features

  • Shared in-memory query state, in-flight request coordination, and configurable freshness and cache lifetimes.
  • Observation adapters for iOS 17+ and Combine adapters for iOS 15+.
  • Query invalidation, cancellation, retries, prefetching, periodic refresh, and typed cache updates.
  • Mutation state, asynchronous callbacks, and conditional optimistic rollback.
  • SwiftUI and UIKit examples with lifecycle cleanup and weak ownership.
  • API reference, integration guides, and recipes.

Requirements

Swift 6.0+, iOS 15+ or macOS 14+. No third-party dependencies. MIT license.

Validation

81 tests pass. Debug and release builds, SwiftUI example checks, iOS 15 API compatibility checks, and the iOS Simulator build pass. The iOS 15 check validates compilation and API availability; it is not a device runtime test.