Here’s my draft of the boilerplate. There’s one thing still that breaks my head: I cannot make the window not appear on app launch. It always shows when the plugin isn’t even yet active. I tried all kinds of things with the window, but they all make no sense to me. I bet you know it right away.
Once it’s approved by you, I can also add some comments, as e.g. the @interface GSDocument : NSObject and @protocol GSApplicationPluginProtocol <NSObject> additions seem to be necessary in order to make the compiler shut up about missing declatations.
@schriftgestalt
Here’s my draft of the boilerplate. There’s one thing still that breaks my head: I cannot make the window not appear on app launch. It always shows when the plugin isn’t even yet active. I tried all kinds of things with the window, but they all make no sense to me. I bet you know it right away.
Once it’s approved by you, I can also add some comments, as e.g. the
@interface GSDocument : NSObject
and@protocol GSApplicationPluginProtocol <NSObject>
additions seem to be necessary in order to make the compiler shut up about missing declatations.