Provides NSWindow with cat ears and tail
Swift AppKit
let catWindow = NSCatWindow()
let hostingView = NSHostingView(rootView: SomeSwiftUIView())
catWindow.setChildView(hostingView)
catWindow.setTitle("Sample")
catWindow.orderFront(nil)| Name | Name | Last commit date | ||
|---|---|---|---|---|
Provides NSWindow with cat ears and tail
Swift AppKit
let catWindow = NSCatWindow()
let hostingView = NSHostingView(rootView: SomeSwiftUIView())
catWindow.setChildView(hostingView)
catWindow.setTitle("Sample")
catWindow.orderFront(nil)