Skip to main content

iOS SDK

The Privacy Boost iOS SDK is a native Swift framework that wraps the Rust core via UniFFI. It exposes idiomatic Swift APIs (async throws, structs, enums with associated values) for shielding, unshielding, and private transfers.

Features

  • Native Swift framework — no JavaScript bridge, no WebView
  • async/await everywhere — works with Swift Concurrency and SwiftUI
  • Strongly-typed SDKError enum with associated values for pattern matching
  • Optional default delegate implementations for Keychain and Passkey
  • Wallet-agnostic — implement WalletDelegate once for any signer
  • Identical core to the TypeScript / Android / React Native SDKs (same proofs, same network protocol)

Installation

Add the SwiftPM package to your project. See the installation guide for full details.
Then import:

Quick Example

Core Operations

Documentation

Getting Started

Guides

Advanced

Reference

Requirements

  • iOS 14+ (iOS 16+ required for Passkey delegate helpers)
  • Swift 5.7+
  • Xcode 14+