From b123f434599eecd92d5632ecf0d985331b520f24 Mon Sep 17 00:00:00 2001 From: Daniil Subbotin Date: Tue, 1 Oct 2019 20:43:16 +0300 Subject: [PATCH] Update to Swift 5.0 --- .travis.yml | 4 ++-- .../RHPlaceholderExample.xcodeproj/project.pbxproj | 14 +++++++------- README.md | 1 + RHPlaceholder.podspec | 2 +- .../RHPlaceholder.xcodeproj/project.pbxproj | 10 ++++++---- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee07b48..1cc6a0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ language: objective-c -osx_image: xcode10.1 +osx_image: xcode10.3 script: - - xcodebuild -project RHPlaceholder/RHPlaceholder.xcodeproj -target RHPlaceholder -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 7,OS=11' \ No newline at end of file + - xcodebuild -project RHPlaceholder/RHPlaceholder.xcodeproj -target RHPlaceholder -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8,OS=12.4' \ No newline at end of file diff --git a/Example/RHPlaceholderExample/RHPlaceholderExample.xcodeproj/project.pbxproj b/Example/RHPlaceholderExample/RHPlaceholderExample.xcodeproj/project.pbxproj index b451524..3dc45c6 100644 --- a/Example/RHPlaceholderExample/RHPlaceholderExample.xcodeproj/project.pbxproj +++ b/Example/RHPlaceholderExample/RHPlaceholderExample.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 51; objects = { /* Begin PBXBuildFile section */ @@ -187,11 +187,11 @@ TargetAttributes = { B1209556209F3666003697D9 = { CreatedOnToolsVersion = 9.3; - LastSwiftMigration = 1000; + LastSwiftMigration = 1030; }; B120956A209F3667003697D9 = { CreatedOnToolsVersion = 9.3; - LastSwiftMigration = 1000; + LastSwiftMigration = 1030; TestTargetID = B1209556209F3666003697D9; }; }; @@ -433,7 +433,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = x.RHPlaceholderExample; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -451,7 +451,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = x.RHPlaceholderExample; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release; @@ -470,7 +470,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = x.RHPlaceholderExampleTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RHPlaceholderExample.app/RHPlaceholderExample"; }; @@ -490,7 +490,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = x.RHPlaceholderExampleTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/RHPlaceholderExample.app/RHPlaceholderExample"; }; diff --git a/README.md b/README.md index d17e4dc..0dc97ca 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,7 @@ You can add your own Animators, by conforming to the `LayerAnimating` protocol a | ------------- |:-------------:| ------------- | | 0.0.3 | 4.1 | Very early version, API may change | | 0.0.5 | 4.2 | Very early version, API may change | +| 0.0.6 | 5.0 | Very early version, API may change | ## Check the Demo project diff --git a/RHPlaceholder.podspec b/RHPlaceholder.podspec index 5489d6d..1747b98 100644 --- a/RHPlaceholder.podspec +++ b/RHPlaceholder.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RHPlaceholder" - s.version = "0.0.5" + s.version = "0.0.6" s.summary = "Because tradicional loading view like UIActivityIndicatorView or similar one are noo longer so trendy (Facebook or Instagram apps are moving away from these approaches), I decided to create very simple library which will give you oportunity to have Facebook or Instagram 'view loading state' in your great project without big effort ❗️🍕" s.description = "Because tradicional loading view like UIActivityIndicatorView or similar one are noo longer so trendy (Facebook or Instagram apps are moving away from these approaches), I decided to create very simple library which will give you oportunity to have Facebook or Instagram 'view loading state' in your great project without big effort ❗️🍕Because tradicional loading view like UIActivityIndicatorView or similar one are noo longer so trendy (Facebook or Instagram apps are moving away from these approaches), I decided to create very simple library which will give you oportunity to have Facebook or Instagram 'view loading state' in your great project without big effort ❗️🍕" s.homepage = "https://github.com/robertherdzik/RHPlaceholder" diff --git a/RHPlaceholder/RHPlaceholder.xcodeproj/project.pbxproj b/RHPlaceholder/RHPlaceholder.xcodeproj/project.pbxproj index 340e28c..8273f33 100644 --- a/RHPlaceholder/RHPlaceholder.xcodeproj/project.pbxproj +++ b/RHPlaceholder/RHPlaceholder.xcodeproj/project.pbxproj @@ -268,9 +268,11 @@ TargetAttributes = { B1171C5C209F2A6F00343FDD = { CreatedOnToolsVersion = 9.3; + LastSwiftMigration = 1030; }; B1171C65209F2A6F00343FDD = { CreatedOnToolsVersion = 9.3; + LastSwiftMigration = 1030; }; }; }; @@ -491,7 +493,7 @@ PRODUCT_BUNDLE_IDENTIFIER = x.RHPlaceholder; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -515,7 +517,7 @@ PRODUCT_BUNDLE_IDENTIFIER = x.RHPlaceholder; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release; @@ -534,7 +536,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = x.RHPlaceholderTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -553,7 +555,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = x.RHPlaceholderTests; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release;