Launch Week 3Check the new features

Learn more

Introducing Swift SDK

2 min read

Introducing Swift SDK

We’ve just released the Openfort Swift SDK, bringing seamless wallet integration and account abstraction natively to iOS.

With this update, you can:

  • ✅ Manage multiple accounts effortlessly
  • ✅ Use developer‑friendly Swift APIs to interact with wallets
  • ✅ Integrate native Apple and Google authentication flows
  • ✅ Build faster with a ready‑to‑run sample app

This launch is part of our mission to make Openfort a first‑class citizen on every platform. Now, iOS developers get the same high‑level features as our web and React Native SDKs — but written for Swift.

swift_example.svg

Multi‑Account Support

Managing more than one wallet in a mobile app used to be tedious — juggling state, switching active accounts, and updating UI.
The Swift SDK now ships with multi‑account support built‑in.

Your users can:

  • Connect multiple wallets to their profile
  • Switch between them instantly
  • Have session state fully persisted

The SDK takes care of persistence, so you can focus on building features, not state management.

Swift‑First Wallet APIs

We’ve mirrored the philosophy of our web and React Native hooks, but designed for Swift.

The APIs handle:

  • Connecting and disconnecting
  • Retrieving wallet metadata
  • Executing transactions
  • Handling errors gracefully

All type‑safe, leveraging Swift’s strong typing to prevent runtime issues.

Native Apple & Google Auth

Authentication flows are fully native — no webviews or redirects.

  • Apple Sign‑In is deeply integrated with the SDK for smooth onboarding on iOS.
  • Google Sign‑In works natively on iOS with a guided setup.

This gives you:

  • Instant, familiar login for users
  • A shorter path from auth → wallet actions
  • Fewer platform edge cases to debug

Example iOS App You Can Run Today

We’ve published a sample project to get you going immediately.
It demonstrates:

  • Setting up the SDK in a Swift project
  • Connecting multiple wallets
  • Integrating Apple / Google auth
  • Switching active accounts

📂 Openfort Swift Auth Sample

TL;DR

Openfort Swift SDK gives you:

  • 🚀 Multi‑account wallet management
  • 🔗 Native Swift APIs for wallet actions
  • 🍏 / 🤖 Native auth flows (Apple + Google)
  • 📦 Example iOS app to start building today
Share this article