Skip to content

JFDeviceComparison is a UIDevice category which is used to compare device versions.

License

Notifications You must be signed in to change notification settings

jfuellert/JFDeviceComparison

Repository files navigation

JFDeviceComparison

JFDeviceComparison is a UIDevice category which is used to compare device versions. It uses the system machine information to determine and compare against device types.

##Purpose The main purpose of this software is to provide developers with a simple way compare device versions.

##Installation Install via CocoaPods Add the following line to your .podfile

pod 'JFDeviceComparison'

##Support ####IOS Earliest tested and supported build and deployment target - iOS 7.0.
Latest tested and supported build and deployment target - iOS 9.3.

##ARC Compatibility JFDeviceComparison is built from ARC and is ARC-only compatible.

##Usage ####Compare against current device

[UIDevice isCurrentDeviceGreaterOrEqualToVersion:kUIDeviceVersion_iPhone3GS];

####Compare against a specified device

[UIDevice isDeviceGreaterOrEqualToVersion:kUIDeviceVersion_iPhone3GS deviceName:kUIDeviceVersion_iPhone6];

About

JFDeviceComparison is a UIDevice category which is used to compare device versions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published