stephancasas / SwiftUIMenuBarExtraCustomCornersExample

Implement a custom corner mask (corner radius) on your SwiftUI MenuBarExtra Scene.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftUI MenuBarExtra Custom Corners Example

This repository demonstrates the implementation of a custom corner mask for SwiftUI's MenuBarExtra Scene. It works by exchanging the runtime implementation of a private property getter on MenuBarExtra's extension of NSPanel.

Say Hi

Follow Stephan on Twitter

License

MIT

About

Implement a custom corner mask (corner radius) on your SwiftUI MenuBarExtra Scene.


Languages

Language:Swift 100.0%