Swift SDK
TraceIQ for Apple platforms (iOS 13+, macOS 10.15+) and server-side Swift. Foundation-only. Add it via Swift Package Manager, then:
swift
import TraceIQ
let traceiq = TraceIQ(config: .init(
projectId: "YOUR_PROJECT_ID",
writeKey: "YOUR_WRITE_KEY",
endpoint: "https://api.traceiq.run"
))
traceiq.identify(userId: "user_123", traits: ["kyc_tier": 2])
traceiq.capture("transfer_started", userId: "user_123", properties: ["amount": 5000])
