From d9f0f354ce2143b95e80f45ec498307b91abdec9 Mon Sep 17 00:00:00 2001 From: Merrick Sapsford Date: Wed, 6 Dec 2017 16:47:10 +0100 Subject: [PATCH 1/8] Update to require iOS 9 --- Example/Pageboy-Example.xcodeproj/project.pbxproj | 4 ++-- Pageboy.podspec | 2 +- Sources/Pageboy.xcodeproj/project.pbxproj | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Example/Pageboy-Example.xcodeproj/project.pbxproj b/Example/Pageboy-Example.xcodeproj/project.pbxproj index b8039aec..e997c32f 100644 --- a/Example/Pageboy-Example.xcodeproj/project.pbxproj +++ b/Example/Pageboy-Example.xcodeproj/project.pbxproj @@ -358,7 +358,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -409,7 +409,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; diff --git a/Pageboy.podspec b/Pageboy.podspec index 693e5733..3c522256 100644 --- a/Pageboy.podspec +++ b/Pageboy.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = "Pageboy" - s.ios.deployment_target = '8.0' + s.ios.deployment_target = '9.0' s.tvos.deployment_target = '10.0' s.requires_arc = true diff --git a/Sources/Pageboy.xcodeproj/project.pbxproj b/Sources/Pageboy.xcodeproj/project.pbxproj index 9a45abb0..89e853d0 100644 --- a/Sources/Pageboy.xcodeproj/project.pbxproj +++ b/Sources/Pageboy.xcodeproj/project.pbxproj @@ -548,7 +548,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -602,7 +602,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; From de90347c25c52218ca780969f184c689390fd636 Mon Sep 17 00:00:00 2001 From: Merrick Sapsford Date: Wed, 6 Dec 2017 16:53:06 +0100 Subject: [PATCH 2/8] Add support for safeArea to example --- .../Base.lproj/Main.storyboard | 33 +++++++++---------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/Example/Pageboy-Example/Base.lproj/Main.storyboard b/Example/Pageboy-Example/Base.lproj/Main.storyboard index 8f7fb7c8..1de58223 100644 --- a/Example/Pageboy-Example/Base.lproj/Main.storyboard +++ b/Example/Pageboy-Example/Base.lproj/Main.storyboard @@ -1,11 +1,12 @@ - + - + + @@ -29,10 +30,6 @@ - - - - @@ -49,13 +46,13 @@