Thursday, April 11, 2024
HomeiOS Developmentios - Swift closure context (unknown structure)

ios – Swift closure context (unknown structure)


Whereas working the Debug Reminiscence Graph on Xcode for an Mac app I created, I seen these nodes (uncertain of the best time period) which stated Swift closure context (unknown structure).

I couldn’t pinpoint the issue, so I created a brand new clean app and tried working the Debug Reminiscence Graph once more, getting the identical nodes.

Swift closure context

No modifications have been made on the brand new app from the template generated by Xcode, so the place are these coming from? Are you guys in a position to replicate this?

import SwiftUI

struct ContentView: View {
    var physique: some View {
        VStack {
            Picture(systemName: "globe")
                .imageScale(.giant)
                .foregroundStyle(.tint)
            Textual content("Howdy, world!")
        }
        .padding()
    }
}

#Preview {
    ContentView()
}

enter image description here



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments