Post

Replies

Boosts

Views

Activity

Reply to SWIFT TASK CONTINUATION MISUSE: loadTransferable(for:) leaked its continuation!
Can confirm, I get the same results with this simple code struct ContentView: View {     var body: some View {         VStack {             Image(systemName: "globe")                 .imageScale(.large)                 .foregroundColor(.accentColor)                 .draggable(Load(index: 1))             Text("Hello, world!")                 .dropDestination(payloadType: Load.self, action: {(_, _) in return true})         }     } } struct Load: Transferable, Codable {     var index: Int     static var transferRepresentation: some TransferRepresentation {             CodableRepresentation(contentType: .load)     } }`
Jun ’22