diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..83a01a5 --- /dev/null +++ b/Package.swift @@ -0,0 +1,19 @@ +// swift-tools-version:5.3 +import PackageDescription + +let package = Package( + name: "UPCarouselFlowLayout", + platforms: [ .iOS(.v8) ], + products: [ + .library( + name: "UPCarouselFlowLayout", targets: ["UPCarouselFlowLayout"]) + ], + dependencies: [ ], + targets: [ + .target( + name: "UPCarouselFlowLayout", + path: "UPCarouselFlowLayout", + exclude: ["Info.plist", "UPCarouselFlowLayout.h"]), + + ] +) diff --git a/UPCarouselFlowLayout.podspec b/UPCarouselFlowLayout.podspec index e883556..7aea36b 100644 --- a/UPCarouselFlowLayout.podspec +++ b/UPCarouselFlowLayout.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "UPCarouselFlowLayout" - s.version = "1.1.2" + s.version = "1.1.3" s.summary = "A fancy carousel flow layout for UICollectionView." s.description = "UPCarouselFlowLayout is a fancy carousel flow layout for UICollectionView. It comes with a paginated effect and it shrinks and makes transparent the side items." @@ -11,7 +11,7 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/ink-spot/UPCarouselFlowLayout.git', :tag => s.version.to_s } s.ios.deployment_target = '8.1' - s.swift_version = '4.2' + s.swift_version = '5' s.source_files = 'UPCarouselFlowLayout/**/*.{h,swift}' diff --git a/UPCarouselFlowLayoutDemo.xcodeproj/project.pbxproj b/UPCarouselFlowLayoutDemo.xcodeproj/project.pbxproj index e096e8d..de11cb7 100644 --- a/UPCarouselFlowLayoutDemo.xcodeproj/project.pbxproj +++ b/UPCarouselFlowLayoutDemo.xcodeproj/project.pbxproj @@ -209,11 +209,11 @@ TargetAttributes = { 01D3876A1D1C4B9D00CE4E1F = { CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1000; + LastSwiftMigration = 1110; }; 841C94FC1DDEE57F00B997F5 = { CreatedOnToolsVersion = 8.1; - LastSwiftMigration = 1000; + LastSwiftMigration = 1110; ProvisioningStyle = Automatic; }; }; @@ -223,6 +223,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, ); @@ -424,7 +425,7 @@ PRODUCT_BUNDLE_IDENTIFIER = UP.UPCarouselFlowLayoutDemo; PRODUCT_NAME = UPCarouselFlowLayoutDemo; SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -439,7 +440,7 @@ PRODUCT_BUNDLE_IDENTIFIER = UP.UPCarouselFlowLayoutDemo; PRODUCT_NAME = UPCarouselFlowLayoutDemo; SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; }; name = Release; }; @@ -463,7 +464,7 @@ SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -489,7 +490,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.2; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = "";