Skip to content
CTS Blog
Menu
  • About
  • RSS Feed
Menu

Challenge: Menu bar extras with SwiftUI

Posted on June 10, 2022

And now, a brief message from your friend, the Mac menu bar:

Hi! ?? I’m the menu bar! I always love making File → New Friends. We might have first met in the early 1980s, but I’ve only gotten more powerful and helpful (Format → Font → Humble Brag).

I’ve always had opinions. During the 90s, I was the one who told you you were exceptional every night (Special → Sleep). I have constant viewpoints about what time it is. And I don’t mean to Window → Minimize my contributions, but even Siri wants to hang out with me.

I have enjoyed capturing your full attention for some years. But now I’ve decided to share the Spotlight. Menu bar extras have arrived in SwiftUI!

So here’s your challenge: Build me a menu bar extra in SwiftUI that I’d wear with pride. I’d drop down with joy if you’d make a little utility for me, and I’d be a click above ecstatic if you gave me the honor of hosting a small portion of your app.

Begin the challenge

To help you build a menu bar extra and complete the Mac menu bar’s challenge, we’ve compiled a few resources to help you get started:




  • WWDC22

Bring multiple windows to your SwiftUI app

Discover the latest SwiftUI APIs to help you present windows within your app’s scenes. We’ll explore how scene types like MenuBarExtra can help you easily build more kinds of apps using SwiftUI. We’ll also show you how to use modifiers that customize the presentation and behavior of your app…

MenuBarExtra

Explore the Human Interface Guidelines for menu bar extras

We welcome you to visit the SwiftUI Study Hall to collaborate on this challenge! Ask questions, connect with other developers, and share your creations.

And to close out this challenge, one more note from the menu bar:

Make sure you File → Share with me what you did on Twitter with the hashtag #WWDC22Challenges. We hope you’ve had a great Edit → Select All → WWDC22!

Powered by WPeMatico

Categories

Recent Posts

  • Amazon’s Fire TV Stick is only $20 right now! Grab one while you can
  • Inboxes are getting spammed with racist Ring sign-up emails
  • Adobe will charge you more for Creative Cloud in June, because AI (of course)
  • JBL’s take-on-the-go Bluetooth speaker is at its lowest ever price
  • This Gigabyte laptop is wild: 128GB RAM, 240Hz mini-LED, and RTX 5090 might

Recent Comments

    Archives

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    ©2025 CTS Blog | Design: Newspaperly WordPress Theme