From 92598e17590c52b75d22a44e06392151ca1d56f4 Mon Sep 17 00:00:00 2001 From: Sam Spencer Date: Sun, 9 May 2021 15:33:59 -0500 Subject: [PATCH 1/2] Cocoapods Support --- .DS_Store | Bin 0 -> 6148 bytes FetchImageFirebase.podspec | 23 +++++++++++++++++++++++ Source/ScrollViewPrefetcher.swift | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .DS_Store create mode 100644 FetchImageFirebase.podspec diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 'MIT', :file => 'LICENSE' } + s.author = { 'neons, llc' => 'sam@nenos.one' } + s.source = { :git => 'https://github.com/nenosllc/FetchImage.git', :tag => s.version.to_s } + s.social_media_url = 'https://twitter.com/nenosapps' + + s.ios.deployment_target = '14.0' + s.swift_versions = '5.3' + + s.source_files = 'Source/**/*' + + s.frameworks = 'SwiftUI', 'Foundation' + s.dependency 'Firebase/Storage' + s.dependency 'Nuke' +end diff --git a/Source/ScrollViewPrefetcher.swift b/Source/ScrollViewPrefetcher.swift index c08de07..97fd4cb 100644 --- a/Source/ScrollViewPrefetcher.swift +++ b/Source/ScrollViewPrefetcher.swift @@ -6,7 +6,7 @@ import SwiftUI -public protocol ScrollViewPrefetcherDelegate: class { +public protocol ScrollViewPrefetcherDelegate: AnyObject { /// Returns all valid indices for the collection. func getAllIndicesForPrefetcher(_ prefetcher: ScrollViewPrefetcher) -> Range From 52648811224a362661c79caffdc09fbb132ec99c Mon Sep 17 00:00:00 2001 From: Sam Spencer Date: Sun, 9 May 2021 15:34:17 -0500 Subject: [PATCH 2/2] Update FetchImageFirebase.podspec --- FetchImageFirebase.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FetchImageFirebase.podspec b/FetchImageFirebase.podspec index d40dd31..40eeba1 100644 --- a/FetchImageFirebase.podspec +++ b/FetchImageFirebase.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'FetchImageFirebase' - s.version = '1.7.0' + s.version = '1.7.1' s.summary = 'Download images using Firebase and Nuke, display them in SwiftUI.' s.description = 'FetchImageFirebase makes it easy to download images using Firebase and Nuke, and then display them in SwiftUI apps.'