Post

Replies

Boosts

Views

Activity

Comment on Drag file from app to Finder on macOS
Thank you, this was my mistake. Just tested this with the NSItemProvider route and it dragged to Finder provider.registerDataRepresentation(for: .fileURL) { completion in let url = try! saveToTemp() completion(url.dataRepresentation, nil) return nil // or Progress object }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’24