Updated code sample to match new macOS syntax (#120)
Updated code sample to match new macOS syntax (#120)

#78 changed "MacOSX" to "macOS", but that code sample has not been changed accordingly.
terrajobst/platform-compat