Is there a way to get systemName (e.g. macOS or Mac OS X) in AppKit?
Essentially, I am looking for a AppKit equivalent of the following UIKit command:
[[UIDevice currentDevice] systemName]
EDIT: Please note that I am not looking for OS version, I am looking for name of the OS. For example on systemName on iOS returns "ios"
@property(nonatomic,readonly,strong) NSString *systemName; // e.g. @"iOS"