gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.25k stars 267 forks source link

Xcode 15 #255

Closed zunda-pixel closed 10 months ago

zunda-pixel commented 10 months ago

Fix warning

Non-sendable type 'PlatformImage' (aka 'NSImage') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
gonzalezreal commented 10 months ago

Since we don't implement NSImage and don't know whether or not it is thread-safe, we should not add conformance to Sendable ourselves. We will have to wait for Apple to fix this and live with the warning in the meantime.