Skip to content

Convex for Swift 0.6.0

Latest

Choose a tag to compare

@dowski dowski released this 31 Oct 01:42

This is a minor feature addition release.

There's a new initConvexLogging method which will surface Convex client logs in OSLog. This should give developers greater visibility into the state of the Convex client throughout the lifecycle of their applications. Example usage:

import SwiftUI
import ConvexMobile

@main
struct SampleApp: App {
  init() {
    // After this call, use of ConvexClient elsewhere in the app will generate logs.
    initConvexLogging()
  }
    var body: some Scene {
        WindowGroup {
            ContentView()
        }
    }
}