---
title: Swift
slug: v4-7/compatibility/swift
icon: {"faIcon":"fa-brands fa-swift"}
docTags: 
createdAt: 2023-07-28T20:49:05.858Z
---

![](https://api.archbee.com/api/optimize/qoRkNxW5fJ81r_NqVpc8C/MZftzC3gAXTO9SPU1BMwn_swift-ditto-icon-card-light-mode.png)

# Platforms

| **Platform**  | **Support** | **Versions** |
| ------------- | ----------- | ------------ |
| iOS           | ✓           | 14 and later |
| iPadOS        | ✓           | 14 and later |
| iOS Simulator | ✓           | 14 and later |
| Mac AppKit    | ✓           | 11 and later |

# Transports

:::hint{type="warning"}
Transport support and quality depends heavily on the hardware Ditto is being deployed on. Ensure to test with your specific hardware to verify compatability.
:::

| **Platform**             | **BLE 5.0+** | **AWDL** | **Wi-Fi Aware** | **LAN** | **WebSockets** |
| ------------------------ | ------------ | -------- | --------------- | ------- | -------------- |
| iOS                      | ✓            | ✓        | --              | ✓       | ✓              |
| iPadOS                   | ✓            | ✓        | --              | ✓       | ✓              |
| iOS Simulator            | --           | ✓        | --              | ✓       | ✓              |
| Mac AppKit               | ✓            | ✓        | --              | ✓       | ✓              |
| visionOS beta¹           | ✓²           | ✓        | --              | ✓       | ✓              |
| visionOS Simulator beta¹ | --           | ✓        | --              | ✓       | ✓              |

¹ visionOS & visionOS Simulator beta are only supported with beta package [`4.8.0-visionos-beta.1`](https://github.com/getditto/DittoSwiftPackage/releases/tag/4.8.0-visionos-beta.1)
²*Vision Pro-to-Vision Pro BLE is not currently supported due to device limitations.*

# Devices

| **Device**       | **Support** |
| ---------------- | ----------- |
| iPhone           | ✓           |
| iPad             | ✓           |
| MacBook          | ✓           |
| Mac (Other)      | ✓           |
| Apple Vision Pro | ✓           |
| Apple Watch      | --          |

# Objective-C&#x20;

:::hint{type="info"}
Ditto does not offer native support for apps developed in Objective-C.&#x20;

If you want to use the Ditto SDK for Swift with an Objective-C app, you must use a bridge to integrate.

For a code walkthrough on how to create a bridge that calls into Swift from Objective-C, see the getditto > [example-swift-bridge-to-objectivec](https://github.com/getditto/example-swift-bridge-to-objectivec) repository in GitHub.
:::

