bors-servo 76f9053a89 Auto merge of #375 - casperstorm:feat/extended-nsprogressinfo, r=jdm
feat: extended NSProgressInfo with more functions

I have extended `NSProgressInfo` with two new functions:

* [`operatingSystemVersion`](https://developer.apple.com/documentation/foundation/nsprocessinfo/1410906-operatingsystemversion?language=objc) which returns a `NSOperatingSystemVersion` where you can get `majorVersion`, `minorVersion` and `patchVersion` from.

* [`isOperatingSystemAtLeastVersion`](https://developer.apple.com/documentation/foundation/nsprocessinfo/1414876-isoperatingsystematleastversion?language=objc) which takes a `NSOperatingSystemVersion` struct, and returns a `bool`.

Let me know if I missed something.
2020-05-06 10:08:38 -04:00
2019-11-12 14:16:35 -08:00
2020-03-18 10:19:26 -04:00
2018-02-01 15:57:28 -05:00
2013-04-04 19:01:35 -07:00
2013-04-03 18:18:52 -07:00
2013-04-03 18:18:52 -07:00
2019-07-14 21:16:49 -07:00

core-foundation-rs

Build Status

Compatibility

Targets macOS 10.7 by default.

To enable features added in macOS 10.8, set Cargo feature mac_os_10_8_features. To have both 10.8 features and 10.7 compatibility, also set mac_os_10_7_support. Setting both requires weak linkage, which is a nightly-only feature as of Rust 1.19.

For more experimental but more complete, generated bindings take a look at https://github.com/michaelwu/RustKit.

S
Description
No description provided
Readme 2.5 MiB
Languages
Rust 100%