4
4 Comments

Do you use SwiftUI for your Mac apps?

We are currently re-writing the UI of our flash card vocabulary learning app Wokabulary with SwiftUI.
Wokabulary is available for iPhone, iPad and Mac; so having a platform independent UI system saves us a lot of time.
However, we face quite a few challenges with SwiftUI especially on the Mac. For example performance of SwiftUI on the Mac is often worse than with AppKit (e.g. lists). Also the documentation for Mac specific features is very sparse and some things just cannot be done (e.g. customizable toolbars).

So we are wondering: Are you using SwiftUI for your Mac apps in production? What Mac apps have you built or are you building in SwiftUI? What challenges do you face?

on May 23, 2022
  1. 1

    Using it in production, menu bar app not a full window. mostly fine but I still drop into AppKit for NSStatusItem and popover positioning, SwiftUI alone doesn't cover it. biggest annoyance is docs, everything's written iOS-first so menu bar stuff is trial and error.

  2. 3

    Yes I am building mac apps using SwiftUI

    Bird search app - https://apps.apple.com/us/app/bird-search/id1593852437
    Airplane for macOS - https://airplanemac.carrd.co/
    ETH Gas Alert - https://ethgas.carrd.co/
    Zen Mode for macOS - https://zenmode.carrd.co/

    1. 1

      So how is your experience?
      Did it cause a lot of headache and workarounds or did it run smoothly for you?

      1. 1

        it is not great for macOS/iOS, one will quickly start seeing problems with it(ofcourse it depends on your usecases) but it is better to use SwiftUI for only custom views and navigation between screens and windows AppKit/UIKit is way to go.