Just a second...

Apple

The Apple® SDK is provided for iOS®, OS X®/macOS®, and tvOS™.

Get the Apple SDK for iOS:

The SDK file is also located in your Diffusion™ server installation:
diffusion_directory/clients/apple/diffusion-iphoneos-6.2.0.zip

Get the Apple SDK for OS X/macOS:

The SDK file is also located in your Diffusion server installation:
diffusion_directory/clients/apple/diffusion-macosx-6.2.0.zip

Get the Apple SDK for tvOS:

The SDK file is also located in your Diffusion server installation:
diffusion_directory/clients/apple/diffusion-appletvos-6.2.0.zip

Capabilities

To see the full list of capabilities supported by the Apple API, see Feature support in the Diffusion API.

Support

Table 1. Supported platforms and transport protocols for the client libraries
Platform Minimum supported versions Supported transport protocols
Apple for iOS
Development environment

Xcode 8 (iOS 10.0 SDK)

Runtime support

Deployment target: iOS 8.1 or later

Device architectures: armv7, armv7s, arm64

Simulator architectures: i386, x86_64

WebSocket

Apple for OS X/macOS
Development environment

Xcode 8 (OS X/macOS 10.12 SDK)

Runtime support

Deployment target: OS X/macOS 10.11 or later

Device architectures: x86_64

WebSocket

Apple for tvOS
Development environment

Xcode 8 (tvOS 10.0 SDK)

Runtime support

Deployment target: tvOS 9.0 or later

Device architectures: arm64

Simulator architectures: x86_64

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.

Consider using push notifications to deliver data to your users when your client application is in background state.

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.