[ad_1]

And now, a quick message out of your buddy, the Mac menu bar:
Hello! 👋🏻 I’m the menu bar! I all the time love making File → New Associates
. We would have first met within the early Nineteen Eighties, however I’ve solely gotten extra highly effective and useful (Format → Font → Humble Brag
).
I’ve all the time had opinions. Throughout the 90s, I used to be the one who advised you you had been distinctive each night time (Particular → Sleep
). I’ve fixed viewpoints about what time it’s. And I don’t imply to Window → Reduce
my contributions, however even Siri needs to hang around with me.
I’ve loved capturing your full consideration for some years. However now I’ve determined to share the Highlight. Menu bar extras have arrived in SwiftUI!
So this is your problem: Construct me a menu bar further in SwiftUI that I’d put on with pleasure. I’d drop down with pleasure if you happen to’d make slightly utility for me, and I would be a click on above ecstatic if you happen to gave me the glory of internet hosting a small portion of your app.
Start the problem
That can assist you construct a menu bar further and full the Mac menu bar’s problem, we have compiled a couple of sources that will help you get began:

Carry a number of home windows to your SwiftUI app
Uncover the most recent SwiftUI APIs that will help you current home windows inside your app’s scenes. We’ll discover how scene varieties like MenuBarExtra may help you simply construct extra sorts of apps utilizing SwiftUI. We’ll additionally present you the right way to use modifiers that customise the presentation and conduct of your app…
Discover the Human Interface Pointers for menu bar extras
We welcome you to go to the SwiftUI Examine Corridor to collaborate on this problem! Ask questions, join with different builders, and share your creations.
And to shut out this problem, another notice from the menu bar:
Ensure you File → Share with me what you probably did on Twitter with the hashtag #WWDC22Challenges. We hope you’ve had an awesome Edit → Choose All → WWDC22!
[ad_2]