Post

Replies

Boosts

Views

Activity

Reply to Embedded WindowController inside XPC module
I have a somehow related question @eskimo. Im planning the plugin architecture for my app. I'd like to handle all plugin related operations (more about that below) with the XPC. Right now I'm using the XPC along with the SMLoginItemSetEnabled to launch mini-app that will display image from parent app but the plugin thing is on another level. For the plugin I have a framework (let's call it the plugin framework) with some classes that the plugin has to inherit from stuff like info about the plugin (identifier, author etc.). plugin has to return a NSWindow subclass (actually a subclass of it). plugin has to return a view that will be used as a preview in my app. Right now, I'm testing my internal plugins that I load within the app and everything works – I load the bundle, preview are interactive, everything just works. But these are my plugins. So the goal for the new "XPC app" is to act as the middleman between my app and the plugin. The XPC app can load the window provided by the plugin (and I guess I know how to do it, I just have to encode most of the types from my plugin framework) but I don't have any idea what to do about the preview. Because I'd like to load the plugin on the XPC app and then somehow pass the view with the preview to the app. Any ideas?
Mar ’22
Reply to Multiple NSMenu issues in Sonoma
@p0deje Did they fixed your problems?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to Multiple NSMenu issues in Sonoma
Hey there! It seems like the NSMenuItemViewer might not be setting constrains correctly, causing some auto layout problems in more complex views where the height needs to be updated dynamically. FB12578607
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Detect if app was installed through TestFlight
Hey! Did you find the solution?
Replies
Boosts
Views
Activity
Aug ’22
Reply to Embedded WindowController inside XPC module
I have a somehow related question @eskimo. Im planning the plugin architecture for my app. I'd like to handle all plugin related operations (more about that below) with the XPC. Right now I'm using the XPC along with the SMLoginItemSetEnabled to launch mini-app that will display image from parent app but the plugin thing is on another level. For the plugin I have a framework (let's call it the plugin framework) with some classes that the plugin has to inherit from stuff like info about the plugin (identifier, author etc.). plugin has to return a NSWindow subclass (actually a subclass of it). plugin has to return a view that will be used as a preview in my app. Right now, I'm testing my internal plugins that I load within the app and everything works – I load the bundle, preview are interactive, everything just works. But these are my plugins. So the goal for the new "XPC app" is to act as the middleman between my app and the plugin. The XPC app can load the window provided by the plugin (and I guess I know how to do it, I just have to encode most of the types from my plugin framework) but I don't have any idea what to do about the preview. Because I'd like to load the plugin on the XPC app and then somehow pass the view with the preview to the app. Any ideas?
Replies
Boosts
Views
Activity
Mar ’22
Reply to Xcode Cloud + dynamic library package
I have the same problem – and yes, the package is also a dynamic one.
Replies
Boosts
Views
Activity
Oct ’21