diff --git a/Example/Example_BusinessComponents.xcodeproj/project.pbxproj b/Example/Example_BusinessComponents.xcodeproj/project.pbxproj index e2da8a11..59c9f575 100644 --- a/Example/Example_BusinessComponents.xcodeproj/project.pbxproj +++ b/Example/Example_BusinessComponents.xcodeproj/project.pbxproj @@ -373,7 +373,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -429,7 +429,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; @@ -448,7 +448,7 @@ CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = KTXN9SX9MX; INFOPLIST_FILE = Example_BusinessComponents/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -470,7 +470,7 @@ CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = KTXN9SX9MX; INFOPLIST_FILE = Example_BusinessComponents/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/Example/Podfile b/Example/Podfile index 6f4b663f..21bfba60 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,6 +1,6 @@ source 'https://cdn.cocoapods.org' -platform :ios, '10.0' +platform :ios, '13.0' use_frameworks! target 'Example_BusinessComponents' do @@ -8,4 +8,4 @@ target 'Example_BusinessComponents' do #target 'Example_BusinessComponentsTests' do #inherit! :search_paths #end -end \ No newline at end of file +end diff --git a/MLBusinessComponents.podspec b/MLBusinessComponents.podspec index 0fa0254e..9ae1bb8e 100644 --- a/MLBusinessComponents.podspec +++ b/MLBusinessComponents.podspec @@ -6,8 +6,8 @@ Pod::Spec.new do |s| s.license = { :type => "MIT", :file => "LICENSE" } s.author = "PX Team - Juan Sanzone & Esteban Boffa" s.source = { :git => "https://github.com/mercadolibre/mlbusiness-components-ios", :tag => s.version.to_s } - s.swift_version = '4.2' - s.platform = :ios, '10.0' + s.swift_version = '5.5' + s.platform = :ios, '13.0' s.requires_arc = true s.default_subspec = 'Default' s.static_framework = true diff --git a/Source/Components/Touchpoints/Types/CoverCarousel/Carousel/MLBusinessCoverCarouselView.swift b/Source/Components/Touchpoints/Types/CoverCarousel/Carousel/MLBusinessCoverCarouselView.swift index c0167430..ca1a8440 100644 --- a/Source/Components/Touchpoints/Types/CoverCarousel/Carousel/MLBusinessCoverCarouselView.swift +++ b/Source/Components/Touchpoints/Types/CoverCarousel/Carousel/MLBusinessCoverCarouselView.swift @@ -170,7 +170,7 @@ extension MLBusinessCoverCarouselView: UICollectionViewDelegate { delegate?.coverCarouselView(self, didSelect: items[indexPath.item], at: indexPath.item) } - private func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool { + public func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool { return shouldHighlightItems } }