In iOS, there is a UIDevice class that allows you to get tons of great information about the device model, operating system, etc.
I am looking for something equivalent on a Mac. I know about a system_profilercommand line call , but even for a parameter, miniit takes a few seconds to get the information.
I'm interested in quick ways to get the type of machine (Macbook Air, Mac Mini, etc.), the OS version and other fast car parts from the Mac App. Details will be used as a footer for support letters sent from the application. Is there any equivalent UIDevice or other quick way to get some information that could help describe the user machine?
source
share