SpeedOf.Me API - macOS (Swift)

Integrate SpeedOf.Me speed testing into your macOS app using SwiftUI and WKWebView. The API runs in a hidden WebView while your native UI displays the results.

Uses the same WebKit APIs as iOS for consistent cross-platform development.

WebView Bridge (HTML)

The HTML page that loads in the hidden WKWebView, runs the speed test, and sends results back to Swift via webkit.messageHandlers.

View HTML

SwiftUI View (Native)

Complete SwiftUI implementation with WKWebView wrapper, message handlers, and native UI for displaying results.

View Swift Code