     }
     
     public func isOperatingSystemAtLeastVersion(version: NSOperatingSystemVersion) -> Bool {
-        let ourVersion = operatingSystemVersion
-        if ourVersion.majorVersion < version.majorVersion {
-            return false
-        }
-        if ourVersion.majorVersion > version.majorVersion {
-            return true
-        }
-        if ourVersion.minorVersion < version.minorVersion {
-            return false
-        }
-        if ourVersion.minorVersion > version.minorVersion {
-            return true
-        }
-        if ourVersion.patchVersion < version.patchVersion {
-            return false
-        }
-        if ourVersion.patchVersion > version.patchVersion {
-            return true
-        }
-        return true
+        return operatingSystemVersion >= version
     }
     
     public var systemUptime: NSTimeInterval {

    }
}



public class NSProcessInfo : NSObject {


import CoreFoundation

public struct NSOperatingSystemVersion : Comparable {
    public var majorVersion: Int
    public var minorVersion: Int
    public var patchVersion: Int
    public init() {
        self.init(majorVersion: 0, minorVersion: 0, patchVersion: 0)
    }
    
    public init(_ majorVersion: Int, _ minorVersion: Int, _ patchVersion: Int) {
        self.init(majorVersion: majorVersion, minorVersion: minorVersion, patchVersion: patchVersion)
    }
    
    public init(majorVersion: Int, minorVersion: Int, patchVersion: Int) {
