Compatibility
Swift
Platforms
Platform | Support | Versions |
---|---|---|
iOS | 14 and later | |
iPadOS | 14 and later | |
iOS Simulator | 14 and later | |
tvOS | 14 and later | |
Mac AppKit | 11 and later | |
Mac Catalyst | 14 and later | |
visionOS | beta | 1 and later |
Transports
Platform | BLE | AWDL | Wi-Fi Aware | LAN | WebSockets |
---|---|---|---|---|---|
iOS | — | ||||
iPadOS | — | ||||
iOS Simulator | — | — | |||
Mac AppKit | — | ||||
Mac Catalyst | — | ||||
tvOS | ² | — | |||
tvOS Simulator | — | — | |||
visionOS beta¹ | ² | — | |||
visionOS Simulator beta¹ | — | — |
¹ visionOS & visionOS Simulator beta are only supported with beta package 4.8.0-visionos-beta.1 ²Vision Pro/Apple TV to Vision Pro/Apple TV BLE is not currently supported due to device limitations.
Devices
Device | Support |
---|---|
iPhone | |
iPad | |
MacBook | |
Mac (Other) | |
Apple TV | ¹ |
Apple Vision Pro | |
Apple Watch | — |
¹ tvOS does not allow persistant storage due to operating system limitations. Non persistant storage like the caches directory must be used instead.
Objective-CDitto 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.
Was this page helpful?