iOS Client SDK

The iOS Client SDK for W3bstream implements the message protocol to send data to a W3bstream node.
The iOS SDK is a Work in Progress.


This SDK is built with Xcode 14 and supports both arm and x86 platforms. If you installed a previous version of Xcode, please run the script included in the repository.
To install the SDK, just clone the repository, locate MFW3bStream.xcframework in the out folder, and drop it into your project. When releasing, make sure to select Copy option.


Initialize the instance

let w3bStream = W3bStream(urls: [URL(string: "https://example")!])

Sending data to a W3bstream node

w3bStream.upload(payload: "payload", publisherKey:"key", publisherToken:"token") { data, err in