Swift  Course

Make a Menu Bar App

Mac menu bar apps are pretty easy to make, and fun! See how to put together a clock (that tells time via color) in this short Swift course.

There are 6 episodes.

  • 1

    Starting Your Mac App Project

    • 2:20
    • Free
    Never thought to make a macOS app before? Here's a fun first experiment.. making a menu bar app that tells the time with color!
    • 2:20
    • Free
  • 2

    Extending NSColor to Translate Time

    • 3:59
    • Pros
    Extensions add functionality to base classes, and they're a great way to organize your code for reusability and readability. The first task in building this app will be to build an extension to help create color from time.
    • 3:59
    • Pros
  • 3

    Making the App Icon with NSImage

    • 4:17
    • Pros
    We'll make another extension in this lesson, to add the ability to draw our app icon to NSImage. This calls for playing with bezier paths and drawing functions!
    • 4:17
    • Pros
  • 4

    Tell Time With Color

    • 5:31
    • Pros
    Putting it all together, those extensions you just wrote are going to come in handy. Every second we'll update the app icon with a color that reflects the current time.
    • 5:31
    • Pros
  • 5

    Fixing the Menu Items

    • 2:15
    • Pros
    Here we'll tackle something that will be a part of any project you work on.. squashing bugs! There are a couple simple ones we've encountered so far, and in this episode you'll fix them.
    • 2:15
    • Pros
  • 6

    What to Build After Your Mac Swift App is Completed

    • 4:06
    • Free
    Now that our simple clock app has been built, it's time to discuss some ideas about what to explore next. Chris hints at an idea for adding different color spaces to the clock!
    • 4:06
    • Free