Skip to content

steveleee/OSAvailability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OSAvailability

Missing Swift's availability checking through #available functions in Objective-C? OSAvailability brings the same conciseness to Objective-C.

For example: Check for iOS 8 compatibility by simply calling

[OSAvailability iOS8]

TODO

  • Make OS versions enumerable or definable as a parameter.
  • Add the ability to compose OS versions to form things like #available(iOS 9.0, watchOS 1.0, *)

About

Swift 2.0 availability macros in Objective-C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages