talira

Compare

Factory (Swift)swift-dependencies
What it isContainer-based dependency injection for Swift and SwiftUIA Swift dependency management library inspired by SwiftUI's environment
KindOpen sourceOpen source
Trust0.580.46
Stars29392205
Last commit2026-11-072026-10-30
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyMichael LongPoint-Free
Features
  • one-line registrations on a container
  • @Injected property wrappers and direct factory calls
  • compile-time safe: a missing factory doesn't compile
  • scopes, parameters, contexts and decorators
  • overrides for unit tests and SwiftUI Previews
  • no build phases or code generation
  • SwiftUI environment-style dependency management
  • swap live, test and preview implementations
  • controls dates, UUIDs, clocks, files and API clients
  • deterministic tests
Limitations
  • Version 3 supports only Swift Package Manager; CocoaPods users must stay on 2.5.3 or embed the source.