Is there a faster way to loop through the installed applications on macOS?

I’m writing a menu bar extra that shows you a list of your installed apps and allows you to click on each button in the list to open that app. Obviously, to do this I need a list of every app the user has. The specific way I chose to do this was making a… Read More Is there a faster way to loop through the installed applications on macOS?