Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#if os(OSX)
// compiles for OS X
#elseif os(iOS)
// compiles for iOS
#elseif os(tvOS)
// compiles for TV OS
#elseif os(watchOS)
// compiles for Apple watch
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment