What is SwiftUI?
SwiftUI is Apple’s framework for declaring an app’s user interface and behaviour across its platforms. You describe what the screen should show for a given state, and SwiftUI draws it and keeps it up to date. Apple lists it as available on macOS from 10.15.
Why it matters
SwiftUI means less code for each screen and the same views across Apple platforms. For a Mac app, it is usually combined with AppKit, the older framework for windows and system integration, because some jobs still need AppKit.
How NotchStar uses it
NotchStar is a native Mac app in Swift using SwiftUI and AppKit. Views such as the tool tabs are SwiftUI. The notch window is an AppKit NSPanel that hosts them.
One practical limit came up while recording demo clips. An AppKit control, ProgressView, did not redraw in offscreen captures: the time text updated but the bar did not. The fix was a small SwiftUI ThinBar and Spinner, in ToolStyle.swift. It is a reminder that a control which looks the same on screen can behave differently when you draw it somewhere unusual.
Related
Read what is a notch app for the product side. Live gauges such as the System tool are plain SwiftUI views over data sampled once a second.