Screenshot of the calendar app.

Menu Bar Calendar for macOS

Xcode

Swift

Overview

This is a very simple replacement app for the default macOS Date and Time menu item. The menu bar time updates with the current time just as the default does, and it has options for size (regular as shown, or compact). The calendar is hand made using an NSCollectionView, and there are buttons to navigate to show different months.

Features

  • Displays an accurate calendar while seamlessly blending into the MacOS menu bar
  • Different options for regular/compact

Challenges

The main difficulty for me was understanding how calendars work, and how to do the little bits of math and NSDate manipulation required to accurately present each month as a collection. The way I set it up means it would be easy (and computationally efficient) to add and display events associated with dates in the future.

Back to projects