diff --git a/Example/Podfile.lock b/Example/Podfile.lock
index dd7774f..c8c9e08 100644
--- a/Example/Podfile.lock
+++ b/Example/Podfile.lock
@@ -1,5 +1,5 @@
PODS:
- - UIDevice-Utils (1.0.5)
+ - UIDevice-Utils (1.0.6)
DEPENDENCIES:
- UIDevice-Utils (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: ../
SPEC CHECKSUMS:
- UIDevice-Utils: 410c260dfdfdde9c147f7dfbc22b1b47d014f8f2
+ UIDevice-Utils: 8ea7c7082f182e36bde4431dee6681bab5cefb53
PODFILE CHECKSUM: 29850ff9a3324af2d39c0303e01cd7bcbab47fb5
diff --git a/Example/Pods/Local Podspecs/UIDevice-Utils.podspec.json b/Example/Pods/Local Podspecs/UIDevice-Utils.podspec.json
index 2b9a06c..b3f2af6 100644
--- a/Example/Pods/Local Podspecs/UIDevice-Utils.podspec.json
+++ b/Example/Pods/Local Podspecs/UIDevice-Utils.podspec.json
@@ -1,6 +1,6 @@
{
"name": "UIDevice-Utils",
- "version": "1.0.5",
+ "version": "1.0.6",
"summary": "Category on UIDevice to distinguish between platforms.",
"description": "Category to easy distinguish devices, family platform device, or device inches. Provide human-readable device names e.g. 'iPhone 6S Plus' or enums e.g. 'UIDeviceGenerationModeliPhone6SPlus'",
"homepage": "https://github.com/giuseppenucifora/UIDevice-Utils",
@@ -10,7 +10,7 @@
},
"source": {
"git": "https://github.com/giuseppenucifora/UIDevice-Utils.git",
- "tag": "1.0.5"
+ "tag": "1.0.6"
},
"platforms": {
"ios": "8.0"
diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock
index dd7774f..c8c9e08 100644
--- a/Example/Pods/Manifest.lock
+++ b/Example/Pods/Manifest.lock
@@ -1,5 +1,5 @@
PODS:
- - UIDevice-Utils (1.0.5)
+ - UIDevice-Utils (1.0.6)
DEPENDENCIES:
- UIDevice-Utils (from `../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: ../
SPEC CHECKSUMS:
- UIDevice-Utils: 410c260dfdfdde9c147f7dfbc22b1b47d014f8f2
+ UIDevice-Utils: 8ea7c7082f182e36bde4431dee6681bab5cefb53
PODFILE CHECKSUM: 29850ff9a3324af2d39c0303e01cd7bcbab47fb5
diff --git a/Example/Pods/Target Support Files/UIDevice-Utils/Info.plist b/Example/Pods/Target Support Files/UIDevice-Utils/Info.plist
index a5730fa..995c8fe 100644
--- a/Example/Pods/Target Support Files/UIDevice-Utils/Info.plist
+++ b/Example/Pods/Target Support Files/UIDevice-Utils/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 1.0.5
+ 1.0.6
CFBundleSignature
????
CFBundleVersion
diff --git a/Example/UIDevice-Utils.xcodeproj/project.pbxproj b/Example/UIDevice-Utils.xcodeproj/project.pbxproj
index 400d2c4..3cdbd2d 100644
--- a/Example/UIDevice-Utils.xcodeproj/project.pbxproj
+++ b/Example/UIDevice-Utils.xcodeproj/project.pbxproj
@@ -47,7 +47,7 @@
D1BD083903BAE558AFAD1793 /* Pods_UIDevice_Utils_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_UIDevice_Utils_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D3A7CD80BAE0E75580135165 /* Pods-UIDevice-Utils_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-UIDevice-Utils_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-UIDevice-Utils_Tests/Pods-UIDevice-Utils_Tests.release.xcconfig"; sourceTree = ""; };
E41F95034D860004596901D3 /* Pods-UIDevice-Utils_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-UIDevice-Utils_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-UIDevice-Utils_Tests/Pods-UIDevice-Utils_Tests.debug.xcconfig"; sourceTree = ""; };
- FE1FE739D18AEB200BB71A85 /* UIDevice-Utils.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "UIDevice-Utils.podspec"; path = "../UIDevice-Utils.podspec"; sourceTree = ""; };
+ FE1FE739D18AEB200BB71A85 /* UIDevice-Utils.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "UIDevice-Utils.podspec"; path = "../UIDevice-Utils.podspec"; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
diff --git a/Pod/Classes/UIDevice-Hardware.h b/Pod/Classes/UIDevice-Hardware.h
index f099127..204fe3b 100755
--- a/Pod/Classes/UIDevice-Hardware.h
+++ b/Pod/Classes/UIDevice-Hardware.h
@@ -72,6 +72,7 @@ typedef NS_ENUM(NSUInteger, UIDeviceModelInches) {
UIDeviceModelInches4,
UIDeviceModelInches47,
UIDeviceModelInches55,
+ UIDeviceModelInches58,
UIDeviceModelInches79,
UIDeviceModelInches97,
UIDeviceModelInches105,
@@ -80,6 +81,7 @@ typedef NS_ENUM(NSUInteger, UIDeviceModelInches) {
UIDeviceSimulatorModelInches4 = UIDeviceModelInches4,
UIDeviceSimulatorModelInches47 = UIDeviceModelInches47,
UIDeviceSimulatorModelInches55 = UIDeviceModelInches55,
+ UIDeviceSimulatorModelInches58 = UIDeviceModelInches58,
UIDeviceSimulatorModelInches79 = UIDeviceModelInches79,
UIDeviceSimulatorModelInches97 = UIDeviceModelInches97,
UIDeviceSimulatorModelInches105 = UIDeviceModelInches105,
diff --git a/Pod/Classes/UIDevice-Hardware.m b/Pod/Classes/UIDevice-Hardware.m
index bda6999..89fb037 100755
--- a/Pod/Classes/UIDevice-Hardware.m
+++ b/Pod/Classes/UIDevice-Hardware.m
@@ -286,6 +286,10 @@
return UIDeviceModelInches55;
}
break;
+ case UIDeviceGenerationModeliPhoneX:{
+ return UIDeviceModelInches58;
+ }
+ break;
case UIDeviceGenerationModeliPad1:
case UIDeviceGenerationModeliPad2:
case UIDeviceGenerationModeliPad3:
diff --git a/UIDevice-Utils.podspec b/UIDevice-Utils.podspec
index bada847..baa3a58 100644
--- a/UIDevice-Utils.podspec
+++ b/UIDevice-Utils.podspec
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "UIDevice-Utils"
-s.version = "1.0.5"
+s.version = "1.0.6"
s.summary = "Category on UIDevice to distinguish between platforms."
s.description = "Category to easy distinguish devices, family platform device, or device inches. Provide human-readable device names e.g. 'iPhone 6S Plus' or enums e.g. 'UIDeviceGenerationModeliPhone6SPlus'"
s.homepage = "https://github.com/giuseppenucifora/UIDevice-Utils"