Swift UI

circle-exclamation

Minimum Required SDK Version

To be able to measure the loading time of your SwiftUI views, you need to instrument your views by wrapping them in our LuciqTracedView component:

var body: some View {
    LuciqTracedView(name: "View Name") {       //our Wrapper
      VStack {
        Text("Hello, World!")
      } 
    }
}

Spans

Luciq will automatically show spans and operations that occurred during the SwiftUI view loading; these include:

  • Network Requests

  • Database Queries

  • The body span, which represents how long the body object took to load

Last updated