From dfd1381d24717a1e4614538867aa284500bcc1c2 Mon Sep 17 00:00:00 2001 From: Asim Khan Date: Tue, 3 Dec 2019 22:07:24 +0400 Subject: [PATCH 1/6] Library converted to Swift 5. --- ABVideoRangeSlider/Classes/ABBorder.swift | 2 +- .../Classes/ABEndIndicator.swift | 2 +- .../Classes/ABProgressIndicator.swift | 2 +- .../Classes/ABStartIndicator.swift | 2 +- .../Classes/ABThumbnailsManager.swift | 6 +- ABVideoRangeSlider/Classes/ABTimeView.swift | 2 +- .../Classes/ABVideoRangeSlider.swift | 2 +- .../project.pbxproj | 74 +++++-------------- Example/ABVideoRangeSlider/AppDelegate.swift | 2 +- 9 files changed, 29 insertions(+), 65 deletions(-) diff --git a/ABVideoRangeSlider/Classes/ABBorder.swift b/ABVideoRangeSlider/Classes/ABBorder.swift index fae2746..1838167 100644 --- a/ABVideoRangeSlider/Classes/ABBorder.swift +++ b/ABVideoRangeSlider/Classes/ABBorder.swift @@ -20,7 +20,7 @@ class ABBorder: UIView { imageView.frame = self.bounds imageView.image = image - imageView.contentMode = UIViewContentMode.scaleToFill + imageView.contentMode = UIView.ContentMode.scaleToFill self.addSubview(imageView) } diff --git a/ABVideoRangeSlider/Classes/ABEndIndicator.swift b/ABVideoRangeSlider/Classes/ABEndIndicator.swift index 2286644..5d2a7cf 100644 --- a/ABVideoRangeSlider/Classes/ABEndIndicator.swift +++ b/ABVideoRangeSlider/Classes/ABEndIndicator.swift @@ -21,7 +21,7 @@ class ABEndIndicator: UIView { imageView.frame = self.bounds imageView.image = image - imageView.contentMode = UIViewContentMode.scaleToFill + imageView.contentMode = UIView.ContentMode.scaleToFill self.addSubview(imageView) } diff --git a/ABVideoRangeSlider/Classes/ABProgressIndicator.swift b/ABVideoRangeSlider/Classes/ABProgressIndicator.swift index 5eef82a..fd051c8 100644 --- a/ABVideoRangeSlider/Classes/ABProgressIndicator.swift +++ b/ABVideoRangeSlider/Classes/ABProgressIndicator.swift @@ -19,7 +19,7 @@ class ABProgressIndicator: UIView { let image = UIImage(named: "ProgressIndicator", in: bundle, compatibleWith: nil) imageView.frame = self.bounds imageView.image = image - imageView.contentMode = UIViewContentMode.scaleToFill + imageView.contentMode = UIView.ContentMode.scaleToFill self.addSubview(imageView) } diff --git a/ABVideoRangeSlider/Classes/ABStartIndicator.swift b/ABVideoRangeSlider/Classes/ABStartIndicator.swift index b85c29b..f99eb15 100644 --- a/ABVideoRangeSlider/Classes/ABStartIndicator.swift +++ b/ABVideoRangeSlider/Classes/ABStartIndicator.swift @@ -21,7 +21,7 @@ class ABStartIndicator: UIView { imageView.frame = self.bounds imageView.image = image - imageView.contentMode = UIViewContentMode.scaleToFill + imageView.contentMode = UIView.ContentMode.scaleToFill self.addSubview(imageView) } diff --git a/ABVideoRangeSlider/Classes/ABThumbnailsManager.swift b/ABVideoRangeSlider/Classes/ABThumbnailsManager.swift index b2cdda9..4fe007f 100644 --- a/ABVideoRangeSlider/Classes/ABThumbnailsManager.swift +++ b/ABVideoRangeSlider/Classes/ABThumbnailsManager.swift @@ -28,7 +28,7 @@ class ABThumbnailsManager: NSObject { let imageView = UIImageView(image: image) imageView.alpha = 0 - imageView.contentMode = UIViewContentMode.scaleAspectFill + imageView.contentMode = UIView.ContentMode.scaleAspectFill imageView.clipsToBounds = true imageView.frame = CGRect(x: xPos, y: 0.0, @@ -41,7 +41,7 @@ class ABThumbnailsManager: NSObject { UIView.animate(withDuration: 0.2, animations: {() -> Void in imageView.alpha = 1.0 }) - view.sendSubview(toBack: imageView) + view.sendSubviewToBack(imageView) xPos = xPos + view.frame.size.height } } @@ -75,7 +75,7 @@ class ABThumbnailsManager: NSObject { for i in 0.. /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; 78480F720DCA886153BBBCED /* [CP] Check Pods Manifest.lock */ = { @@ -277,43 +278,16 @@ files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-ABVideoRangeSlider_Example-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; - showEnvVarsInLog = 0; - }; - 79B3BFA6A805CD26794E86C9 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ABVideoRangeSlider_Tests/Pods-ABVideoRangeSlider_Tests-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; - 8325C882F17F747CC9E6C69A /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ABVideoRangeSlider_Tests/Pods-ABVideoRangeSlider_Tests-frameworks.sh\"\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; 83433F5EAE73B62723E5B059 /* [CP] Embed Pods Frameworks */ = { @@ -322,28 +296,16 @@ files = ( ); inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-ABVideoRangeSlider_Example/Pods-ABVideoRangeSlider_Example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/ABVideoRangeSlider/ABVideoRangeSlider.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ABVideoRangeSlider.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ABVideoRangeSlider_Example/Pods-ABVideoRangeSlider_Example-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - C9C85FF519895AE1A57CD5D6 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "[CP] Copy Pods Resources"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ABVideoRangeSlider_Example/Pods-ABVideoRangeSlider_Example-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ABVideoRangeSlider_Example/Pods-ABVideoRangeSlider_Example-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -438,6 +400,7 @@ ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -474,6 +437,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.3; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; + SWIFT_VERSION = 5.0; VALIDATE_PRODUCT = YES; }; name = Release; @@ -489,7 +453,7 @@ MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -504,7 +468,7 @@ MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 5.0; }; name = Release; }; @@ -525,7 +489,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -542,7 +506,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 5.0; }; name = Release; }; diff --git a/Example/ABVideoRangeSlider/AppDelegate.swift b/Example/ABVideoRangeSlider/AppDelegate.swift index 719e288..ad1bd23 100644 --- a/Example/ABVideoRangeSlider/AppDelegate.swift +++ b/Example/ABVideoRangeSlider/AppDelegate.swift @@ -14,7 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. return true } From a5462f109dae653531441a073112cf4ca094e9dd Mon Sep 17 00:00:00 2001 From: Asim Khan Date: Tue, 3 Dec 2019 22:11:05 +0400 Subject: [PATCH 2/6] Readme updated. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f86eead..c258f45 100644 --- a/README.md +++ b/README.md @@ -165,3 +165,6 @@ videoRangeSlider.updateThumbnails() ## License ABVideoRangeSlider is available under the MIT license. See the LICENSE file for more info. + + +Updated by [Asim Khan](https://github.com/dev-shanghai) From 54f1605c970f8ef85c6628e5d7620fd0e7f5a50d Mon Sep 17 00:00:00 2001 From: Asim Khan Date: Tue, 3 Dec 2019 23:13:49 +0400 Subject: [PATCH 3/6] Tagged to Version 1.0.0 --- ...lider.podspec => ABVideoRangeSlider-SWIFT-5.podspec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename ABVideoRangeSlider.podspec => ABVideoRangeSlider-SWIFT-5.podspec (79%) diff --git a/ABVideoRangeSlider.podspec b/ABVideoRangeSlider-SWIFT-5.podspec similarity index 79% rename from ABVideoRangeSlider.podspec rename to ABVideoRangeSlider-SWIFT-5.podspec index 6b6b74a..2898174 100644 --- a/ABVideoRangeSlider.podspec +++ b/ABVideoRangeSlider-SWIFT-5.podspec @@ -7,9 +7,9 @@ # Pod::Spec.new do |s| - s.name = 'ABVideoRangeSlider' - s.version = '0.1.5' - s.summary = 'A simple range slider for trimming videos written in Swift 3. Includes a Progress Indicator.' + s.name = 'ABVideoRangeSlider-SWIFT-5' + s.version = '1.0.0' + s.summary = 'A simple range slider for trimming videos written in Swift 5. Includes a Progress Indicator.' # This description is used to generate tags and improve search results. # * Think: What does it do? Why did you write it? What is the focus? @@ -19,11 +19,11 @@ Pod::Spec.new do |s| s.description = 'Display thumbnails and a slider for trimming videos in iOS. Includes a Progress Indicator' - s.homepage = 'https://github.com/AppsBoulevard/ABVideoRangeSlider' + s.homepage = 'https://github.com/dev-shanghai/ABVideoRangeSlider.git' # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'Oscar J. Irun' => 'oscarjiv91@gmail.com' } - s.source = { :git => 'https://github.com/AppsBoulevard/ABVideoRangeSlider.git', :tag => s.version.to_s } + s.source = { :git => 'https://github.com/dev-shanghai/ABVideoRangeSlider.git', :tag => s.version.to_s } s.social_media_url = 'https://twitter.com/AppsBoulevard' s.ios.deployment_target = '8.0' From 236b3585fe74d680f80c099aa89284dd4391625b Mon Sep 17 00:00:00 2001 From: "iamasimkhanjadoon@gmail.com" Date: Tue, 26 May 2020 15:46:39 +0400 Subject: [PATCH 4/6] fix: Readme and spec file updated. --- ABVideoRangeSlider-SWIFT-5.podspec | 12 ++++++------ README.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ABVideoRangeSlider-SWIFT-5.podspec b/ABVideoRangeSlider-SWIFT-5.podspec index 2898174..9aa5e3a 100644 --- a/ABVideoRangeSlider-SWIFT-5.podspec +++ b/ABVideoRangeSlider-SWIFT-5.podspec @@ -1,5 +1,5 @@ # -# Be sure to run `pod lib lint ABVideoRangeSlider.podspec' to ensure this is a +# Be sure to run `pod lib lint ABVideoRangeSlider-SWIFT-5.podspec' to ensure this is a # valid spec before submitting. # # Any lines starting with a # are optional, but their use is encouraged @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'ABVideoRangeSlider-SWIFT-5' - s.version = '1.0.0' + s.version = '1.0.1' s.summary = 'A simple range slider for trimming videos written in Swift 5. Includes a Progress Indicator.' # This description is used to generate tags and improve search results. @@ -19,12 +19,12 @@ Pod::Spec.new do |s| s.description = 'Display thumbnails and a slider for trimming videos in iOS. Includes a Progress Indicator' - s.homepage = 'https://github.com/dev-shanghai/ABVideoRangeSlider.git' + s.homepage = 'https://github.com/dev-shanghai/ABVideoRangeSlider-SWIFT-5.git' # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' s.license = { :type => 'MIT', :file => 'LICENSE' } - s.author = { 'Oscar J. Irun' => 'oscarjiv91@gmail.com' } - s.source = { :git => 'https://github.com/dev-shanghai/ABVideoRangeSlider.git', :tag => s.version.to_s } - s.social_media_url = 'https://twitter.com/AppsBoulevard' + s.author = { 'Asim Khan' => 'iamasimkhanjadoon@gmail.com' } + s.source = { :git => 'https://github.com/dev-shanghai/ABVideoRangeSlider-SWIFT-5.git', :tag => s.version.to_s } + s.social_media_url = 'https://twitter.com/i_am_asimkhan' s.ios.deployment_target = '8.0' diff --git a/README.md b/README.md index c258f45..f23184c 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ ABVideoRangeSlider is available through [CocoaPods](http://cocoapods.org). To in it, simply add the following line to your Podfile: ```ruby -pod "ABVideoRangeSlider" +pod "ABVideoRangeSlider-SWIFT-5" ``` ## Example From 96c7c0195d6978e8652e0fc424697c05d0a73437 Mon Sep 17 00:00:00 2001 From: "iamasimkhanjadoon@gmail.com" Date: Tue, 26 May 2020 16:05:07 +0400 Subject: [PATCH 5/6] fix: Updated Podfile. --- ABVideoRangeSlider-SWIFT-5.podspec | 4 ++-- .../project.pbxproj | 20 +++++++++---------- .../ABVideoRangeSlider/ViewController.swift | 2 +- Example/Podfile | 2 +- Example/Tests/Tests.swift | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ABVideoRangeSlider-SWIFT-5.podspec b/ABVideoRangeSlider-SWIFT-5.podspec index 9aa5e3a..a36ce5b 100644 --- a/ABVideoRangeSlider-SWIFT-5.podspec +++ b/ABVideoRangeSlider-SWIFT-5.podspec @@ -19,11 +19,11 @@ Pod::Spec.new do |s| s.description = 'Display thumbnails and a slider for trimming videos in iOS. Includes a Progress Indicator' - s.homepage = 'https://github.com/dev-shanghai/ABVideoRangeSlider-SWIFT-5.git' + s.homepage = 'https://github.com/dev-shanghai/ABVideoRangeSlider.git' # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'Asim Khan' => 'iamasimkhanjadoon@gmail.com' } - s.source = { :git => 'https://github.com/dev-shanghai/ABVideoRangeSlider-SWIFT-5.git', :tag => s.version.to_s } + s.source = { :git => 'https://github.com/dev-shanghai/ABVideoRangeSlider.git', :tag => s.version.to_s } s.social_media_url = 'https://twitter.com/i_am_asimkhan' s.ios.deployment_target = '8.0' diff --git a/Example/ABVideoRangeSlider.xcodeproj/project.pbxproj b/Example/ABVideoRangeSlider.xcodeproj/project.pbxproj index d451f48..90c370d 100644 --- a/Example/ABVideoRangeSlider.xcodeproj/project.pbxproj +++ b/Example/ABVideoRangeSlider.xcodeproj/project.pbxproj @@ -201,12 +201,12 @@ TargetAttributes = { 607FACCF1AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; - DevelopmentTeam = UH5C7ZL9LD; + DevelopmentTeam = N3MR28TKLZ; LastSwiftMigration = 0810; }; 607FACE41AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; - DevelopmentTeam = UH5C7ZL9LD; + DevelopmentTeam = N3MR28TKLZ; LastSwiftMigration = 0810; TestTargetID = 607FACCF1AFB9204008FA782; }; @@ -297,11 +297,11 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-ABVideoRangeSlider_Example/Pods-ABVideoRangeSlider_Example-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/ABVideoRangeSlider/ABVideoRangeSlider.framework", + "${BUILT_PRODUCTS_DIR}/ABVideoRangeSlider-SWIFT-5/ABVideoRangeSlider_SWIFT_5.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ABVideoRangeSlider.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ABVideoRangeSlider_SWIFT_5.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -447,11 +447,11 @@ baseConfigurationReference = 6AA7B8FC97BA2D0E80D18B94 /* Pods-ABVideoRangeSlider_Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = UH5C7ZL9LD; + DEVELOPMENT_TEAM = N3MR28TKLZ; INFOPLIST_FILE = ABVideoRangeSlider/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.ABVideoRangeSlider-Example-SWIFT-5"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; }; @@ -462,11 +462,11 @@ baseConfigurationReference = 3AC92B9C0F50BBD4AB0B6B59 /* Pods-ABVideoRangeSlider_Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = UH5C7ZL9LD; + DEVELOPMENT_TEAM = N3MR28TKLZ; INFOPLIST_FILE = ABVideoRangeSlider/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.ABVideoRangeSlider-Example-SWIFT-5"; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; }; @@ -476,7 +476,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = D42806DB468F56C07D2DB846 /* Pods-ABVideoRangeSlider_Tests.debug.xcconfig */; buildSettings = { - DEVELOPMENT_TEAM = UH5C7ZL9LD; + DEVELOPMENT_TEAM = N3MR28TKLZ; FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", @@ -497,7 +497,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = B211C6C894191DBDEC99740D /* Pods-ABVideoRangeSlider_Tests.release.xcconfig */; buildSettings = { - DEVELOPMENT_TEAM = UH5C7ZL9LD; + DEVELOPMENT_TEAM = N3MR28TKLZ; FRAMEWORK_SEARCH_PATHS = ( "$(SDKROOT)/Developer/Library/Frameworks", "$(inherited)", diff --git a/Example/ABVideoRangeSlider/ViewController.swift b/Example/ABVideoRangeSlider/ViewController.swift index bbd4c5a..349db66 100644 --- a/Example/ABVideoRangeSlider/ViewController.swift +++ b/Example/ABVideoRangeSlider/ViewController.swift @@ -7,7 +7,7 @@ // import UIKit -import ABVideoRangeSlider +import ABVideoRangeSlider_SWIFT_5 import AVKit import AVFoundation diff --git a/Example/Podfile b/Example/Podfile index 9d7753a..b829f89 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,7 +1,7 @@ use_frameworks! target 'ABVideoRangeSlider_Example' do - pod 'ABVideoRangeSlider', :path => '../' + pod 'ABVideoRangeSlider-SWIFT-5', :path => '../' target 'ABVideoRangeSlider_Tests' do inherit! :search_paths diff --git a/Example/Tests/Tests.swift b/Example/Tests/Tests.swift index 5c87877..4be19d6 100644 --- a/Example/Tests/Tests.swift +++ b/Example/Tests/Tests.swift @@ -1,6 +1,6 @@ import UIKit import XCTest -import ABVideoRangeSlider +import ABVideoRangeSlider_SWIFT_5 class Tests: XCTestCase { From 0d0f5d226e876146acfe805685bfc8a53214deac Mon Sep 17 00:00:00 2001 From: Asim Khan Date: Tue, 31 Jan 2023 11:09:59 +0400 Subject: [PATCH 6/6] Updated tags in readme --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f23184c..07eb50c 100644 --- a/README.md +++ b/README.md @@ -158,13 +158,11 @@ videoRangeSlider.updateThumbnails() ## Author [Apps Boulevard](http://www.appsboulevard.com) -* Twitter: [@AppsBoulevard](twitter.com/AppsBoulevard) -* Facebook: [facebook.com/AppsBoulevard](facebook.com/AppsBoulevard) -* Email: hello@appsboulevard.com +* Twitter: [@Asim](twitter.com/i_am_asimkhan) ## License ABVideoRangeSlider is available under the MIT license. See the LICENSE file for more info. -Updated by [Asim Khan](https://github.com/dev-shanghai) +Updated by [Asim Khan](https://github.com/iamasimkhan)