Weave SDK

13-module Swift SDK -12 standalone, 1070+ tests, Swift 6 Strict Concurrency

13 focused Swift packages with near-zero inter-dependencies.

  • NetWeave: networking + API layer + session management
  • ArchWeave: MVVM-C coordinator architecture
  • UIWeave: complete design system with components
  • DataWeave: cache/Keychain/file persistence
  • RevenueWeave: StoreKit 2 subscriptions, AuthWeave: auth + biometrics
  • Swift 6 Strict Concurrency, all Sendable, zero data-race warnings
  • 1070+ tests, iOS 17+, macOS 14+, watchOS 10+
Private RepositoryThis is a private repository. You need collaborator access to view the source code on GitHub.
13
Modules
1070+
Tests
3
Platforms
4.0.0
Version
Stable
Status

Tech Stack

Swift 6SwiftUISwift Package ManagerStrict ConcurrencyProtocol-Oriented

How It Works

Ecosystem
🍎 Weave · iOS
🤖 Warp · Android (13-module parity)
🌐 Loom · React
🔧 Spool · Backend (ErrorCode source)
Swift 6
Strict Concurrency
1070+
Tests
12/13
Zero-dep modules
iOS 17+
macOS 14+ · watchOS 10+
Modules (13)
📝
LogWeave
os.Logger, categories, privacy
🌐
NetWeave
HTTP, SSE, WebSocket, sessions
LogWeave
🏗
ArchWeave
MVVM-C, Coordinator, deep links
🎨
UIWeave
SwiftUI design system, onboarding
💾
DataWeave
Cache, Keychain, UserDefaults
🔑
AuthWeave
Apple Sign In, JWT, biometric
💰
RevenueWeave
StoreKit 2 subscriptions
🔍
TraceWeave
Shake-to-inspect debug overlay
📊
AnalyticsWeave
Provider-agnostic analytics
🌍
LocaleWeave
Runtime locale switching
🔔
NotificationWeave
Local + push notifications
RemoteConfigWeave
Feature flags + remote config
🔧
UtilWeave
Date, FileManager, permissions

Features

Modular Architecture

13 focused packages with opt-in imports.

  • 12 of 13 have zero inter-dependencies
  • Only 1 edge: LogWeave → NetWeave
  • From minimal (ArchWeave) to standard (+Net +UI +Data) to full stack
  • Each module has its own README with full API reference

Swift 6 Strict Concurrency

Zero data-race warnings from the ground up.

  • All types are Sendable
  • ViewModels use @MainActor, services use actor isolation
  • Fully structured async/await flows
  • No legacy dispatch queues or completion handlers

NetWeave -Networking + API Layer

Complete networking stack.

  • HTTP requests, SSE streaming, WebSocket support
  • Session management, error mapping, structured logging via LogWeave
  • Endpoint-based API design with typed responses
  • Interceptors, metrics collection, request/response logging

ArchWeave -MVVM-C

Coordinator-driven MVVM-C architecture.

  • BaseViewModel, NavigationController, ViewStateProtocol
  • Type-safe navigation and deep link handling
  • Coordinator lifecycle management
  • The backbone that all other modules plug into

UIWeave -Components + Design System

Complete design system with production-ready components.

  • Color palettes, typography scales, spacing tokens, responsive layout
  • Buttons, chat bubbles, popups, inputs, cards
  • All theme-aware with dark mode and Dynamic Type
  • Image processing and onboarding flows

DataWeave -Persistence Layer

Unified data persistence layer.

  • Actor-based in-memory cache with configurable TTL and eviction
  • File-based JSON storage for settings and app state
  • Keychain wrapper with biometric-gated access
  • UserDefaults convenience, fully thread-safe without locks

AuthWeave -Auth + Biometrics

Protocol-based auth layer.

  • Apple Sign In, JWT token management, extensible providers
  • Biometric gate: Face ID, Touch ID, Optic ID (visionOS)
  • Add OAuth, SAML, or custom auth without changing the app layer

RevenueWeave -Subscriptions

Provider-agnostic subscription SDK.

  • StoreKit 2 implementation
  • Product fetching, purchase flow, receipt validation
  • Entitlement checking and subscription lifecycle
  • Swap backend (RevenueCat, custom server) without changing app code

TraceWeave -Debug Overlay

Shake-to-inspect debug overlay for development builds.

  • Network request inspector and structured log viewer
  • Performance metrics and memory usage
  • Crash reporting
  • Invisible in production, invaluable during development

LogWeave -Structured Logging

Built on os.Logger with structured output.

  • Categories, privacy levels, and log filtering
  • Subsystem-based organization with metadata support
  • Configurable levels: debug/info/warning/error
  • The only module other modules depend on

AnalyticsWeave

Provider-agnostic analytics abstraction.

  • Pluggable services - swap Firebase, Mixpanel, or custom providers
  • No app code changes when switching providers

LocaleWeave

Runtime language switching.

  • Bundle swapping - change language without restarting
  • Supports RTL layouts

NotificationWeave

Notification lifecycle management.

  • Local and push notifications with deep link routing
  • Schedule, present, and handle notification actions

RemoteConfigWeave

Feature flags and remote configuration.

  • Provider-agnostic interface
  • Caching with local overrides
  • Runtime toggle without redeploy

UtilWeave

Common Swift utilities.

  • Date extensions, number formatting
  • FileManager utilities, permission helpers
  • App rating prompt, zero dependencies