Apple
The Apple® SDK is provided for iOS® , OS X®/macOS®, and tvOS™ .
Get the Apple SDK for iOS :
https://download.diffusiondata.com/clients/6.11.2/apple/diffusion-iphoneos-6.11.2.zip
diffusion_directory/clients/apple/diffusion-iphoneos-6.11.2.zip
Get the Apple SDK for OS X/macOS:
https://download.diffusiondata.com/clients/6.11.2/apple/diffusion-macosx-6.11.2.zip
diffusion_directory/clients/apple/diffusion-macosx-6.11.2.zip
Get the Apple SDK for tvOS :
https://download.diffusiondata.com/clients/6.11.2/apple/diffusion-appletvos-6.11.2.zip
diffusion_directory/clients/apple/diffusion-appletvos-6.11.2.zip
Capabilities
To see the full list of capabilities supported by the Apple API, see Feature support in the Diffusion API.
Support
Platform | Minimum supported versions | Supported transport protocols |
---|---|---|
Apple for iOS |
|
WebSocket |
Apple for OS X/macOS |
|
WebSocket |
Apple for tvOS |
|
WebSocket |
Resources
Using
- Applications in background state
-
Apple applications can be sent to the background. When this happens your application is notified by the applicationDidEnterBackground callback. Applications go into background state before being suspended.
Applications can be sent to the background or suspended at any time. We recommend that your Diffusion app saves its state – in particular, any topic subscriptions – as this state changes.
When your Diffusion app is sent to the background, we recommend the client closes its session with the Diffusion server . When the Diffusion app returns to the foreground, it can open a new client session with the Diffusion server and use the saved state to restore topic subscriptions.
For more information, see the Apple App Life Cycle documentation and Strategies for Handling App State Transitions.
- Regular expressions
-
The Apple client uses a different regular expression engine to the Diffusion server . Some regular expressions in topic selectors are evaluated on the client and others on the Diffusion server . It is possible that topic selectors that include complex or advanced regular expressions can behave differently on the client and on the Diffusion server .
For more information, see Regular expressions.