- Release 0.1.4 #3
@ -467,7 +467,7 @@
|
|||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
TARGETED_DEVICE_FAMILY = "1,2";
|
||||||
@ -500,7 +500,7 @@
|
|||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 7.1;
|
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
TARGETED_DEVICE_FAMILY = "1,2";
|
TARGETED_DEVICE_FAMILY = "1,2";
|
||||||
VALIDATE_PRODUCT = YES;
|
VALIDATE_PRODUCT = YES;
|
||||||
|
|||||||
@ -5,16 +5,31 @@
|
|||||||
"size" : "29x29",
|
"size" : "29x29",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"size" : "29x29",
|
||||||
|
"scale" : "3x"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"size" : "40x40",
|
"size" : "40x40",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"size" : "40x40",
|
||||||
|
"scale" : "3x"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"size" : "60x60",
|
"size" : "60x60",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"size" : "60x60",
|
||||||
|
"scale" : "3x"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"idiom" : "ipad",
|
"idiom" : "ipad",
|
||||||
"size" : "29x29",
|
"size" : "29x29",
|
||||||
@ -44,6 +59,11 @@
|
|||||||
"idiom" : "ipad",
|
"idiom" : "ipad",
|
||||||
"size" : "76x76",
|
"size" : "76x76",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"size" : "83.5x83.5",
|
||||||
|
"scale" : "2x"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"info" : {
|
"info" : {
|
||||||
|
|||||||
6
Example/UIDevice-Utils/Images.xcassets/Contents.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"info" : {
|
||||||
|
"version" : 1,
|
||||||
|
"author" : "xcode"
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,23 +1,53 @@
|
|||||||
{
|
{
|
||||||
"images" : [
|
"images" : [
|
||||||
|
{
|
||||||
|
"extent" : "full-screen",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"subtype" : "736h",
|
||||||
|
"filename" : "Default-Portrait-736h@3x.png",
|
||||||
|
"minimum-system-version" : "8.0",
|
||||||
|
"orientation" : "portrait",
|
||||||
|
"scale" : "3x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extent" : "full-screen",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"subtype" : "736h",
|
||||||
|
"filename" : "Default-Landscape-736h@3x.png",
|
||||||
|
"minimum-system-version" : "8.0",
|
||||||
|
"orientation" : "landscape",
|
||||||
|
"scale" : "3x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"extent" : "full-screen",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"subtype" : "667h",
|
||||||
|
"filename" : "Default-667h@2x.png",
|
||||||
|
"minimum-system-version" : "8.0",
|
||||||
|
"orientation" : "portrait",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"orientation" : "portrait",
|
"orientation" : "portrait",
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
|
"filename" : "Default@2x.png",
|
||||||
"extent" : "full-screen",
|
"extent" : "full-screen",
|
||||||
"minimum-system-version" : "7.0",
|
"minimum-system-version" : "7.0",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"orientation" : "portrait",
|
"extent" : "full-screen",
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"subtype" : "retina4",
|
"subtype" : "retina4",
|
||||||
"extent" : "full-screen",
|
"filename" : "Default-568h@2x.png",
|
||||||
"minimum-system-version" : "7.0",
|
"minimum-system-version" : "7.0",
|
||||||
|
"orientation" : "portrait",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"orientation" : "portrait",
|
"orientation" : "portrait",
|
||||||
"idiom" : "ipad",
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad~nostatusbar.png",
|
||||||
"extent" : "full-screen",
|
"extent" : "full-screen",
|
||||||
"minimum-system-version" : "7.0",
|
"minimum-system-version" : "7.0",
|
||||||
"scale" : "1x"
|
"scale" : "1x"
|
||||||
@ -25,6 +55,7 @@
|
|||||||
{
|
{
|
||||||
"orientation" : "landscape",
|
"orientation" : "landscape",
|
||||||
"idiom" : "ipad",
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad~landscape~nostatusbar.png",
|
||||||
"extent" : "full-screen",
|
"extent" : "full-screen",
|
||||||
"minimum-system-version" : "7.0",
|
"minimum-system-version" : "7.0",
|
||||||
"scale" : "1x"
|
"scale" : "1x"
|
||||||
@ -32,6 +63,7 @@
|
|||||||
{
|
{
|
||||||
"orientation" : "portrait",
|
"orientation" : "portrait",
|
||||||
"idiom" : "ipad",
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad~nostatusbar@2x.png",
|
||||||
"extent" : "full-screen",
|
"extent" : "full-screen",
|
||||||
"minimum-system-version" : "7.0",
|
"minimum-system-version" : "7.0",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
@ -39,9 +71,88 @@
|
|||||||
{
|
{
|
||||||
"orientation" : "landscape",
|
"orientation" : "landscape",
|
||||||
"idiom" : "ipad",
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad~landscape~nostatusbar@2x.png",
|
||||||
"extent" : "full-screen",
|
"extent" : "full-screen",
|
||||||
"minimum-system-version" : "7.0",
|
"minimum-system-version" : "7.0",
|
||||||
"scale" : "2x"
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "portrait",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"filename" : "Default.png",
|
||||||
|
"extent" : "full-screen",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "portrait",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"filename" : "Default@2x.png",
|
||||||
|
"extent" : "full-screen",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "portrait",
|
||||||
|
"idiom" : "iphone",
|
||||||
|
"filename" : "Default-568h@2x.png",
|
||||||
|
"extent" : "full-screen",
|
||||||
|
"subtype" : "retina4",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "portrait",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad.png",
|
||||||
|
"extent" : "to-status-bar",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "portrait",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad~nostatusbar.png",
|
||||||
|
"extent" : "full-screen",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "landscape",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad~landscape.png",
|
||||||
|
"extent" : "to-status-bar",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "landscape",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad~landscape~nostatusbar.png",
|
||||||
|
"extent" : "full-screen",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "portrait",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad@2x.png",
|
||||||
|
"extent" : "to-status-bar",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "portrait",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad~nostatusbar@2x.png",
|
||||||
|
"extent" : "full-screen",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "landscape",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad~landscape@2x.png",
|
||||||
|
"extent" : "to-status-bar",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orientation" : "landscape",
|
||||||
|
"idiom" : "ipad",
|
||||||
|
"filename" : "Default~ipad~landscape~nostatusbar@2x.png",
|
||||||
|
"extent" : "full-screen",
|
||||||
|
"scale" : "2x"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"info" : {
|
"info" : {
|
||||||
|
|||||||
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 58 KiB |
@ -30,6 +30,8 @@
|
|||||||
<array>
|
<array>
|
||||||
<string>armv7</string>
|
<string>armv7</string>
|
||||||
</array>
|
</array>
|
||||||
|
<key>UIRequiresFullScreen</key>
|
||||||
|
<true/>
|
||||||
<key>UISupportedInterfaceOrientations</key>
|
<key>UISupportedInterfaceOrientations</key>
|
||||||
<array>
|
<array>
|
||||||
<string>UIInterfaceOrientationPortrait</string>
|
<string>UIInterfaceOrientationPortrait</string>
|
||||||
|
|||||||
@ -73,6 +73,13 @@ typedef NS_ENUM(NSUInteger, UIDeviceModelInches) {
|
|||||||
UIDeviceModelInches79,
|
UIDeviceModelInches79,
|
||||||
UIDeviceModelInches97,
|
UIDeviceModelInches97,
|
||||||
UIDeviceModelInches129,
|
UIDeviceModelInches129,
|
||||||
|
UIDeviceSimulatorModelInches35 = UIDeviceModelInches35,
|
||||||
|
UIDeviceSimulatorModelInches4 = UIDeviceModelInches4,
|
||||||
|
UIDeviceSimulatorModelInches47 = UIDeviceModelInches47,
|
||||||
|
UIDeviceSimulatorModelInches55 = UIDeviceModelInches55,
|
||||||
|
UIDeviceSimulatorModelInches79 = UIDeviceModelInches79,
|
||||||
|
UIDeviceSimulatorModelInches97 = UIDeviceModelInches97,
|
||||||
|
UIDeviceSimulatorModelInches129 = UIDeviceModelInches129,
|
||||||
UIDeviceModelInchesUnKnown
|
UIDeviceModelInchesUnKnown
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -171,6 +171,8 @@
|
|||||||
if ([modelIdentifier isEqualToString:@"iPad4,2"]) return UIDeviceGenerationModeliPadAir;
|
if ([modelIdentifier isEqualToString:@"iPad4,2"]) return UIDeviceGenerationModeliPadAir;
|
||||||
if ([modelIdentifier isEqualToString:@"iPad5,3"]) return UIDeviceGenerationModeliPadAir2;
|
if ([modelIdentifier isEqualToString:@"iPad5,3"]) return UIDeviceGenerationModeliPadAir2;
|
||||||
if ([modelIdentifier isEqualToString:@"iPad5,4"]) return UIDeviceGenerationModeliPadAir2;
|
if ([modelIdentifier isEqualToString:@"iPad5,4"]) return UIDeviceGenerationModeliPadAir2;
|
||||||
|
if ([modelIdentifier isEqualToString:@"iPad6,7"]) return UIDeviceGenerationModeliPadPro;
|
||||||
|
if ([modelIdentifier isEqualToString:@"iPad6,8"]) return UIDeviceGenerationModeliPadPro;
|
||||||
|
|
||||||
// iPad Mini http://theiphonewiki.com/wiki/IPad_mini
|
// iPad Mini http://theiphonewiki.com/wiki/IPad_mini
|
||||||
|
|
||||||
@ -203,8 +205,14 @@
|
|||||||
|
|
||||||
if ([modelIdentifier hasSuffix:@"86"] || [modelIdentifier isEqual:@"x86_64"])
|
if ([modelIdentifier hasSuffix:@"86"] || [modelIdentifier isEqual:@"x86_64"])
|
||||||
{
|
{
|
||||||
BOOL smallerScreen = ([[UIScreen mainScreen] bounds].size.width < 768.0);
|
BOOL iPhoneScreen = ([[UIScreen mainScreen] bounds].size.width < 768.0);
|
||||||
return (smallerScreen ? UIDeviceGenerationModeliPhoneSimulator : UIDeviceGenerationModeliPadSimulator);
|
BOOL iPadScreen = !iPhoneScreen;
|
||||||
|
if (iPadScreen) {
|
||||||
|
return UIDeviceGenerationModeliPadSimulator;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
return UIDeviceGenerationModeliPhoneSimulator;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return UIDeviceGenerationModelUnknown;
|
return UIDeviceGenerationModelUnknown;
|
||||||
}
|
}
|
||||||
@ -250,6 +258,9 @@
|
|||||||
if ([modelIdentifier isEqualToString:@"iPad5,3"]) return @"iPad Air 2 (Wi-Fi)";
|
if ([modelIdentifier isEqualToString:@"iPad5,3"]) return @"iPad Air 2 (Wi-Fi)";
|
||||||
if ([modelIdentifier isEqualToString:@"iPad5,4"]) return @"iPad Air 2 (Cellular)";
|
if ([modelIdentifier isEqualToString:@"iPad5,4"]) return @"iPad Air 2 (Cellular)";
|
||||||
|
|
||||||
|
if ([modelIdentifier isEqualToString:@"iPad6,7"]) return @"iPad Pro (Wi-Fi)";
|
||||||
|
if ([modelIdentifier isEqualToString:@"iPad6,8"]) return @"iPad Pro (Cellular)";
|
||||||
|
|
||||||
// iPad Mini http://theiphonewiki.com/wiki/IPad_mini
|
// iPad Mini http://theiphonewiki.com/wiki/IPad_mini
|
||||||
|
|
||||||
if ([modelIdentifier isEqualToString:@"iPad2,5"]) return @"iPad mini 1G (Wi-Fi)";
|
if ([modelIdentifier isEqualToString:@"iPad2,5"]) return @"iPad mini 1G (Wi-Fi)";
|
||||||
@ -320,23 +331,62 @@
|
|||||||
case UIDeviceGenerationModeliPad4:
|
case UIDeviceGenerationModeliPad4:
|
||||||
case UIDeviceGenerationModeliPadAir:
|
case UIDeviceGenerationModeliPadAir:
|
||||||
case UIDeviceGenerationModeliPadAir2:{
|
case UIDeviceGenerationModeliPadAir2:{
|
||||||
|
|
||||||
return UIDeviceModelInches97;
|
return UIDeviceModelInches97;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case UIDeviceGenerationModeliPadMini1:
|
case UIDeviceGenerationModeliPadMini1:
|
||||||
case UIDeviceGenerationModeliPadMini2:
|
case UIDeviceGenerationModeliPadMini2:
|
||||||
case UIDeviceGenerationModeliPadMini3:
|
case UIDeviceGenerationModeliPadMini3:
|
||||||
case UIDeviceGenerationModeliPadMini4:
|
case UIDeviceGenerationModeliPadMini4:{
|
||||||
{
|
|
||||||
return UIDeviceModelInches79;
|
return UIDeviceModelInches79;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case UIDeviceGenerationModeliPadPro:{
|
case UIDeviceGenerationModeliPadPro:{
|
||||||
return UIDeviceModelInches129;
|
return UIDeviceModelInches129;
|
||||||
}
|
|
||||||
default:
|
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
case UIDeviceGenerationModeliPadSimulator:
|
||||||
|
case UIDeviceGenerationModeliPhoneSimulator:{
|
||||||
|
CGRect screenRect = [[UIScreen mainScreen] bounds];
|
||||||
|
NSInteger screenHeight = ((NSInteger)screenRect.size.height > (NSInteger)screenRect.size.width) ? (NSInteger)screenRect.size.height : (NSInteger)screenRect.size.width;
|
||||||
|
|
||||||
|
|
||||||
|
switch (screenHeight) {
|
||||||
|
case 480:{
|
||||||
|
return UIDeviceSimulatorModelInches35;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 568:{
|
||||||
|
return UIDeviceSimulatorModelInches4;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 667:{
|
||||||
|
return UIDeviceSimulatorModelInches47;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 736:{
|
||||||
|
return UIDeviceSimulatorModelInches55;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1024:{
|
||||||
|
return UIDeviceModelInches97;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 1366:{
|
||||||
|
return UIDeviceSimulatorModelInches129;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:{
|
||||||
|
return UIDeviceModelInchesUnKnown;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default: {
|
||||||
|
return UIDeviceModelInchesUnKnown;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return UIDeviceModelInchesUnKnown;
|
return UIDeviceModelInchesUnKnown;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,10 +17,6 @@ UIDevice-Utils is available through [CocoaPods](http://cocoapods.org). To instal
|
|||||||
it, simply add the following line to your Podfile:
|
it, simply add the following line to your Podfile:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
pod "UIDevice-Utils" , :git => 'https://github.com/giuseppenucifora/UIDevice-Utils.git'
|
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
pod "UIDevice-Utils"
|
pod "UIDevice-Utils"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -7,26 +7,26 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = "UIDevice-Utils"
|
s.name = "UIDevice-Utils"
|
||||||
s.version = "0.1.2"
|
s.version = "0.1.4"
|
||||||
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"
|
||||||
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
|
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
|
||||||
s.license = 'MIT'
|
s.license = 'MIT'
|
||||||
s.author = { "Giuseppe Nucifora" => "me@giuseppenucifora.com" }
|
s.author = { "Giuseppe Nucifora" => "me@giuseppenucifora.com" }
|
||||||
s.source = { :git => "https://github.com/giuseppenucifora/UIDevice-Utils.git", :tag => s.version.to_s }
|
s.source = { :git => "https://github.com/giuseppenucifora/UIDevice-Utils.git", :tag => s.version.to_s }
|
||||||
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
|
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
|
||||||
|
|
||||||
s.platform = :ios, '7.0'
|
s.platform = :ios, '8.0'
|
||||||
s.requires_arc = true
|
s.requires_arc = true
|
||||||
|
|
||||||
s.source_files = 'Pod/Classes/**/*'
|
s.source_files = 'Pod/Classes/**/*'
|
||||||
s.resource_bundles = {
|
s.resource_bundles = {
|
||||||
'UIDevice-Utils' => ['Pod/Assets/*.png']
|
'UIDevice-Utils' => ['Pod/Assets/*.png']
|
||||||
}
|
}
|
||||||
|
|
||||||
# s.public_header_files = 'Pod/Classes/**/*.h'
|
# s.public_header_files = 'Pod/Classes/**/*.h'
|
||||||
# s.frameworks = 'UIKit', 'MapKit'
|
# s.frameworks = 'UIKit', 'MapKit'
|
||||||
# s.dependency 'AFNetworking', '~> 2.3'
|
# s.dependency 'AFNetworking', '~> 2.3'
|
||||||
end
|
end
|
||||||
|
|||||||