diff --git a/README.md b/README.md index efdce62..f16827f 100755 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ SDVersion supports both iOS and Mac OS. Browse through the implementation of eac else if ([SDVersion deviceVersion] == iPhone6Plus) NSLog(@"iPhone 6 Plus? Bigger is better!"); else if ([SDVersion deviceVersion] == iPadAir2) - NSLog(@"You own an iPad Air 2 🌀!"); + NSLog(@"You own an iPad Air 2 🌀!"); // Check for device screen size if ([SDVersion deviceSize] == iPhone4inch) @@ -79,7 +79,7 @@ CocoaPods is a dependency manager for Objective-C, which automates and simplifie + (NSString*)deviceName; ``` ### Targetable models - iPhone4 + iPhone4 iPhone4S iPhone5 iPhone5C @@ -108,13 +108,13 @@ CocoaPods is a dependency manager for Objective-C, which automates and simplifie ### Available iOS Version Finder methods iOSVersionEqualTo(@"v") //E.g: iOSVersionEqualTo(@"8.4.1") iOSVersionGreaterThan(@"v") - iOSVersionGreaterThanOrEqualTo(@"v") - iOSVersionLessThan(@"v") - iOSVersionLessThanOrEqualTo(@"v") + iOSVersionGreaterThanOrEqualTo(@"v") + iOSVersionLessThan(@"v") + iOSVersionLessThanOrEqualTo(@"v") ### Helpers ```objective-c - NSLog(@"%@", stringFromDeviceVersion([SDVersion deviceVersion])); + NSLog(@"%@", stringFromDeviceVersion([SDVersion deviceVersion])); /* e.g: Outputs 'iPad Air 2' */ NSLog(@"%@", stringFromDeviceSize([SDVersion deviceSize])); @@ -159,40 +159,40 @@ CocoaPods is a dependency manager for Objective-C, which automates and simplifie + (DeviceScreenResolution)deviceScreenResolution; ``` ### Targetable models - DeviceVersionIMac - DeviceVersionMacMini - DeviceVersionMacPro - DeviceVersionMacBook - DeviceVersionMacBookAir - DeviceVersionMacBookPro - DeviceVersionXserve + DeviceVersionIMac + DeviceVersionMacMini + DeviceVersionMacPro + DeviceVersionMacBook + DeviceVersionMacBookAir + DeviceVersionMacBookPro + DeviceVersionXserve ### Targetable screen sizes Mac27Inch - Mac24Inch - Mac21Dot5Inch - Mac20Inch - Mac17Inch - Mac15Inch - Mac13Inch - Mac12Inch - Mac11Inch + Mac24Inch + Mac21Dot5Inch + Mac20Inch + Mac17Inch + Mac15Inch + Mac13Inch + Mac12Inch + Mac11Inch ### Targetable screen resolutions DeviceScreenRetina, - DeviceScreenNoRetina + DeviceScreenNoRetina ### Available OSX Version Finder methods OSXVersionEqualTo(@"v") //E.g: OSXVersionEqualTo(@"11") - OSX 10.11 OSXVersionGreaterThan(@"v") - OSXVersionGreaterThanOrEqualTo(@"v") - OSXVersionLessThan(@"v") - OSXVersionLessThanOrEqualTo(@"v") - /* 'v' must be the minor OS Version. e.g: OSX 10.9 - 'v' is 9 */ + OSXVersionGreaterThanOrEqualTo(@"v") + OSXVersionLessThan(@"v") + OSXVersionLessThanOrEqualTo(@"v") + /* 'v' must be the minor OS Version. e.g: OSX 10.9 - 'v' is 9 */ ### Helpers ```objective-c - NSLog(@"%@", stringFromDeviceSize([SDVersion deviceSize])); + NSLog(@"%@", stringFromDeviceSize([SDVersion deviceSize])); /* e.g: Outputs '15 inch' */ NSLog(@"%@", stringFromDeviceResolution([SDVersion deviceScreenResolution])) @@ -204,4 +204,4 @@ CocoaPods is a dependency manager for Objective-C, which automates and simplifie - Yasir Turk (iOS Version Finder, StackOverflow) ## License -Usage is provided under the [MIT License](http://http//opensource.org/licenses/mit-license.php). See LICENSE for the full details. \ No newline at end of file +Usage is provided under the [MIT License](http://http//opensource.org/licenses/mit-license.php). See LICENSE for the full details.