Open pacmancoder opened 9 months ago
@pacmancoder A few things come to mind:
changeCount
property to know if something has changed, and make your own callbackNSPasteboard
has to be done on the main thread; access from another thread is an error (either an exception or undefined behaviour)NSBitmapImageRep
can easily go between BMP and TIFFThe last time we used Cocoa APIs from rust, the available options were not very ergonomic. Hopefully things have moved forward (this was a few years ago).
If I think of something else I'll add it, but don't be afraid to poke me with specific questions!
Thank you for your input @thenextman !
Add support for the native clipboard for MacOS clients in
ironrdp-cliprdr-native
/ironrdp-client
. See existing Windows andironrdp-web
implementation for reference.I am not too familiar with MacOS development, but maybe @thenextman could add some additional details here about possible pitfalls that could be encountered with MacOS clipboard implementation.