---
title: "Mobile on Pylon: the native Swift sync engine for iOS and Mac"
description: "The Swift SDK runs the full Pylon sync engine with live queries, optimistic writes, and offline support. It stays at parity with TypeScript and generates code from your schema."
url: "https://www.pylonsync.com/solutions/mobile"
---

Solution

# Native iOS and Mac, same backend.

The Swift SDK runs the full Pylon sync engine natively, giving iOS and Mac apps the same live queries, optimistic writes, and offline behavior as the web. Generate a typed Swift client from your schema.

[Create your account →](https://cloud.stack0.dev/signup)[Read the docs](https://docs.pylonsync.com)

The problem

Cross-platform usually means the web app and the native app drift: different data layers, different caching, different bugs. A REST SDK on mobile loses the local-first behavior the web client has, and keeping two hand-written sync implementations honest is a losing battle.

How Pylon solves it

01

## The engine, in Swift

packages/swift implements reconciliation, the operation queue, optimistic rollback, and snapshot pagination in Swift. Your iOS and Mac apps get the browser's local-first guarantees through a native sync engine.

[Swift SDK](/product/swift)[Sync engine](/product/sync)

02

## Parity, enforced

The TypeScript and Swift engines are held at feature parity by policy: every sync fix lands in both. That's what keeps a web app and a native Mac app on one backend from diverging into platform-specific data bugs.

[Swift SDK](/product/swift)

03

## Typed from your schema

Run pylon codegen client --target swift and get Swift models and a typed client generated from the same schema your backend uses. A Loro CRDT bridge handles rich collaborative state. Your SwiftUI views call the same queries and mutations by name.

[Swift SDK](/product/swift)[Database](/product/database)[Realtime](/product/realtime)

Built with

[Swift SDK

Native iOS and Mac, same engine.

Learn more →](/product/swift)[Sync engine

Live queries over WebSocket.

Learn more →](/product/sync)[Realtime

Rooms, presence, and authoritative shards.

Learn more →](/product/realtime)

## Ship it on Pylon.

Scaffold an app in seconds, deploy free on Cloud, scale when you need to.

[Create your account →](https://cloud.stack0.dev/signup)[Explore the product](/product)
