Swiftpack.co -  bugkingK/StatusIconManager as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
bugkingK/StatusIconManager
Put icons in the status bar quickly and easily.
.package(url: "https://github.com/bugkingK/StatusIconManager.git", from: "1.0.0")

StatusIconManager

Put icons in the status bar quickly and easily.

The StatusIconDelegate allows you to track open and close. It also supports Rx.

Preview

Using

let sb = NSStoryboard(name: "Main", bundle: .main)
let vc = sb.instantiateController(withIdentifier: "ViewController") as? NSViewController
StatusIconManager.shared.set(icon: .init(named: "icon-status"), viewController: vc)

func statusView(didOpen: StatusIconManager, item: NSStatusItem) {
    
}

func statusView(didClose: StatusIconManager, item: NSStatusItem) {
    
}

License

StatusIconManager is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 1
Last commit: 5 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Dependencies

Release Notes

🎉 StatusIconManager!
5 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API