Sparkle  2.0.0
A software update framework for macOS
SUOperatingSystem.h
1 //
2 // SUOperatingSystem.h
3 // Sparkle
4 //
5 // Copyright © 2015 Sparkle Project. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 
10 #if __MAC_OS_X_VERSION_MAX_ALLOWED < 101000
11 typedef struct {
12  NSInteger majorVersion;
13  NSInteger minorVersion;
14  NSInteger patchVersion;
16 #endif
17 
18 @interface SUOperatingSystem : NSObject
19 
20 + (NSOperatingSystemVersion)operatingSystemVersion;
21 + (BOOL)isOperatingSystemAtLeastVersion:(NSOperatingSystemVersion)version;
22 + (NSString *)systemVersionString;
23 
24 @end
Definition: SUOperatingSystem.h:19
Definition: SUOperatingSystem.h:11