SDK Setup Guides
Swift
Compatibility with Swift
6min

Platform | Support | Versions |
iOS | ✓ | and later |
iPadOS | ✓ | and later |
iOS App Simulator | ✓ | and later |
Mac AppKit | ✓ | and later |
Max Catalyst | -- | -- |
watchOS | -- | -- |
visionOS | -- | -- |
tvOS | -- | -- |
Platform | BLE | AWDL | Wi-Fi Aware | LAN | WebSockets |
iOS | ✓ | ✓ | -- | ✓ | ✓ |
iPadOS | ✓ | ✓ | -- | ✓ | ✓ |
iOS App Simulator | -- | -- | -- | ✓ | ✓ |
Mac AppKit | ✓ | ✓ | -- | ✓ | ✓ |
Device | Support | Versions | Tested |
iPhone | ✓ | 12 and later | ✓ |
iPad | ✓ | -- | -- |
MacBook | ✓ | -- | -- |
Mac (Other) | ✓ | -- | -- |
iWatch | -- | -- | -- |
Apple Vision Pro | -- | -- | -- |
Ditto does not offer native support for apps developed in Objective-C.
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 repository in GitHub.
Updated 27 Sep 2023
Did this page help you?