Skip to content

Latest commit

 

History

History
executable file
·
37 lines (24 loc) · 1.17 KB

README.md

File metadata and controls

executable file
·
37 lines (24 loc) · 1.17 KB

NSCatWindow

Provides NSWindow with cat ears and tail

Github issues Github forks Github stars Github top language Github license

Tags

Swift AppKit

Demo

demo

Minimal Example

let hostingView = NSHostingView(rootView: SomeSwiftUIView())
hostingView.setFrameSize(hostingView.fittingSize)
let catWindow = NSCatWindow(childView: hostingView)
catWindow.setTitle("Sample")
catWindow.makeKeyAndOrderFront(nil)

Contributors