Native Demos
Swift Native Realtime
Placeholder for a first-class Apple-native integration path.
PlannedLocal setup requiredPlannedState JSON
What this demo proves
This keeps Swift visible as a future native app workflow so Data Network can be demonstrated outside the browser and JavaScript runtimes with the same structured payload story.
Payload types
JSON / objectBooleanString
Channel names
demo.swift.statePlanned Apple-native state-sync channel for Swift demos.
Example payload
{
"mode": "active",
"position": {
"x": 120,
"y": 84
},
"enabled": true
}
Compatibility notes
Browser JavaScriptNative
Node.jsNative
PythonNative
p5.jsJSON wrapped
ProcessingJSON wrapped
ArduinoJSON wrapped
ESP32 / ESP8266JSON wrapped
Serial bridgeAdapter required
TouchDesignerNot yet supported
Run online
- Source-first only for now.
Run locally
- Use DataNetClient.swift as the baseline auth and WebSocket client shape.
- Adapt it into an iOS, iPadOS, or macOS app shell.
Expected output
- The Swift client shape mirrors the same auth and publish flow used in the other SDKs.
Troubleshooting
- This example is repo-source rather than a packaged Swift package.