gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.53k stars 318 forks source link

Xcode 15 #255

Closed zunda-pixel closed 1 year ago

zunda-pixel commented 1 year ago

Fix warning

Non-sendable type 'PlatformImage' (aka 'NSImage') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
gonzalezreal commented 1 year 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.