On iOS, there is a UIDevice class which lets you get tons of great info about the device model, operating system etc…
I am looking for something equivalent on the Mac. I know about calling system_profiler
from the command line, but even the mini
setting takes several seconds to get any info.
I am interested in fast ways to get the machine type (Macbook Air, Mac Mini, etc…), OS version, and other quick machine details from within a Mac App. The details are going o be used as a footer on support emails sent from within the app. Is there any equivalent to UIDevice, or another fast way to get some info that could help describe a user's machine?