- Add UIDeviceModelInches58
This commit is contained in:
parent
633399923a
commit
102e17a798
@ -1,5 +1,5 @@
|
|||||||
PODS:
|
PODS:
|
||||||
- UIDevice-Utils (1.0.5)
|
- UIDevice-Utils (1.0.6)
|
||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- UIDevice-Utils (from `../`)
|
- UIDevice-Utils (from `../`)
|
||||||
@ -9,7 +9,7 @@ EXTERNAL SOURCES:
|
|||||||
:path: ../
|
:path: ../
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
UIDevice-Utils: 410c260dfdfdde9c147f7dfbc22b1b47d014f8f2
|
UIDevice-Utils: 8ea7c7082f182e36bde4431dee6681bab5cefb53
|
||||||
|
|
||||||
PODFILE CHECKSUM: 29850ff9a3324af2d39c0303e01cd7bcbab47fb5
|
PODFILE CHECKSUM: 29850ff9a3324af2d39c0303e01cd7bcbab47fb5
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "UIDevice-Utils",
|
"name": "UIDevice-Utils",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"summary": "Category on UIDevice to distinguish between platforms.",
|
"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'",
|
"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",
|
"homepage": "https://github.com/giuseppenucifora/UIDevice-Utils",
|
||||||
@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"source": {
|
"source": {
|
||||||
"git": "https://github.com/giuseppenucifora/UIDevice-Utils.git",
|
"git": "https://github.com/giuseppenucifora/UIDevice-Utils.git",
|
||||||
"tag": "1.0.5"
|
"tag": "1.0.6"
|
||||||
},
|
},
|
||||||
"platforms": {
|
"platforms": {
|
||||||
"ios": "8.0"
|
"ios": "8.0"
|
||||||
|
|||||||
4
Example/Pods/Manifest.lock
generated
4
Example/Pods/Manifest.lock
generated
@ -1,5 +1,5 @@
|
|||||||
PODS:
|
PODS:
|
||||||
- UIDevice-Utils (1.0.5)
|
- UIDevice-Utils (1.0.6)
|
||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- UIDevice-Utils (from `../`)
|
- UIDevice-Utils (from `../`)
|
||||||
@ -9,7 +9,7 @@ EXTERNAL SOURCES:
|
|||||||
:path: ../
|
:path: ../
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
UIDevice-Utils: 410c260dfdfdde9c147f7dfbc22b1b47d014f8f2
|
UIDevice-Utils: 8ea7c7082f182e36bde4431dee6681bab5cefb53
|
||||||
|
|
||||||
PODFILE CHECKSUM: 29850ff9a3324af2d39c0303e01cd7bcbab47fb5
|
PODFILE CHECKSUM: 29850ff9a3324af2d39c0303e01cd7bcbab47fb5
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>FMWK</string>
|
<string>FMWK</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.0.5</string>
|
<string>1.0.6</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
|
|||||||
@ -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; };
|
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 = "<group>"; };
|
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 = "<group>"; };
|
||||||
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 = "<group>"; };
|
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 = "<group>"; };
|
||||||
FE1FE739D18AEB200BB71A85 /* UIDevice-Utils.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "UIDevice-Utils.podspec"; path = "../UIDevice-Utils.podspec"; sourceTree = "<group>"; };
|
FE1FE739D18AEB200BB71A85 /* UIDevice-Utils.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "UIDevice-Utils.podspec"; path = "../UIDevice-Utils.podspec"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
|
|||||||
@ -72,6 +72,7 @@ typedef NS_ENUM(NSUInteger, UIDeviceModelInches) {
|
|||||||
UIDeviceModelInches4,
|
UIDeviceModelInches4,
|
||||||
UIDeviceModelInches47,
|
UIDeviceModelInches47,
|
||||||
UIDeviceModelInches55,
|
UIDeviceModelInches55,
|
||||||
|
UIDeviceModelInches58,
|
||||||
UIDeviceModelInches79,
|
UIDeviceModelInches79,
|
||||||
UIDeviceModelInches97,
|
UIDeviceModelInches97,
|
||||||
UIDeviceModelInches105,
|
UIDeviceModelInches105,
|
||||||
@ -80,6 +81,7 @@ typedef NS_ENUM(NSUInteger, UIDeviceModelInches) {
|
|||||||
UIDeviceSimulatorModelInches4 = UIDeviceModelInches4,
|
UIDeviceSimulatorModelInches4 = UIDeviceModelInches4,
|
||||||
UIDeviceSimulatorModelInches47 = UIDeviceModelInches47,
|
UIDeviceSimulatorModelInches47 = UIDeviceModelInches47,
|
||||||
UIDeviceSimulatorModelInches55 = UIDeviceModelInches55,
|
UIDeviceSimulatorModelInches55 = UIDeviceModelInches55,
|
||||||
|
UIDeviceSimulatorModelInches58 = UIDeviceModelInches58,
|
||||||
UIDeviceSimulatorModelInches79 = UIDeviceModelInches79,
|
UIDeviceSimulatorModelInches79 = UIDeviceModelInches79,
|
||||||
UIDeviceSimulatorModelInches97 = UIDeviceModelInches97,
|
UIDeviceSimulatorModelInches97 = UIDeviceModelInches97,
|
||||||
UIDeviceSimulatorModelInches105 = UIDeviceModelInches105,
|
UIDeviceSimulatorModelInches105 = UIDeviceModelInches105,
|
||||||
|
|||||||
@ -286,6 +286,10 @@
|
|||||||
return UIDeviceModelInches55;
|
return UIDeviceModelInches55;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case UIDeviceGenerationModeliPhoneX:{
|
||||||
|
return UIDeviceModelInches58;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case UIDeviceGenerationModeliPad1:
|
case UIDeviceGenerationModeliPad1:
|
||||||
case UIDeviceGenerationModeliPad2:
|
case UIDeviceGenerationModeliPad2:
|
||||||
case UIDeviceGenerationModeliPad3:
|
case UIDeviceGenerationModeliPad3:
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = "UIDevice-Utils"
|
s.name = "UIDevice-Utils"
|
||||||
s.version = "1.0.5"
|
s.version = "1.0.6"
|
||||||
s.summary = "Category on UIDevice to distinguish between platforms."
|
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.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"
|
s.homepage = "https://github.com/giuseppenucifora/UIDevice-Utils"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user