Post

Replies

Boosts

Views

Activity

Comment on Embedded WindowController inside XPC module
Thank you for the response and your time. Hm… the preview isn't very important, but I forgot about plugin preferences (each plugin can define its own preferences). I think I could create a dedicated type to describe how preferences should look like and pass them to the app. And the preview could be a simple screenshot/image provided by the plugin author. Another option is to use WebKit and web technologies – the xpc app would present the WKWebView and handle some JS events (I'm thinking loudly) but I guess it's beyond my knowledge how to it right. Thank you again!
Mar ’22