Re: Substitute for kill(2)? (James Walker)

2023-07-25 Thread Gabriel Zachmann via Cocoa-dev
>>
> An XPC service isn't an app, and wouldn't you need an app to run an
> NSStatusItem, which I assume is what's meant by a "menu bar item"?

Oh, sorry, PS:
yes, I do create

let statusBar = NSStatusBar.system
statusBarItem_ = statusBar.statusItem( withLength: 
NSStatusItem.variableLength )

in my app ...




smime.p7s
Description: S/MIME cryptographic signature
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Substitute for kill(2)? (James Walker)

2023-07-25 Thread Gabriel Zachmann via Cocoa-dev

>>
> An XPC service isn't an app, and wouldn't you need an app to run an
> NSStatusItem, which I assume is what's meant by a "menu bar item"?
>

I am just a beginner in "menu bar items" , but what I have is an

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate

which Xcode compiles into an app, which, when launched, just sits in the menu 
bar.


> See  for a discussion
> of XPC versus some other methods of communication.
>

Thanks for the link!

Best regards, Gabriel




smime.p7s
Description: S/MIME cryptographic signature
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com