diff --git a/.gitignore b/.gitignore
index 3e012f2..5c7f68b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -59,3 +59,7 @@ fastlane/screenshots
iOSInjectionProject/
.DS_Store
+
+Constants.m
+Pods
+xcshareddata
diff --git a/MusaicFM.xcodeproj/project.pbxproj b/MusaicFM.xcodeproj/project.pbxproj
index 5c07307..0b5af87 100644
--- a/MusaicFM.xcodeproj/project.pbxproj
+++ b/MusaicFM.xcodeproj/project.pbxproj
@@ -8,6 +8,7 @@
/* Begin PBXBuildFile section */
08413D7CBB6FF19716237235 /* libPods-MusaicFM.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E9B3289E9295C5A6063DB3F2 /* libPods-MusaicFM.a */; };
+ 79F4836421DBBEFB00F24553 /* Factory.m in Sources */ = {isa = PBXBuildFile; fileRef = E1D32D811DF2A86E0013574C /* Factory.m */; };
E12275D31DDE5E8400EDC382 /* Artwork.m in Sources */ = {isa = PBXBuildFile; fileRef = E149F98A1DD8C17100D9E39F /* Artwork.m */; };
E129C5331DD900A300F93950 /* PreferencesViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = E129C5321DD900A300F93950 /* PreferencesViewController.xib */; };
E129C5361DD9020300F93950 /* PreferencesViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = E129C5341DD9020300F93950 /* PreferencesViewController.h */; };
@@ -275,7 +276,6 @@
E1CF25951DD7D8D500441255 /* Frameworks */,
E1CF25961DD7D8D500441255 /* Headers */,
E1CF25971DD7D8D500441255 /* Resources */,
- 41303878F810D7D358513AC9 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@@ -385,28 +385,16 @@
files = (
);
inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-MusaicFM-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;
- };
- 41303878F810D7D358513AC9 /* [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-MusaicFM/Pods-MusaicFM-resources.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;
};
/* End PBXShellScriptBuildPhase section */
@@ -433,6 +421,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 79F4836421DBBEFB00F24553 /* Factory.m in Sources */,
E13191C51DE1DD26005EFA47 /* Parser.m in Sources */,
E1FA397A1DDA3FF300186BE2 /* PreferencesViewController.m in Sources */,
E13191C41DE1DD26005EFA47 /* NSMutableArray+Shuffle.m in Sources */,
diff --git a/MusaicFM.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/MusaicFM.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/MusaicFM.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/MusaicFM/PreferencesViewController.xib b/MusaicFM/PreferencesViewController.xib
index e3e45a7..0eb89a0 100644
--- a/MusaicFM/PreferencesViewController.xib
+++ b/MusaicFM/PreferencesViewController.xib
@@ -1,16 +1,14 @@
-
+
-
-
-
+
+
+
-
-
@@ -29,350 +27,334 @@
-
+
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
-
+
-
+
@@ -383,15 +365,19 @@
+
+
-
-
-
-
-
+
+
+
+
+
+
+
-
+
diff --git a/Podfile b/Podfile
index 8b84863..06766dc 100644
--- a/Podfile
+++ b/Podfile
@@ -2,7 +2,7 @@ inhibit_all_warnings!
platform :osx, '10.11'
def shared_pods
- pod 'SDWebImage', :podspec => 'https://raw.githubusercontent.com/rs/SDWebImage/master/SDWebImage.podspec'
+ pod 'SDWebImage'
end
target "MusaicFM" do
diff --git a/Podfile.lock b/Podfile.lock
index 113bd5e..2fc0175 100644
--- a/Podfile.lock
+++ b/Podfile.lock
@@ -1,18 +1,18 @@
PODS:
- - SDWebImage (4.0.0-beta2):
- - SDWebImage/Core (= 4.0.0-beta2)
- - SDWebImage/Core (4.0.0-beta2)
+ - SDWebImage (4.4.3):
+ - SDWebImage/Core (= 4.4.3)
+ - SDWebImage/Core (4.4.3)
DEPENDENCIES:
- - SDWebImage (from `https://raw.githubusercontent.com/rs/SDWebImage/master/SDWebImage.podspec`)
+ - SDWebImage
-EXTERNAL SOURCES:
- SDWebImage:
- :podspec: https://raw.githubusercontent.com/rs/SDWebImage/master/SDWebImage.podspec
+SPEC REPOS:
+ https://github.com/cocoapods/specs.git:
+ - SDWebImage
SPEC CHECKSUMS:
- SDWebImage: e379f33106cf8d6766f970c0ef1c3fb609c94d78
+ SDWebImage: c5594f1a19c48d526d321e548902b56b479cd508
-PODFILE CHECKSUM: 234dde110c03dfd303fc734b3fce8c151db7b542
+PODFILE CHECKSUM: eb338e2b501f7e78a95070001d7e20ac621af3bb
-COCOAPODS: 1.1.1
+COCOAPODS: 1.5.3
diff --git a/Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h b/Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h
deleted file mode 120000
index 8457498..0000000
--- a/Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/NSData+ImageContentType.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/NSImage+WebCache.h b/Pods/Headers/Private/SDWebImage/NSImage+WebCache.h
deleted file mode 120000
index b7a00e1..0000000
--- a/Pods/Headers/Private/SDWebImage/NSImage+WebCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/NSImage+WebCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/SDImageCache.h b/Pods/Headers/Private/SDWebImage/SDImageCache.h
deleted file mode 120000
index 0040b06..0000000
--- a/Pods/Headers/Private/SDWebImage/SDImageCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDImageCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/SDImageCacheConfig.h b/Pods/Headers/Private/SDWebImage/SDImageCacheConfig.h
deleted file mode 120000
index f0f1f8f..0000000
--- a/Pods/Headers/Private/SDWebImage/SDImageCacheConfig.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDImageCacheConfig.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/SDWebImageCompat.h b/Pods/Headers/Private/SDWebImage/SDWebImageCompat.h
deleted file mode 120000
index 6ca2478..0000000
--- a/Pods/Headers/Private/SDWebImage/SDWebImageCompat.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageCompat.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/SDWebImageDecoder.h b/Pods/Headers/Private/SDWebImage/SDWebImageDecoder.h
deleted file mode 120000
index a2f3a68..0000000
--- a/Pods/Headers/Private/SDWebImage/SDWebImageDecoder.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageDecoder.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/SDWebImageDownloader.h b/Pods/Headers/Private/SDWebImage/SDWebImageDownloader.h
deleted file mode 120000
index 303b03b..0000000
--- a/Pods/Headers/Private/SDWebImage/SDWebImageDownloader.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageDownloader.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/SDWebImageDownloaderOperation.h b/Pods/Headers/Private/SDWebImage/SDWebImageDownloaderOperation.h
deleted file mode 120000
index 99441c4..0000000
--- a/Pods/Headers/Private/SDWebImage/SDWebImageDownloaderOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/SDWebImageManager.h b/Pods/Headers/Private/SDWebImage/SDWebImageManager.h
deleted file mode 120000
index 1b81848..0000000
--- a/Pods/Headers/Private/SDWebImage/SDWebImageManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageManager.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/SDWebImageOperation.h b/Pods/Headers/Private/SDWebImage/SDWebImageOperation.h
deleted file mode 120000
index 20e5b89..0000000
--- a/Pods/Headers/Private/SDWebImage/SDWebImageOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageOperation.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/SDWebImagePrefetcher.h b/Pods/Headers/Private/SDWebImage/SDWebImagePrefetcher.h
deleted file mode 120000
index 50585c6..0000000
--- a/Pods/Headers/Private/SDWebImage/SDWebImagePrefetcher.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/UIButton+WebCache.h b/Pods/Headers/Private/SDWebImage/UIButton+WebCache.h
deleted file mode 120000
index 19d2d8e..0000000
--- a/Pods/Headers/Private/SDWebImage/UIButton+WebCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIButton+WebCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/UIImage+GIF.h b/Pods/Headers/Private/SDWebImage/UIImage+GIF.h
deleted file mode 120000
index 14d5aad..0000000
--- a/Pods/Headers/Private/SDWebImage/UIImage+GIF.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIImage+GIF.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/UIImage+MultiFormat.h b/Pods/Headers/Private/SDWebImage/UIImage+MultiFormat.h
deleted file mode 120000
index 1fb9650..0000000
--- a/Pods/Headers/Private/SDWebImage/UIImage+MultiFormat.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIImage+MultiFormat.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/UIImageView+HighlightedWebCache.h b/Pods/Headers/Private/SDWebImage/UIImageView+HighlightedWebCache.h
deleted file mode 120000
index fd4dea4..0000000
--- a/Pods/Headers/Private/SDWebImage/UIImageView+HighlightedWebCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/UIImageView+WebCache.h b/Pods/Headers/Private/SDWebImage/UIImageView+WebCache.h
deleted file mode 120000
index 0c53a47..0000000
--- a/Pods/Headers/Private/SDWebImage/UIImageView+WebCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIImageView+WebCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/UIView+WebCache.h b/Pods/Headers/Private/SDWebImage/UIView+WebCache.h
deleted file mode 120000
index 641671a..0000000
--- a/Pods/Headers/Private/SDWebImage/UIView+WebCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIView+WebCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Private/SDWebImage/UIView+WebCacheOperation.h b/Pods/Headers/Private/SDWebImage/UIView+WebCacheOperation.h
deleted file mode 120000
index f9890c4..0000000
--- a/Pods/Headers/Private/SDWebImage/UIView+WebCacheOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIView+WebCacheOperation.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/NSData+ImageContentType.h b/Pods/Headers/Public/SDWebImage/NSData+ImageContentType.h
deleted file mode 120000
index 8457498..0000000
--- a/Pods/Headers/Public/SDWebImage/NSData+ImageContentType.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/NSData+ImageContentType.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/NSImage+WebCache.h b/Pods/Headers/Public/SDWebImage/NSImage+WebCache.h
deleted file mode 120000
index b7a00e1..0000000
--- a/Pods/Headers/Public/SDWebImage/NSImage+WebCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/NSImage+WebCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/SDImageCache.h b/Pods/Headers/Public/SDWebImage/SDImageCache.h
deleted file mode 120000
index 0040b06..0000000
--- a/Pods/Headers/Public/SDWebImage/SDImageCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDImageCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/SDImageCacheConfig.h b/Pods/Headers/Public/SDWebImage/SDImageCacheConfig.h
deleted file mode 120000
index f0f1f8f..0000000
--- a/Pods/Headers/Public/SDWebImage/SDImageCacheConfig.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDImageCacheConfig.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/SDWebImageCompat.h b/Pods/Headers/Public/SDWebImage/SDWebImageCompat.h
deleted file mode 120000
index 6ca2478..0000000
--- a/Pods/Headers/Public/SDWebImage/SDWebImageCompat.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageCompat.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/SDWebImageDecoder.h b/Pods/Headers/Public/SDWebImage/SDWebImageDecoder.h
deleted file mode 120000
index a2f3a68..0000000
--- a/Pods/Headers/Public/SDWebImage/SDWebImageDecoder.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageDecoder.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/SDWebImageDownloader.h b/Pods/Headers/Public/SDWebImage/SDWebImageDownloader.h
deleted file mode 120000
index 303b03b..0000000
--- a/Pods/Headers/Public/SDWebImage/SDWebImageDownloader.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageDownloader.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/SDWebImageDownloaderOperation.h b/Pods/Headers/Public/SDWebImage/SDWebImageDownloaderOperation.h
deleted file mode 120000
index 99441c4..0000000
--- a/Pods/Headers/Public/SDWebImage/SDWebImageDownloaderOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/SDWebImageManager.h b/Pods/Headers/Public/SDWebImage/SDWebImageManager.h
deleted file mode 120000
index 1b81848..0000000
--- a/Pods/Headers/Public/SDWebImage/SDWebImageManager.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageManager.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/SDWebImageOperation.h b/Pods/Headers/Public/SDWebImage/SDWebImageOperation.h
deleted file mode 120000
index 20e5b89..0000000
--- a/Pods/Headers/Public/SDWebImage/SDWebImageOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImageOperation.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/SDWebImagePrefetcher.h b/Pods/Headers/Public/SDWebImage/SDWebImagePrefetcher.h
deleted file mode 120000
index 50585c6..0000000
--- a/Pods/Headers/Public/SDWebImage/SDWebImagePrefetcher.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/UIButton+WebCache.h b/Pods/Headers/Public/SDWebImage/UIButton+WebCache.h
deleted file mode 120000
index 19d2d8e..0000000
--- a/Pods/Headers/Public/SDWebImage/UIButton+WebCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIButton+WebCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/UIImage+GIF.h b/Pods/Headers/Public/SDWebImage/UIImage+GIF.h
deleted file mode 120000
index 14d5aad..0000000
--- a/Pods/Headers/Public/SDWebImage/UIImage+GIF.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIImage+GIF.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/UIImage+MultiFormat.h b/Pods/Headers/Public/SDWebImage/UIImage+MultiFormat.h
deleted file mode 120000
index 1fb9650..0000000
--- a/Pods/Headers/Public/SDWebImage/UIImage+MultiFormat.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIImage+MultiFormat.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/UIImageView+HighlightedWebCache.h b/Pods/Headers/Public/SDWebImage/UIImageView+HighlightedWebCache.h
deleted file mode 120000
index fd4dea4..0000000
--- a/Pods/Headers/Public/SDWebImage/UIImageView+HighlightedWebCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/UIImageView+WebCache.h b/Pods/Headers/Public/SDWebImage/UIImageView+WebCache.h
deleted file mode 120000
index 0c53a47..0000000
--- a/Pods/Headers/Public/SDWebImage/UIImageView+WebCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIImageView+WebCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/UIView+WebCache.h b/Pods/Headers/Public/SDWebImage/UIView+WebCache.h
deleted file mode 120000
index 641671a..0000000
--- a/Pods/Headers/Public/SDWebImage/UIView+WebCache.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIView+WebCache.h
\ No newline at end of file
diff --git a/Pods/Headers/Public/SDWebImage/UIView+WebCacheOperation.h b/Pods/Headers/Public/SDWebImage/UIView+WebCacheOperation.h
deleted file mode 120000
index f9890c4..0000000
--- a/Pods/Headers/Public/SDWebImage/UIView+WebCacheOperation.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../SDWebImage/SDWebImage/UIView+WebCacheOperation.h
\ No newline at end of file
diff --git a/Pods/Local Podspecs/SDWebImage.podspec.json b/Pods/Local Podspecs/SDWebImage.podspec.json
deleted file mode 100644
index 94bd6c6..0000000
--- a/Pods/Local Podspecs/SDWebImage.podspec.json
+++ /dev/null
@@ -1,89 +0,0 @@
-{
- "name": "SDWebImage",
- "version": "4.0.0-beta2",
- "platforms": {
- "osx": "10.8",
- "ios": "7.0",
- "tvos": "9.0",
- "watchos": "2.0"
- },
- "license": "MIT",
- "summary": "Asynchronous image downloader with cache support with an UIImageView category.",
- "homepage": "https://github.com/rs/SDWebImage",
- "authors": {
- "Olivier Poitrey": "rs@dailymotion.com"
- },
- "source": {
- "git": "https://github.com/rs/SDWebImage.git",
- "tag": "4.0.0-beta2"
- },
- "description": "This library provides a category for UIImageView with support for remote images coming from the web. It provides an UIImageView category adding web image and cache management to the Cocoa Touch framework, an asynchronous image downloader, an asynchronous memory + disk image caching with automatic cache expiration handling, a guarantee that the same URL won't be downloaded several times, a guarantee that bogus URLs won't be retried again and again, and performances!",
- "requires_arc": true,
- "frameworks": "ImageIO",
- "default_subspecs": "Core",
- "subspecs": [
- {
- "name": "Core",
- "source_files": "SDWebImage/{NS,SD,UI}*.{h,m}",
- "exclude_files": "SDWebImage/UIImage+WebP.{h,m}",
- "tvos": {
- "exclude_files": "SDWebImage/MKAnnotationView+WebCache.*"
- }
- },
- {
- "name": "MapKit",
- "platforms": {
- "osx": "10.8",
- "ios": "7.0",
- "tvos": "9.0"
- },
- "source_files": "SDWebImage/MKAnnotationView+WebCache.*",
- "frameworks": "MapKit",
- "dependencies": {
- "SDWebImage/Core": [
-
- ]
- }
- },
- {
- "name": "GIF",
- "platforms": {
- "ios": "7.0"
- },
- "source_files": "SDWebImage/FLAnimatedImage/*.{h,m}",
- "dependencies": {
- "SDWebImage/Core": [
-
- ],
- "FLAnimatedImage": [
- "~> 1.0"
- ]
- },
- "xcconfig": {
- "USER_HEADER_SEARCH_PATHS": "$(inherited) $(SRCROOT)/FLAnimatedImage/FLAnimatedImage"
- }
- },
- {
- "name": "WebP",
- "source_files": "SDWebImage/UIImage+WebP.{h,m}",
- "xcconfig": {
- "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) SD_WEBP=1",
- "USER_HEADER_SEARCH_PATHS": "$(inherited) $(SRCROOT)/libwebp/src"
- },
- "watchos": {
- "xcconfig": {
- "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) SD_WEBP=1 WEBP_USE_INTRINSICS=1",
- "USER_HEADER_SEARCH_PATHS": "$(inherited) $(SRCROOT)/libwebp/src"
- }
- },
- "dependencies": {
- "SDWebImage/Core": [
-
- ],
- "libwebp": [
-
- ]
- }
- }
- ]
-}
diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock
deleted file mode 100644
index 113bd5e..0000000
--- a/Pods/Manifest.lock
+++ /dev/null
@@ -1,18 +0,0 @@
-PODS:
- - SDWebImage (4.0.0-beta2):
- - SDWebImage/Core (= 4.0.0-beta2)
- - SDWebImage/Core (4.0.0-beta2)
-
-DEPENDENCIES:
- - SDWebImage (from `https://raw.githubusercontent.com/rs/SDWebImage/master/SDWebImage.podspec`)
-
-EXTERNAL SOURCES:
- SDWebImage:
- :podspec: https://raw.githubusercontent.com/rs/SDWebImage/master/SDWebImage.podspec
-
-SPEC CHECKSUMS:
- SDWebImage: e379f33106cf8d6766f970c0ef1c3fb609c94d78
-
-PODFILE CHECKSUM: 234dde110c03dfd303fc734b3fce8c151db7b542
-
-COCOAPODS: 1.1.1
diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index 37b2db2..0000000
--- a/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,620 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 0426455DF0259B4B409B4869B43F8CB0 /* SDWebImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 061BD245946E3501DC9722976B6AD69F /* SDWebImageDownloader.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 0CBDA03CB279E3F1CAE0CCDF1D46E64D /* SDWebImageDownloaderOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 7175586325AADB8BA8C4ECB09907EA10 /* SDWebImageDownloaderOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 1686D7C12EBDACD68EAFD690E008A0A6 /* SDWebImageCompat.h in Headers */ = {isa = PBXBuildFile; fileRef = 800D2AB9BD2022E1D6C504CF6566681F /* SDWebImageCompat.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 1E0D95392497A1DF9B4F8C0A2003E9C1 /* SDWebImageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = AC4FF8277985072AA2414C8092B0E5E8 /* SDWebImageManager.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 22BE108CECB8E6779BDFB489A3788F97 /* NSImage+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 38144E417F1BCD6B1FAEC6B8717E1E23 /* NSImage+WebCache.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 2F39622C415AEE2F04CADEA78D322962 /* UIView+WebCacheOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 9A82F610DA462435F1AF2E40069B468A /* UIView+WebCacheOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 31E14E04DB87C9A7A373DF4032BB0EAD /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = EBB52CF8D4721A70A8DBB80842994D97 /* UIImageView+HighlightedWebCache.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 377A13EA67FF865E26EC2919284C78B0 /* SDImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 0E2890C6456A666BDAAC0FA873AC628D /* SDImageCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 447DF64AB2CFB9E20503ED76A132D891 /* UIImage+GIF.h in Headers */ = {isa = PBXBuildFile; fileRef = 0ACCB8B450CC4B80A63EE725C41C0B29 /* UIImage+GIF.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 4BD71FBE16B2890D2F973C42556A0133 /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FAAAA9369B44B0CACDD1C0E8FCD6F43 /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 4D390EAB0A1C4D1086A425ADFFD0FF3E /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FB42A39D01187191288FD29F051BE0EA /* Cocoa.framework */; };
- 54B9271671DEF7918E2D83CD0267ECCB /* SDImageCacheConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 017851524E3ABDA65B7BF9B37C3D7034 /* SDImageCacheConfig.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 5DEF7A8FE463AC1C5936A99C3A4C101F /* NSImage+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = CC6C5BEF90DB5C23F890DDF3AE04E82D /* NSImage+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 609030D8326F54F97033A58B00F8286F /* SDImageCacheConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = 169F96E9B9B5F19875E606404AF824BE /* SDImageCacheConfig.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 658323F47AF7C50A3ED64A637A37BD71 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FB42A39D01187191288FD29F051BE0EA /* Cocoa.framework */; };
- 6826F8067DAABBABD3E4E3528D94E002 /* UIView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = FC24B0F8787681FFD86A7FF97C481764 /* UIView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 6FCF841C2DB30399B8A0D63ED54F8C21 /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EB32F27B86D70A586BEECE871BBD7775 /* ImageIO.framework */; };
- 70F3C9B3CDF271EB4D82E8028C8A4F1F /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = F922701ABE8790DD84BD643BFA3F9D9E /* UIImageView+WebCache.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 7B60AC3F80E8E07EEEE965A498FFD3B4 /* UIImageView+HighlightedWebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 9F24A6DBFFEDC06E98C0AFD080F1D24D /* UIImageView+HighlightedWebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 8C1DEDC39937C4BF26F583BC0BBDD5E3 /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = 0515B8FFDF02AC747460BF06B7147C92 /* NSData+ImageContentType.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- 97079655E1CBC6AC4269828848158E35 /* Pods-MusaicFM-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3639127FFC0D0496A0B057AA34AA42B1 /* Pods-MusaicFM-dummy.m */; };
- 9A9052DDFEE2ACE0ADD0DE57F789458D /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = 003ABD753CAF59EF000CA534C832D14D /* UIImage+GIF.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- A3B41C659694985024183912037E3B27 /* UIImageView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = F3B0E9B6DF8E857C9B0D2F99FC304F5C /* UIImageView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
- A91B8025D2641CE9CA82E6842084C66B /* SDWebImage-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 63C421E1831E29906D3404BDCA1B2C1B /* SDWebImage-dummy.m */; };
- A97B7AE458768BD86FADD40AB0C2642B /* SDWebImageCompat.m in Sources */ = {isa = PBXBuildFile; fileRef = AC1B1D53218A33DDF03E78CC1D10282D /* SDWebImageCompat.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- B82E6CFE85E1D83241EA42306A6DFF20 /* SDWebImageDecoder.h in Headers */ = {isa = PBXBuildFile; fileRef = B1FC992CB7BD5112195C879B7F23ACC8 /* SDWebImageDecoder.h */; settings = {ATTRIBUTES = (Public, ); }; };
- BD0124B9FC38E9A5EF74B8EA075BE111 /* SDWebImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = D0AAD31650A9E6056BF51E6E7F5DC451 /* SDWebImageDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; };
- C9077AA35192B5AAF37EE957F9C1EF8C /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A96738A124145BD661891641E09D321 /* UIView+WebCacheOperation.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- CA1FD6E07362CAD151E220887BE051F1 /* NSData+ImageContentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 151184230168224C23550D1C654C722F /* NSData+ImageContentType.h */; settings = {ATTRIBUTES = (Public, ); }; };
- CAC007F78614AF46DAF8F4CF5AB55F0A /* UIView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F2BB2A6F6DDDD53BC079622F286FF42 /* UIView+WebCache.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- D9CDE7854A7103D195DD3C20D2E5826F /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 4BE46DB6FE0E8D812F73130BD83794EB /* UIImage+MultiFormat.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- E2AEFB565DAB1EE5075813377836B1AE /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 1278B5233127A1E722D53F10E7FA5EC8 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
- E67103B9723C31C7DD1987B9F6438F16 /* SDWebImageDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A6E5B273CF39F8FC2FD8786F72729B7 /* SDWebImageDecoder.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- E6C432C71B57A8AF5EB2C2A88A8FE301 /* SDWebImagePrefetcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 8FF5AFAC79DED4F0C94D1BB961D2D557 /* SDWebImagePrefetcher.h */; settings = {ATTRIBUTES = (Public, ); }; };
- ED39E2D8733992F63088B73FB636926A /* SDWebImagePrefetcher.m in Sources */ = {isa = PBXBuildFile; fileRef = B1D5D1B92B920495205ECC5F01A79B18 /* SDWebImagePrefetcher.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- ED64569ECE963C4266508747EE89D808 /* UIButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = F84F89DA463D5F013F47620258BECA2C /* UIButton+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
- EE8C76593410CC66109CEDEF7662D27B /* SDImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 33187D162677C128060029C7359C0024 /* SDImageCache.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- F343D0C0D71B702A0A73F533F9B141E1 /* UIButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 123A809310FA5938787013915F3D64B4 /* UIButton+WebCache.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
- F44E241ECB915EC49C42FAFBB83FA3EF /* UIImage+MultiFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = 8B730BABFE2264BB576806D96D5292B1 /* UIImage+MultiFormat.h */; settings = {ATTRIBUTES = (Public, ); }; };
- FD90059E180B4F6EE54E98E912479706 /* SDWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 6B2D7436D47BF86BE7F4C22F258A0154 /* SDWebImageManager.m */; settings = {COMPILER_FLAGS = "-w -Xanalyzer -analyzer-disable-all-checks"; }; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 8258B5AFB2088F3073FB5A21A4731AC1 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 77E48FC34ABFEE68A4781D1A098395F9;
- remoteInfo = SDWebImage;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
- 003ABD753CAF59EF000CA534C832D14D /* UIImage+GIF.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImage+GIF.m"; path = "SDWebImage/UIImage+GIF.m"; sourceTree = ""; };
- 017851524E3ABDA65B7BF9B37C3D7034 /* SDImageCacheConfig.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDImageCacheConfig.m; path = SDWebImage/SDImageCacheConfig.m; sourceTree = ""; };
- 0515B8FFDF02AC747460BF06B7147C92 /* NSData+ImageContentType.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSData+ImageContentType.m"; path = "SDWebImage/NSData+ImageContentType.m"; sourceTree = ""; };
- 061BD245946E3501DC9722976B6AD69F /* SDWebImageDownloader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageDownloader.m; path = SDWebImage/SDWebImageDownloader.m; sourceTree = ""; };
- 0ACCB8B450CC4B80A63EE725C41C0B29 /* UIImage+GIF.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImage+GIF.h"; path = "SDWebImage/UIImage+GIF.h"; sourceTree = ""; };
- 0E2890C6456A666BDAAC0FA873AC628D /* SDImageCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageCache.h; path = SDWebImage/SDImageCache.h; sourceTree = ""; };
- 123A809310FA5938787013915F3D64B4 /* UIButton+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIButton+WebCache.m"; path = "SDWebImage/UIButton+WebCache.m"; sourceTree = ""; };
- 1278B5233127A1E722D53F10E7FA5EC8 /* SDWebImageOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageOperation.h; path = SDWebImage/SDWebImageOperation.h; sourceTree = ""; };
- 151184230168224C23550D1C654C722F /* NSData+ImageContentType.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSData+ImageContentType.h"; path = "SDWebImage/NSData+ImageContentType.h"; sourceTree = ""; };
- 169F96E9B9B5F19875E606404AF824BE /* SDImageCacheConfig.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageCacheConfig.h; path = SDWebImage/SDImageCacheConfig.h; sourceTree = ""; };
- 190DAFCC1CB1AC178C3A28CB90AAB60D /* Pods-MusaicFM.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MusaicFM.debug.xcconfig"; sourceTree = ""; };
- 1F2BB2A6F6DDDD53BC079622F286FF42 /* UIView+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+WebCache.m"; path = "SDWebImage/UIView+WebCache.m"; sourceTree = ""; };
- 33187D162677C128060029C7359C0024 /* SDImageCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDImageCache.m; path = SDWebImage/SDImageCache.m; sourceTree = ""; };
- 3639127FFC0D0496A0B057AA34AA42B1 /* Pods-MusaicFM-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-MusaicFM-dummy.m"; sourceTree = ""; };
- 38144E417F1BCD6B1FAEC6B8717E1E23 /* NSImage+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSImage+WebCache.m"; path = "SDWebImage/NSImage+WebCache.m"; sourceTree = ""; };
- 3ECFC2BF985D146EF54D0ACA067A9F95 /* Pods-MusaicFM-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-MusaicFM-acknowledgements.plist"; sourceTree = ""; };
- 4BE46DB6FE0E8D812F73130BD83794EB /* UIImage+MultiFormat.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImage+MultiFormat.m"; path = "SDWebImage/UIImage+MultiFormat.m"; sourceTree = ""; };
- 5437AD385EDE551AEDFF150954990560 /* SDWebImage.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SDWebImage.xcconfig; sourceTree = ""; };
- 5498F4E300BC16139F8A6203B7E099F1 /* SDWebImage-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SDWebImage-prefix.pch"; sourceTree = ""; };
- 63C421E1831E29906D3404BDCA1B2C1B /* SDWebImage-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SDWebImage-dummy.m"; sourceTree = ""; };
- 6B2D7436D47BF86BE7F4C22F258A0154 /* SDWebImageManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageManager.m; path = SDWebImage/SDWebImageManager.m; sourceTree = ""; };
- 7175586325AADB8BA8C4ECB09907EA10 /* SDWebImageDownloaderOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageDownloaderOperation.m; path = SDWebImage/SDWebImageDownloaderOperation.m; sourceTree = ""; };
- 7C16176A964DEC07B0A3986A4C03D9DD /* libPods-MusaicFM.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-MusaicFM.a"; path = "libPods-MusaicFM.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 800D2AB9BD2022E1D6C504CF6566681F /* SDWebImageCompat.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageCompat.h; path = SDWebImage/SDWebImageCompat.h; sourceTree = ""; };
- 8A6E5B273CF39F8FC2FD8786F72729B7 /* SDWebImageDecoder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageDecoder.m; path = SDWebImage/SDWebImageDecoder.m; sourceTree = ""; };
- 8B730BABFE2264BB576806D96D5292B1 /* UIImage+MultiFormat.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImage+MultiFormat.h"; path = "SDWebImage/UIImage+MultiFormat.h"; sourceTree = ""; };
- 8FF5AFAC79DED4F0C94D1BB961D2D557 /* SDWebImagePrefetcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImagePrefetcher.h; path = SDWebImage/SDWebImagePrefetcher.h; sourceTree = ""; };
- 912BB62168617541632C3A1C002FC0FE /* Pods-MusaicFM-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MusaicFM-resources.sh"; sourceTree = ""; };
- 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
- 94E4B78757FD3CD23D2DB673AEDA7483 /* Pods-MusaicFM-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-MusaicFM-acknowledgements.markdown"; sourceTree = ""; };
- 998F6C860D54649CA2D9416B78C62A62 /* Pods-MusaicFM-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MusaicFM-frameworks.sh"; sourceTree = ""; };
- 9A82F610DA462435F1AF2E40069B468A /* UIView+WebCacheOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+WebCacheOperation.h"; path = "SDWebImage/UIView+WebCacheOperation.h"; sourceTree = ""; };
- 9A96738A124145BD661891641E09D321 /* UIView+WebCacheOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+WebCacheOperation.m"; path = "SDWebImage/UIView+WebCacheOperation.m"; sourceTree = ""; };
- 9F24A6DBFFEDC06E98C0AFD080F1D24D /* UIImageView+HighlightedWebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImageView+HighlightedWebCache.h"; path = "SDWebImage/UIImageView+HighlightedWebCache.h"; sourceTree = ""; };
- 9FAAAA9369B44B0CACDD1C0E8FCD6F43 /* SDWebImageDownloaderOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageDownloaderOperation.h; path = SDWebImage/SDWebImageDownloaderOperation.h; sourceTree = ""; };
- AC1B1D53218A33DDF03E78CC1D10282D /* SDWebImageCompat.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCompat.m; path = SDWebImage/SDWebImageCompat.m; sourceTree = ""; };
- AC4FF8277985072AA2414C8092B0E5E8 /* SDWebImageManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageManager.h; path = SDWebImage/SDWebImageManager.h; sourceTree = ""; };
- B1D5D1B92B920495205ECC5F01A79B18 /* SDWebImagePrefetcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImagePrefetcher.m; path = SDWebImage/SDWebImagePrefetcher.m; sourceTree = ""; };
- B1FC992CB7BD5112195C879B7F23ACC8 /* SDWebImageDecoder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageDecoder.h; path = SDWebImage/SDWebImageDecoder.h; sourceTree = ""; };
- B5FC578B90CBD62A9319F77C1710A0B6 /* Pods-MusaicFM.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MusaicFM.release.xcconfig"; sourceTree = ""; };
- CC6C5BEF90DB5C23F890DDF3AE04E82D /* NSImage+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSImage+WebCache.h"; path = "SDWebImage/NSImage+WebCache.h"; sourceTree = ""; };
- D0AAD31650A9E6056BF51E6E7F5DC451 /* SDWebImageDownloader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageDownloader.h; path = SDWebImage/SDWebImageDownloader.h; sourceTree = ""; };
- EB32F27B86D70A586BEECE871BBD7775 /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/ImageIO.framework; sourceTree = DEVELOPER_DIR; };
- EBB52CF8D4721A70A8DBB80842994D97 /* UIImageView+HighlightedWebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImageView+HighlightedWebCache.m"; path = "SDWebImage/UIImageView+HighlightedWebCache.m"; sourceTree = ""; };
- F20DC81BFDF6704C481709358DE2218E /* libSDWebImage.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libSDWebImage.a; path = libSDWebImage.a; sourceTree = BUILT_PRODUCTS_DIR; };
- F3B0E9B6DF8E857C9B0D2F99FC304F5C /* UIImageView+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImageView+WebCache.h"; path = "SDWebImage/UIImageView+WebCache.h"; sourceTree = ""; };
- F84F89DA463D5F013F47620258BECA2C /* UIButton+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIButton+WebCache.h"; path = "SDWebImage/UIButton+WebCache.h"; sourceTree = ""; };
- F922701ABE8790DD84BD643BFA3F9D9E /* UIImageView+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImageView+WebCache.m"; path = "SDWebImage/UIImageView+WebCache.m"; sourceTree = ""; };
- FB42A39D01187191288FD29F051BE0EA /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; };
- FC24B0F8787681FFD86A7FF97C481764 /* UIView+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+WebCache.h"; path = "SDWebImage/UIView+WebCache.h"; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 0F93A9AF002C81D82F5377E427339FC8 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 658323F47AF7C50A3ED64A637A37BD71 /* Cocoa.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- EF1C3D634E7A25DFA3F060F6F7A77196 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 4D390EAB0A1C4D1086A425ADFFD0FF3E /* Cocoa.framework in Frameworks */,
- 6FCF841C2DB30399B8A0D63ED54F8C21 /* ImageIO.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 0B3A2341D139ED8F608BC1E84218DBDD /* SDWebImage */ = {
- isa = PBXGroup;
- children = (
- D87149291904346236E59ACD631FBD6B /* Core */,
- C07A6F66802BE499B63D9B298F0F3416 /* Support Files */,
- );
- name = SDWebImage;
- path = SDWebImage;
- sourceTree = "";
- };
- 291747E5FD2EC5B8C28C9AE68FBD3BE8 /* OS X */ = {
- isa = PBXGroup;
- children = (
- FB42A39D01187191288FD29F051BE0EA /* Cocoa.framework */,
- EB32F27B86D70A586BEECE871BBD7775 /* ImageIO.framework */,
- );
- name = "OS X";
- sourceTree = "";
- };
- 7DB346D0F39D3F0E887471402A8071AB = {
- isa = PBXGroup;
- children = (
- 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */,
- D648CE86F139C7CCFD55D5B8A03BE74B /* Frameworks */,
- BF4B13718B20D23D5B220FA33C2583D8 /* Pods */,
- A390481D0A0269ED6F4C563ADA5CCEEC /* Products */,
- E36FBC9CA47F21CAA576A4ED305B733D /* Targets Support Files */,
- );
- sourceTree = "";
- };
- A390481D0A0269ED6F4C563ADA5CCEEC /* Products */ = {
- isa = PBXGroup;
- children = (
- 7C16176A964DEC07B0A3986A4C03D9DD /* libPods-MusaicFM.a */,
- F20DC81BFDF6704C481709358DE2218E /* libSDWebImage.a */,
- );
- name = Products;
- sourceTree = "";
- };
- BF4B13718B20D23D5B220FA33C2583D8 /* Pods */ = {
- isa = PBXGroup;
- children = (
- 0B3A2341D139ED8F608BC1E84218DBDD /* SDWebImage */,
- );
- name = Pods;
- sourceTree = "";
- };
- C07A6F66802BE499B63D9B298F0F3416 /* Support Files */ = {
- isa = PBXGroup;
- children = (
- 5437AD385EDE551AEDFF150954990560 /* SDWebImage.xcconfig */,
- 63C421E1831E29906D3404BDCA1B2C1B /* SDWebImage-dummy.m */,
- 5498F4E300BC16139F8A6203B7E099F1 /* SDWebImage-prefix.pch */,
- );
- name = "Support Files";
- path = "../Target Support Files/SDWebImage";
- sourceTree = "";
- };
- D648CE86F139C7CCFD55D5B8A03BE74B /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 291747E5FD2EC5B8C28C9AE68FBD3BE8 /* OS X */,
- );
- name = Frameworks;
- sourceTree = "";
- };
- D87149291904346236E59ACD631FBD6B /* Core */ = {
- isa = PBXGroup;
- children = (
- 151184230168224C23550D1C654C722F /* NSData+ImageContentType.h */,
- 0515B8FFDF02AC747460BF06B7147C92 /* NSData+ImageContentType.m */,
- CC6C5BEF90DB5C23F890DDF3AE04E82D /* NSImage+WebCache.h */,
- 38144E417F1BCD6B1FAEC6B8717E1E23 /* NSImage+WebCache.m */,
- 0E2890C6456A666BDAAC0FA873AC628D /* SDImageCache.h */,
- 33187D162677C128060029C7359C0024 /* SDImageCache.m */,
- 169F96E9B9B5F19875E606404AF824BE /* SDImageCacheConfig.h */,
- 017851524E3ABDA65B7BF9B37C3D7034 /* SDImageCacheConfig.m */,
- 800D2AB9BD2022E1D6C504CF6566681F /* SDWebImageCompat.h */,
- AC1B1D53218A33DDF03E78CC1D10282D /* SDWebImageCompat.m */,
- B1FC992CB7BD5112195C879B7F23ACC8 /* SDWebImageDecoder.h */,
- 8A6E5B273CF39F8FC2FD8786F72729B7 /* SDWebImageDecoder.m */,
- D0AAD31650A9E6056BF51E6E7F5DC451 /* SDWebImageDownloader.h */,
- 061BD245946E3501DC9722976B6AD69F /* SDWebImageDownloader.m */,
- 9FAAAA9369B44B0CACDD1C0E8FCD6F43 /* SDWebImageDownloaderOperation.h */,
- 7175586325AADB8BA8C4ECB09907EA10 /* SDWebImageDownloaderOperation.m */,
- AC4FF8277985072AA2414C8092B0E5E8 /* SDWebImageManager.h */,
- 6B2D7436D47BF86BE7F4C22F258A0154 /* SDWebImageManager.m */,
- 1278B5233127A1E722D53F10E7FA5EC8 /* SDWebImageOperation.h */,
- 8FF5AFAC79DED4F0C94D1BB961D2D557 /* SDWebImagePrefetcher.h */,
- B1D5D1B92B920495205ECC5F01A79B18 /* SDWebImagePrefetcher.m */,
- F84F89DA463D5F013F47620258BECA2C /* UIButton+WebCache.h */,
- 123A809310FA5938787013915F3D64B4 /* UIButton+WebCache.m */,
- 0ACCB8B450CC4B80A63EE725C41C0B29 /* UIImage+GIF.h */,
- 003ABD753CAF59EF000CA534C832D14D /* UIImage+GIF.m */,
- 8B730BABFE2264BB576806D96D5292B1 /* UIImage+MultiFormat.h */,
- 4BE46DB6FE0E8D812F73130BD83794EB /* UIImage+MultiFormat.m */,
- 9F24A6DBFFEDC06E98C0AFD080F1D24D /* UIImageView+HighlightedWebCache.h */,
- EBB52CF8D4721A70A8DBB80842994D97 /* UIImageView+HighlightedWebCache.m */,
- F3B0E9B6DF8E857C9B0D2F99FC304F5C /* UIImageView+WebCache.h */,
- F922701ABE8790DD84BD643BFA3F9D9E /* UIImageView+WebCache.m */,
- FC24B0F8787681FFD86A7FF97C481764 /* UIView+WebCache.h */,
- 1F2BB2A6F6DDDD53BC079622F286FF42 /* UIView+WebCache.m */,
- 9A82F610DA462435F1AF2E40069B468A /* UIView+WebCacheOperation.h */,
- 9A96738A124145BD661891641E09D321 /* UIView+WebCacheOperation.m */,
- );
- name = Core;
- sourceTree = "";
- };
- E36FBC9CA47F21CAA576A4ED305B733D /* Targets Support Files */ = {
- isa = PBXGroup;
- children = (
- F95EAA0AF1541275E28C7F9F749CA3D6 /* Pods-MusaicFM */,
- );
- name = "Targets Support Files";
- sourceTree = "";
- };
- F95EAA0AF1541275E28C7F9F749CA3D6 /* Pods-MusaicFM */ = {
- isa = PBXGroup;
- children = (
- 94E4B78757FD3CD23D2DB673AEDA7483 /* Pods-MusaicFM-acknowledgements.markdown */,
- 3ECFC2BF985D146EF54D0ACA067A9F95 /* Pods-MusaicFM-acknowledgements.plist */,
- 3639127FFC0D0496A0B057AA34AA42B1 /* Pods-MusaicFM-dummy.m */,
- 998F6C860D54649CA2D9416B78C62A62 /* Pods-MusaicFM-frameworks.sh */,
- 912BB62168617541632C3A1C002FC0FE /* Pods-MusaicFM-resources.sh */,
- 190DAFCC1CB1AC178C3A28CB90AAB60D /* Pods-MusaicFM.debug.xcconfig */,
- B5FC578B90CBD62A9319F77C1710A0B6 /* Pods-MusaicFM.release.xcconfig */,
- );
- name = "Pods-MusaicFM";
- path = "Target Support Files/Pods-MusaicFM";
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- 2827A8997C094D771A03AF45B1F43ECC /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- CA1FD6E07362CAD151E220887BE051F1 /* NSData+ImageContentType.h in Headers */,
- 5DEF7A8FE463AC1C5936A99C3A4C101F /* NSImage+WebCache.h in Headers */,
- 377A13EA67FF865E26EC2919284C78B0 /* SDImageCache.h in Headers */,
- 609030D8326F54F97033A58B00F8286F /* SDImageCacheConfig.h in Headers */,
- 1686D7C12EBDACD68EAFD690E008A0A6 /* SDWebImageCompat.h in Headers */,
- B82E6CFE85E1D83241EA42306A6DFF20 /* SDWebImageDecoder.h in Headers */,
- BD0124B9FC38E9A5EF74B8EA075BE111 /* SDWebImageDownloader.h in Headers */,
- 4BD71FBE16B2890D2F973C42556A0133 /* SDWebImageDownloaderOperation.h in Headers */,
- 1E0D95392497A1DF9B4F8C0A2003E9C1 /* SDWebImageManager.h in Headers */,
- E2AEFB565DAB1EE5075813377836B1AE /* SDWebImageOperation.h in Headers */,
- E6C432C71B57A8AF5EB2C2A88A8FE301 /* SDWebImagePrefetcher.h in Headers */,
- ED64569ECE963C4266508747EE89D808 /* UIButton+WebCache.h in Headers */,
- 447DF64AB2CFB9E20503ED76A132D891 /* UIImage+GIF.h in Headers */,
- F44E241ECB915EC49C42FAFBB83FA3EF /* UIImage+MultiFormat.h in Headers */,
- 7B60AC3F80E8E07EEEE965A498FFD3B4 /* UIImageView+HighlightedWebCache.h in Headers */,
- A3B41C659694985024183912037E3B27 /* UIImageView+WebCache.h in Headers */,
- 6826F8067DAABBABD3E4E3528D94E002 /* UIView+WebCache.h in Headers */,
- 2F39622C415AEE2F04CADEA78D322962 /* UIView+WebCacheOperation.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- 3D3E9B759E65A13FFE03AD6D3EFCCC4E /* Pods-MusaicFM */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 16A18B337E24B484DB33A38D884A54F8 /* Build configuration list for PBXNativeTarget "Pods-MusaicFM" */;
- buildPhases = (
- E0521B4C7672E251C04D26AC24AC4DAD /* Sources */,
- 0F93A9AF002C81D82F5377E427339FC8 /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- 8001C314BDE51767BC1BE01EEDCF9725 /* PBXTargetDependency */,
- );
- name = "Pods-MusaicFM";
- productName = "Pods-MusaicFM";
- productReference = 7C16176A964DEC07B0A3986A4C03D9DD /* libPods-MusaicFM.a */;
- productType = "com.apple.product-type.library.static";
- };
- 77E48FC34ABFEE68A4781D1A098395F9 /* SDWebImage */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = C5EA7DF74D5340BCD20AC19058509EF5 /* Build configuration list for PBXNativeTarget "SDWebImage" */;
- buildPhases = (
- 9456A82806F9F28CEA3E3DBA0891AA2A /* Sources */,
- EF1C3D634E7A25DFA3F060F6F7A77196 /* Frameworks */,
- 2827A8997C094D771A03AF45B1F43ECC /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = SDWebImage;
- productName = SDWebImage;
- productReference = F20DC81BFDF6704C481709358DE2218E /* libSDWebImage.a */;
- productType = "com.apple.product-type.library.static";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0730;
- LastUpgradeCheck = 0700;
- };
- buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
- productRefGroup = A390481D0A0269ED6F4C563ADA5CCEEC /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 3D3E9B759E65A13FFE03AD6D3EFCCC4E /* Pods-MusaicFM */,
- 77E48FC34ABFEE68A4781D1A098395F9 /* SDWebImage */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
- 9456A82806F9F28CEA3E3DBA0891AA2A /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 8C1DEDC39937C4BF26F583BC0BBDD5E3 /* NSData+ImageContentType.m in Sources */,
- 22BE108CECB8E6779BDFB489A3788F97 /* NSImage+WebCache.m in Sources */,
- EE8C76593410CC66109CEDEF7662D27B /* SDImageCache.m in Sources */,
- 54B9271671DEF7918E2D83CD0267ECCB /* SDImageCacheConfig.m in Sources */,
- A91B8025D2641CE9CA82E6842084C66B /* SDWebImage-dummy.m in Sources */,
- A97B7AE458768BD86FADD40AB0C2642B /* SDWebImageCompat.m in Sources */,
- E67103B9723C31C7DD1987B9F6438F16 /* SDWebImageDecoder.m in Sources */,
- 0426455DF0259B4B409B4869B43F8CB0 /* SDWebImageDownloader.m in Sources */,
- 0CBDA03CB279E3F1CAE0CCDF1D46E64D /* SDWebImageDownloaderOperation.m in Sources */,
- FD90059E180B4F6EE54E98E912479706 /* SDWebImageManager.m in Sources */,
- ED39E2D8733992F63088B73FB636926A /* SDWebImagePrefetcher.m in Sources */,
- F343D0C0D71B702A0A73F533F9B141E1 /* UIButton+WebCache.m in Sources */,
- 9A9052DDFEE2ACE0ADD0DE57F789458D /* UIImage+GIF.m in Sources */,
- D9CDE7854A7103D195DD3C20D2E5826F /* UIImage+MultiFormat.m in Sources */,
- 31E14E04DB87C9A7A373DF4032BB0EAD /* UIImageView+HighlightedWebCache.m in Sources */,
- 70F3C9B3CDF271EB4D82E8028C8A4F1F /* UIImageView+WebCache.m in Sources */,
- CAC007F78614AF46DAF8F4CF5AB55F0A /* UIView+WebCache.m in Sources */,
- C9077AA35192B5AAF37EE957F9C1EF8C /* UIView+WebCacheOperation.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- E0521B4C7672E251C04D26AC24AC4DAD /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 97079655E1CBC6AC4269828848158E35 /* Pods-MusaicFM-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 8001C314BDE51767BC1BE01EEDCF9725 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = SDWebImage;
- target = 77E48FC34ABFEE68A4781D1A098395F9 /* SDWebImage */;
- targetProxy = 8258B5AFB2088F3073FB5A21A4731AC1 /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- 3F70BF0EB3CC4C661F927A384C4D2B4E /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = B5FC578B90CBD62A9319F77C1710A0B6 /* Pods-MusaicFM.release.xcconfig */;
- buildSettings = {
- CODE_SIGN_IDENTITY = "-";
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- GCC_NO_COMMON_BLOCKS = YES;
- MACH_O_TYPE = staticlib;
- MACOSX_DEPLOYMENT_TARGET = 10.11;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- 412CDBB701FFB92F6A3972D17BAAE783 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 190DAFCC1CB1AC178C3A28CB90AAB60D /* Pods-MusaicFM.debug.xcconfig */;
- buildSettings = {
- CODE_SIGN_IDENTITY = "-";
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- GCC_NO_COMMON_BLOCKS = YES;
- MACH_O_TYPE = staticlib;
- MACOSX_DEPLOYMENT_TARGET = 10.11;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = macosx;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 5D622BA00757EC20ADAD24C580904C04 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CODE_SIGNING_REQUIRED = NO;
- COPY_PHASE_STRIP = YES;
- ENABLE_NS_ASSERTIONS = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "POD_CONFIGURATION_RELEASE=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.11;
- PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 8F524A9BC6570E73A82133D88F464E10 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 5437AD385EDE551AEDFF150954990560 /* SDWebImage.xcconfig */;
- buildSettings = {
- CODE_SIGN_IDENTITY = "-";
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/SDWebImage/SDWebImage-prefix.pch";
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = macosx;
- };
- name = Debug;
- };
- A7AB5811358043A26CC8F077F8E8BF6F /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 5437AD385EDE551AEDFF150954990560 /* SDWebImage.xcconfig */;
- buildSettings = {
- CODE_SIGN_IDENTITY = "-";
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- EXECUTABLE_PREFIX = lib;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/SDWebImage/SDWebImage-prefix.pch";
- MACOSX_DEPLOYMENT_TARGET = 10.8;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = macosx;
- };
- name = Release;
- };
- AB74B5E09B30AE94F1D9671501EA01E8 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CODE_SIGNING_REQUIRED = NO;
- COPY_PHASE_STRIP = NO;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "POD_CONFIGURATION_DEBUG=1",
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.11;
- ONLY_ACTIVE_ARCH = YES;
- PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- };
- name = Debug;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 16A18B337E24B484DB33A38D884A54F8 /* Build configuration list for PBXNativeTarget "Pods-MusaicFM" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 412CDBB701FFB92F6A3972D17BAAE783 /* Debug */,
- 3F70BF0EB3CC4C661F927A384C4D2B4E /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- AB74B5E09B30AE94F1D9671501EA01E8 /* Debug */,
- 5D622BA00757EC20ADAD24C580904C04 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- C5EA7DF74D5340BCD20AC19058509EF5 /* Build configuration list for PBXNativeTarget "SDWebImage" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 8F524A9BC6570E73A82133D88F464E10 /* Debug */,
- A7AB5811358043A26CC8F077F8E8BF6F /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/Pods/SDWebImage/LICENSE b/Pods/SDWebImage/LICENSE
deleted file mode 100644
index 810cf88..0000000
--- a/Pods/SDWebImage/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright (c) 2016 Olivier Poitrey rs@dailymotion.com
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is furnished
-to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
diff --git a/Pods/SDWebImage/README.md b/Pods/SDWebImage/README.md
deleted file mode 100644
index 8ba7619..0000000
--- a/Pods/SDWebImage/README.md
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
-[![Build Status](http://img.shields.io/travis/rs/SDWebImage/master.svg?style=flat)](https://travis-ci.org/rs/SDWebImage)
-[![Pod Version](http://img.shields.io/cocoapods/v/SDWebImage.svg?style=flat)](http://cocoadocs.org/docsets/SDWebImage/)
-[![Pod Platform](http://img.shields.io/cocoapods/p/SDWebImage.svg?style=flat)](http://cocoadocs.org/docsets/SDWebImage/)
-[![Pod License](http://img.shields.io/cocoapods/l/SDWebImage.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html)
-[![Dependency Status](https://www.versioneye.com/objective-c/sdwebimage/badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage)
-[![Reference Status](https://www.versioneye.com/objective-c/sdwebimage/reference_badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage/references)
-[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/rs/SDWebImage)
-[![codecov](https://codecov.io/gh/rs/SDWebImage/branch/master/graph/badge.svg)](https://codecov.io/gh/rs/SDWebImage)
-
-This library provides an async image downloader with cache support. For convenience, we added categories for UI elements like `UIImageView`, `UIButton`, `MKAnnotationView`.
-
-## Features
-
-- [x] Categories for `UIImageView`, `UIButton`, `MKAnnotationView` adding web image and cache management
-- [x] An asynchronous image downloader
-- [x] An asynchronous memory + disk image caching with automatic cache expiration handling
-- [x] A background image decompression
-- [x] A guarantee that the same URL won't be downloaded several times
-- [x] A guarantee that bogus URLs won't be retried again and again
-- [x] A guarantee that main thread will never be blocked
-- [x] Performances!
-- [x] Use GCD and ARC
-
-## Supported Image Formats
-
-- Image formats supported by UIImage (JPEG, PNG, ...), including GIF
-- WebP format, including animated WebP (use the `WebP` subspec)
-
-## Requirements
-
-- iOS 7.0 or later
-- tvOS 9.0 or later
-- watchOS 2.0 or later
-- OS X 10.8 or later
-- Xcode 7.3 or later
-
-#### Backwards compatibility
-
-- For iOS 5 and 6, use [any 3.x version up to 3.7.6](https://github.com/rs/SDWebImage/tree/3.7.6)
-- For iOS < 5.0, please use the last [2.0 version](https://github.com/rs/SDWebImage/tree/2.0-compat).
-
-## Getting Started
-
-- Read this Readme doc
-- Read the [How to use section](https://github.com/rs/SDWebImage#how-to-use)
-- Read the [documentation @ CocoaDocs](http://cocoadocs.org/docsets/SDWebImage/)
-- Read [How is SDWebImage better than X?](https://github.com/rs/SDWebImage/wiki/How-is-SDWebImage-better-than-X%3F)
-- Try the example by downloading the project from Github or even easier using CocoaPods try `pod try SDWebImage`
-- Get to the [installation steps](https://github.com/rs/SDWebImage#installation)
-- Read the [SDWebImage 4.0 Migration Guide](https://raw.github.com/rs/SDWebImage/master/Docs/SDWebImage-4.0-Migration-guide.md) to get an idea of the changes from 3.x to 4.x
-
-## Who Uses It
-- Find out [who uses SDWebImage](https://github.com/rs/SDWebImage/wiki/Who-Uses-SDWebImage) and add your app to the list.
-
-## Communication
-
-- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/sdwebimage). (Tag 'sdwebimage')
-- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/sdwebimage).
-- If you **found a bug**, open an issue.
-- If you **have a feature request**, open an issue.
-- If you **want to contribute**, submit a pull request.
-
-## Installation
-
-## How To Use
-
-```objective-c
-Objective-C:
-
-#import
-...
-[imageView sd_setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"]
- placeholderImage:[UIImage imageNamed:@"placeholder.png"]];
-```
-
-```swift
-Swift:
-
-imageView.sd_setImageWithURL(NSURL(string: "http://www.domain.com/path/to/image.jpg"), placeholderImage:UIImage(imageNamed:"placeholder.png"))
-```
-
-- For details about how to use the library and clear examples, see [The detailed How to use](https://raw.github.com/rs/SDWebImage/master/Docs/HowToUse.md)
-
-## Animated Images (GIF) support
-
-- Starting with the 4.0 version, we relly on [FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage) to take care of our animated images.
-- To use it, simply make sure you us `FLAnimatedImageView` instead of `UIImageView`.
-- **Note**: there is a backwards compatible feature, so if you are still trying to load a GIF into a `UIImageView`, it will only show the 1st frame as a static image.
-- **Important**: FLAnimatedImage only works on the iOS platform, so for all the other platforms (OS X, tvOS, watchOS) we will fallback to the backwards compatibility feature described above
-
-Common Problems
----------------
-
-### Using dynamic image size with UITableViewCell
-
-UITableView determines the size of the image by the first image set for a cell. If your remote images
-don't have the same size as your placeholder image, you may experience strange anamorphic scaling issue.
-The following article gives a way to workaround this issue:
-
-[http://www.wrichards.com/blog/2011/11/sdwebimage-fixed-width-cell-images/](http://www.wrichards.com/blog/2011/11/sdwebimage-fixed-width-cell-images/)
-
-
-### Handle image refresh
-
-SDWebImage does very aggressive caching by default. It ignores all kind of caching control header returned by the HTTP server and cache the returned images with no time restriction. It implies your images URLs are static URLs pointing to images that never change. If the pointed image happen to change, some parts of the URL should change accordingly.
-
-If you don't control the image server you're using, you may not be able to change the URL when its content is updated. This is the case for Facebook avatar URLs for instance. In such case, you may use the `SDWebImageRefreshCached` flag. This will slightly degrade the performance but will respect the HTTP caching control headers:
-
-``` objective-c
-[imageView sd_setImageWithURL:[NSURL URLWithString:@"https://graph.facebook.com/olivier.poitrey/picture"]
- placeholderImage:[UIImage imageNamed:@"avatar-placeholder.png"]
- options:SDWebImageRefreshCached];
-```
-
-### Add a progress indicator
-
-See this category: https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebImage
-
-Installation
-------------
-
-There are three ways to use SDWebImage in your project:
-- using CocoaPods
-- using Carthage
-- by cloning the project into your repository
-
-### Installation with CocoaPods
-
-[CocoaPods](http://cocoapods.org/) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the [Get Started](http://cocoapods.org/#get_started) section for more details.
-
-#### Podfile
-```
-platform :ios, '7.0'
-pod 'SDWebImage', '~>3.8'
-```
-
-If you are using Swift, be sure to add `use_frameworks!` and set your target to iOS 8+:
-```
-platform :ios, '8.0'
-use_frameworks!
-```
-
-#### Subspecs
-
-There are 3 subspecs available now: `Core`, `MapKit` and `WebP` (this means you can install only some of the SDWebImage modules. By default, you get just `Core`, so if you need `WebP`, you need to specify it).
-
-Podfile example:
-```
-pod 'SDWebImage/WebP'
-```
-
-### Installation with Carthage (iOS 8+)
-
-[Carthage](https://github.com/Carthage/Carthage) is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and is less invasive than CocoaPods.
-
-To install with carthage, follow the instruction on [Carthage](https://github.com/Carthage/Carthage)
-
-#### Cartfile
-```
-github "rs/SDWebImage"
-```
-
-### Installation by cloning the repository
-- see [Manual install](https://raw.github.com/rs/SDWebImage/master/Docs/ManualInstallation.md)
-
-### Import headers in your source files
-
-In the source files where you need to use the library, import the header file:
-
-```objective-c
-#import
-```
-
-### Build Project
-
-At this point your workspace should build without error. If you are having problem, post to the Issue and the
-community can help you solve it.
-
-## Author
-- [Olivier Poitrey](https://github.com/rs)
-
-## Collaborators
-- [Konstantinos K.](https://github.com/mythodeia)
-- [Bogdan Poplauschi](https://github.com/bpoplauschi)
-
-## Licenses
-
-All source code is licensed under the [MIT License](https://raw.github.com/rs/SDWebImage/master/LICENSE).
-
-## Architecture
-
-
-
-
-
-
-
-
diff --git a/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h b/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h
deleted file mode 100644
index b23b0bd..0000000
--- a/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- * (c) Fabrice Aneche
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import
-#import "SDWebImageCompat.h"
-
-typedef NS_ENUM(NSInteger, SDImageFormat) {
- SDImageFormatUndefined = -1,
- SDImageFormatJPEG = 0,
- SDImageFormatPNG,
- SDImageFormatGIF,
- SDImageFormatTIFF,
- SDImageFormatWebP
-};
-
-@interface NSData (ImageContentType)
-
-/**
- * Return image format
- *
- * @param data the input image data
- *
- * @return the image format as `SDImageFormat` (enum)
- */
-+ (SDImageFormat)sd_imageFormatForImageData:(nullable NSData *)data;
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m b/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m
deleted file mode 100644
index 7364715..0000000
--- a/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- * (c) Fabrice Aneche
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "NSData+ImageContentType.h"
-
-
-@implementation NSData (ImageContentType)
-
-+ (SDImageFormat)sd_imageFormatForImageData:(nullable NSData *)data {
- if (!data) {
- return SDImageFormatUndefined;
- }
-
- uint8_t c;
- [data getBytes:&c length:1];
- switch (c) {
- case 0xFF:
- return SDImageFormatJPEG;
- case 0x89:
- return SDImageFormatPNG;
- case 0x47:
- return SDImageFormatGIF;
- case 0x49:
- case 0x4D:
- return SDImageFormatTIFF;
- case 0x52:
- // R as RIFF for WEBP
- if (data.length < 12) {
- return SDImageFormatUndefined;
- }
-
- NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(0, 12)] encoding:NSASCIIStringEncoding];
- if ([testString hasPrefix:@"RIFF"] && [testString hasSuffix:@"WEBP"]) {
- return SDImageFormatWebP;
- }
- }
- return SDImageFormatUndefined;
-}
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/NSImage+WebCache.h b/Pods/SDWebImage/SDWebImage/NSImage+WebCache.h
deleted file mode 100644
index 7515d40..0000000
--- a/Pods/SDWebImage/SDWebImage/NSImage+WebCache.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageCompat.h"
-
-#if SD_MAC
-
-#import
-
-@interface NSImage (WebCache)
-
-- (CGImageRef)CGImage;
-- (NSArray *)images;
-- (BOOL)isGIF;
-
-@end
-
-#endif
diff --git a/Pods/SDWebImage/SDWebImage/NSImage+WebCache.m b/Pods/SDWebImage/SDWebImage/NSImage+WebCache.m
deleted file mode 100644
index 518b498..0000000
--- a/Pods/SDWebImage/SDWebImage/NSImage+WebCache.m
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "NSImage+WebCache.h"
-
-#if SD_MAC
-
-@implementation NSImage (WebCache)
-
-- (CGImageRef)CGImage {
- NSRect imageRect = NSMakeRect(0, 0, self.size.width, self.size.height);
- CGImageRef cgImage = [self CGImageForProposedRect:&imageRect context:NULL hints:nil];
- return cgImage;
-}
-
-- (NSArray *)images {
- return nil;
-}
-
-- (BOOL)isGIF {
- return NO;
-}
-
-@end
-
-#endif
-
diff --git a/Pods/SDWebImage/SDWebImage/SDImageCache.h b/Pods/SDWebImage/SDWebImage/SDImageCache.h
deleted file mode 100644
index 9ae2eb4..0000000
--- a/Pods/SDWebImage/SDWebImage/SDImageCache.h
+++ /dev/null
@@ -1,267 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import
-#import "SDWebImageCompat.h"
-
-@class SDImageCacheConfig;
-
-typedef NS_ENUM(NSInteger, SDImageCacheType) {
- /**
- * The image wasn't available the SDWebImage caches, but was downloaded from the web.
- */
- SDImageCacheTypeNone,
- /**
- * The image was obtained from the disk cache.
- */
- SDImageCacheTypeDisk,
- /**
- * The image was obtained from the memory cache.
- */
- SDImageCacheTypeMemory
-};
-
-typedef void(^SDCacheQueryCompletedBlock)(UIImage * _Nullable image, NSData * _Nullable data, SDImageCacheType cacheType);
-
-typedef void(^SDWebImageCheckCacheCompletionBlock)(BOOL isInCache);
-
-typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger totalSize);
-
-
-/**
- * SDImageCache maintains a memory cache and an optional disk cache. Disk cache write operations are performed
- * asynchronous so it doesn’t add unnecessary latency to the UI.
- */
-@interface SDImageCache : NSObject
-
-#pragma mark - Properties
-
-/**
- * Cache Config object - storing all kind of settings
- */
-@property (nonatomic, nonnull, readonly) SDImageCacheConfig *config;
-
-/**
- * The maximum "total cost" of the in-memory image cache. The cost function is the number of pixels held in memory.
- */
-@property (assign, nonatomic) NSUInteger maxMemoryCost;
-
-/**
- * The maximum number of objects the cache should hold.
- */
-@property (assign, nonatomic) NSUInteger maxMemoryCountLimit;
-
-#pragma mark - Singleton and initialization
-
-/**
- * Returns global shared cache instance
- *
- * @return SDImageCache global instance
- */
-+ (nonnull instancetype)sharedImageCache;
-
-/**
- * Init a new cache store with a specific namespace
- *
- * @param ns The namespace to use for this cache store
- */
-- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns;
-
-/**
- * Init a new cache store with a specific namespace and directory
- *
- * @param ns The namespace to use for this cache store
- * @param directory Directory to cache disk images in
- */
-- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns
- diskCacheDirectory:(nonnull NSString *)directory NS_DESIGNATED_INITIALIZER;
-
-#pragma mark - Cache paths
-
-- (nullable NSString *)makeDiskCachePath:(nonnull NSString*)fullNamespace;
-
-/**
- * Add a read-only cache path to search for images pre-cached by SDImageCache
- * Useful if you want to bundle pre-loaded images with your app
- *
- * @param path The path to use for this read-only cache path
- */
-- (void)addReadOnlyCachePath:(nonnull NSString *)path;
-
-#pragma mark - Store Ops
-
-/**
- * Asynchronously store an image into memory and disk cache at the given key.
- *
- * @param image The image to store
- * @param key The unique image cache key, usually it's image absolute URL
- * @param completionBlock A block executed after the operation is finished
- */
-- (void)storeImage:(nullable UIImage *)image
- forKey:(nullable NSString *)key
- completion:(nullable SDWebImageNoParamsBlock)completionBlock;
-
-/**
- * Asynchronously store an image into memory and disk cache at the given key.
- *
- * @param image The image to store
- * @param key The unique image cache key, usually it's image absolute URL
- * @param toDisk Store the image to disk cache if YES
- * @param completionBlock A block executed after the operation is finished
- */
-- (void)storeImage:(nullable UIImage *)image
- forKey:(nullable NSString *)key
- toDisk:(BOOL)toDisk
- completion:(nullable SDWebImageNoParamsBlock)completionBlock;
-
-/**
- * Asynchronously store an image into memory and disk cache at the given key.
- *
- * @param image The image to store
- * @param imageData The image data as returned by the server, this representation will be used for disk storage
- * instead of converting the given image object into a storable/compressed image format in order
- * to save quality and CPU
- * @param key The unique image cache key, usually it's image absolute URL
- * @param toDisk Store the image to disk cache if YES
- * @param completionBlock A block executed after the operation is finished
- */
-- (void)storeImage:(nullable UIImage *)image
- imageData:(nullable NSData *)imageData
- forKey:(nullable NSString *)key
- toDisk:(BOOL)toDisk
- completion:(nullable SDWebImageNoParamsBlock)completionBlock;
-
-/**
- * Synchronously store image NSData into disk cache at the given key.
- *
- * @warning This method is synchronous, make sure to call it from the ioQueue
- *
- * @param imageData The image data to store
- * @param key The unique image cache key, usually it's image absolute URL
- */
-- (void)storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key;
-
-#pragma mark - Query and Retrieve Ops
-
-/**
- * Async check if image exists in disk cache already (does not load the image)
- *
- * @param key the key describing the url
- * @param completionBlock the block to be executed when the check is done.
- * @note the completion block will be always executed on the main queue
- */
-- (void)diskImageExistsWithKey:(nullable NSString *)key completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock;
-
-/**
- * Operation that queries the cache asynchronously and call the completion when done.
- *
- * @param key The unique key used to store the wanted image
- * @param doneBlock The completion block. Will not get called if the operation is cancelled
- *
- * @return a NSOperation instance containing the cache op
- */
-- (nullable NSOperation *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDCacheQueryCompletedBlock)doneBlock;
-
-/**
- * Query the memory cache synchronously.
- *
- * @param key The unique key used to store the image
- */
-- (nullable UIImage *)imageFromMemoryCacheForKey:(nullable NSString *)key;
-
-/**
- * Query the disk cache synchronously.
- *
- * @param key The unique key used to store the image
- */
-- (nullable UIImage *)imageFromDiskCacheForKey:(nullable NSString *)key;
-
-/**
- * Query the cache (memory and or disk) synchronously after checking the memory cache.
- *
- * @param key The unique key used to store the image
- */
-- (nullable UIImage *)imageFromCacheForKey:(nullable NSString *)key;
-
-#pragma mark - Remove Ops
-
-/**
- * Remove the image from memory and disk cache asynchronously
- *
- * @param key The unique image cache key
- * @param completion A block that should be executed after the image has been removed (optional)
- */
-- (void)removeImageForKey:(nullable NSString *)key withCompletion:(nullable SDWebImageNoParamsBlock)completion;
-
-/**
- * Remove the image from memory and optionally disk cache asynchronously
- *
- * @param key The unique image cache key
- * @param fromDisk Also remove cache entry from disk if YES
- * @param completion A block that should be executed after the image has been removed (optional)
- */
-- (void)removeImageForKey:(nullable NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(nullable SDWebImageNoParamsBlock)completion;
-
-#pragma mark - Cache clean Ops
-
-/**
- * Clear all memory cached images
- */
-- (void)clearMemory;
-
-/**
- * Async clear all disk cached images. Non-blocking method - returns immediately.
- * @param completion A block that should be executed after cache expiration completes (optional)
- */
-- (void)clearDiskOnCompletion:(nullable SDWebImageNoParamsBlock)completion;
-
-/**
- * Async remove all expired cached image from disk. Non-blocking method - returns immediately.
- * @param completionBlock A block that should be executed after cache expiration completes (optional)
- */
-- (void)deleteOldFilesWithCompletionBlock:(nullable SDWebImageNoParamsBlock)completionBlock;
-
-#pragma mark - Cache Info
-
-/**
- * Get the size used by the disk cache
- */
-- (NSUInteger)getSize;
-
-/**
- * Get the number of images in the disk cache
- */
-- (NSUInteger)getDiskCount;
-
-/**
- * Asynchronously calculate the disk cache's size.
- */
-- (void)calculateSizeWithCompletionBlock:(nullable SDWebImageCalculateSizeBlock)completionBlock;
-
-#pragma mark - Cache Paths
-
-/**
- * Get the cache path for a certain key (needs the cache path root folder)
- *
- * @param key the key (can be obtained from url using cacheKeyForURL)
- * @param path the cache path root folder
- *
- * @return the cache path
- */
-- (nullable NSString *)cachePathForKey:(nullable NSString *)key inPath:(nonnull NSString *)path;
-
-/**
- * Get the default cache path for a certain key
- *
- * @param key the key (can be obtained from url using cacheKeyForURL)
- *
- * @return the default cache path
- */
-- (nullable NSString *)defaultCachePathForKey:(nullable NSString *)key;
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDImageCache.m b/Pods/SDWebImage/SDWebImage/SDImageCache.m
deleted file mode 100644
index acd5ee6..0000000
--- a/Pods/SDWebImage/SDWebImage/SDImageCache.m
+++ /dev/null
@@ -1,639 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDImageCache.h"
-#import "SDWebImageDecoder.h"
-#import "UIImage+MultiFormat.h"
-#import
-#import "UIImage+GIF.h"
-#import "NSData+ImageContentType.h"
-#import "NSImage+WebCache.h"
-#import "SDImageCacheConfig.h"
-
-// See https://github.com/rs/SDWebImage/pull/1141 for discussion
-@interface AutoPurgeCache : NSCache
-@end
-
-@implementation AutoPurgeCache
-
-- (nonnull instancetype)init {
- self = [super init];
- if (self) {
-#if SD_UIKIT
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(removeAllObjects) name:UIApplicationDidReceiveMemoryWarningNotification object:nil];
-#endif
- }
- return self;
-}
-
-- (void)dealloc {
-#if SD_UIKIT
- [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidReceiveMemoryWarningNotification object:nil];
-#endif
-}
-
-@end
-
-
-FOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) {
-#if SD_MAC
- return image.size.height * image.size.width;
-#elif SD_UIKIT || SD_WATCH
- return image.size.height * image.size.width * image.scale * image.scale;
-#endif
-}
-
-@interface SDImageCache ()
-
-#pragma mark - Properties
-@property (strong, nonatomic, nonnull) NSCache *memCache;
-@property (strong, nonatomic, nonnull) NSString *diskCachePath;
-@property (strong, nonatomic, nullable) NSMutableArray *customPaths;
-@property (SDDispatchQueueSetterSementics, nonatomic, nullable) dispatch_queue_t ioQueue;
-
-@end
-
-
-@implementation SDImageCache {
- NSFileManager *_fileManager;
-}
-
-#pragma mark - Singleton, init, dealloc
-
-+ (nonnull instancetype)sharedImageCache {
- static dispatch_once_t once;
- static id instance;
- dispatch_once(&once, ^{
- instance = [self new];
- });
- return instance;
-}
-
-- (instancetype)init {
- return [self initWithNamespace:@"default"];
-}
-
-- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns {
- NSString *path = [self makeDiskCachePath:ns];
- return [self initWithNamespace:ns diskCacheDirectory:path];
-}
-
-- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns
- diskCacheDirectory:(nonnull NSString *)directory {
- if ((self = [super init])) {
- NSString *fullNamespace = [@"com.hackemist.SDWebImageCache." stringByAppendingString:ns];
-
- // Create IO serial queue
- _ioQueue = dispatch_queue_create("com.hackemist.SDWebImageCache", DISPATCH_QUEUE_SERIAL);
-
- _config = [[SDImageCacheConfig alloc] init];
-
- // Init the memory cache
- _memCache = [[AutoPurgeCache alloc] init];
- _memCache.name = fullNamespace;
-
- // Init the disk cache
- if (directory != nil) {
- _diskCachePath = [directory stringByAppendingPathComponent:fullNamespace];
- } else {
- NSString *path = [self makeDiskCachePath:ns];
- _diskCachePath = path;
- }
-
- dispatch_sync(_ioQueue, ^{
- _fileManager = [NSFileManager new];
- });
-
-#if SD_UIKIT
- // Subscribe to app events
- [[NSNotificationCenter defaultCenter] addObserver:self
- selector:@selector(clearMemory)
- name:UIApplicationDidReceiveMemoryWarningNotification
- object:nil];
-
- [[NSNotificationCenter defaultCenter] addObserver:self
- selector:@selector(deleteOldFiles)
- name:UIApplicationWillTerminateNotification
- object:nil];
-
- [[NSNotificationCenter defaultCenter] addObserver:self
- selector:@selector(backgroundDeleteOldFiles)
- name:UIApplicationDidEnterBackgroundNotification
- object:nil];
-#endif
- }
-
- return self;
-}
-
-- (void)dealloc {
- [[NSNotificationCenter defaultCenter] removeObserver:self];
- SDDispatchQueueRelease(_ioQueue);
-}
-
-- (void)checkIfQueueIsIOQueue {
- const char *currentQueueLabel = dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL);
- const char *ioQueueLabel = dispatch_queue_get_label(self.ioQueue);
- if (strcmp(currentQueueLabel, ioQueueLabel) != 0) {
- NSLog(@"This method should be called from the ioQueue");
- }
-}
-
-#pragma mark - Cache paths
-
-- (void)addReadOnlyCachePath:(nonnull NSString *)path {
- if (!self.customPaths) {
- self.customPaths = [NSMutableArray new];
- }
-
- if (![self.customPaths containsObject:path]) {
- [self.customPaths addObject:path];
- }
-}
-
-- (nullable NSString *)cachePathForKey:(nullable NSString *)key inPath:(nonnull NSString *)path {
- NSString *filename = [self cachedFileNameForKey:key];
- return [path stringByAppendingPathComponent:filename];
-}
-
-- (nullable NSString *)defaultCachePathForKey:(nullable NSString *)key {
- return [self cachePathForKey:key inPath:self.diskCachePath];
-}
-
-- (nullable NSString *)cachedFileNameForKey:(nullable NSString *)key {
- const char *str = key.UTF8String;
- if (str == NULL) {
- str = "";
- }
- unsigned char r[CC_MD5_DIGEST_LENGTH];
- CC_MD5(str, (CC_LONG)strlen(str), r);
- NSString *filename = [NSString stringWithFormat:@"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%@",
- r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], r[8], r[9], r[10],
- r[11], r[12], r[13], r[14], r[15], [key.pathExtension isEqualToString:@""] ? @"" : [NSString stringWithFormat:@".%@", key.pathExtension]];
-
- return filename;
-}
-
-- (nullable NSString *)makeDiskCachePath:(nonnull NSString*)fullNamespace {
- NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
- return [paths[0] stringByAppendingPathComponent:fullNamespace];
-}
-
-#pragma mark - Store Ops
-
-- (void)storeImage:(nullable UIImage *)image
- forKey:(nullable NSString *)key
- completion:(nullable SDWebImageNoParamsBlock)completionBlock {
- [self storeImage:image imageData:nil forKey:key toDisk:YES completion:completionBlock];
-}
-
-- (void)storeImage:(nullable UIImage *)image
- forKey:(nullable NSString *)key
- toDisk:(BOOL)toDisk
- completion:(nullable SDWebImageNoParamsBlock)completionBlock {
- [self storeImage:image imageData:nil forKey:key toDisk:toDisk completion:completionBlock];
-}
-
-- (void)storeImage:(nullable UIImage *)image
- imageData:(nullable NSData *)imageData
- forKey:(nullable NSString *)key
- toDisk:(BOOL)toDisk
- completion:(nullable SDWebImageNoParamsBlock)completionBlock {
- if (!image || !key) {
- if (completionBlock) {
- completionBlock();
- }
- return;
- }
- // if memory cache is enabled
- if (self.config.shouldCacheImagesInMemory) {
- NSUInteger cost = SDCacheCostForImage(image);
- [self.memCache setObject:image forKey:key cost:cost];
- }
-
- if (toDisk) {
- dispatch_async(self.ioQueue, ^{
- NSData *data = imageData;
-
- if (!data && image) {
- SDImageFormat imageFormatFromData = [NSData sd_imageFormatForImageData:data];
- data = [image sd_imageDataAsFormat:imageFormatFromData];
- }
-
- [self storeImageDataToDisk:data forKey:key];
- if (completionBlock) {
- dispatch_async(dispatch_get_main_queue(), ^{
- completionBlock();
- });
- }
- });
- } else {
- if (completionBlock) {
- completionBlock();
- }
- }
-}
-
-- (void)storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key {
- if (!imageData || !key) {
- return;
- }
-
- [self checkIfQueueIsIOQueue];
-
- if (![_fileManager fileExistsAtPath:_diskCachePath]) {
- [_fileManager createDirectoryAtPath:_diskCachePath withIntermediateDirectories:YES attributes:nil error:NULL];
- }
-
- // get cache Path for image key
- NSString *cachePathForKey = [self defaultCachePathForKey:key];
- // transform to NSUrl
- NSURL *fileURL = [NSURL fileURLWithPath:cachePathForKey];
-
- [_fileManager createFileAtPath:cachePathForKey contents:imageData attributes:nil];
-
- // disable iCloud backup
- if (self.config.shouldDisableiCloud) {
- [fileURL setResourceValue:@YES forKey:NSURLIsExcludedFromBackupKey error:nil];
- }
-}
-
-#pragma mark - Query and Retrieve Ops
-
-- (void)diskImageExistsWithKey:(nullable NSString *)key completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock {
- dispatch_async(_ioQueue, ^{
- BOOL exists = [_fileManager fileExistsAtPath:[self defaultCachePathForKey:key]];
-
- // fallback because of https://github.com/rs/SDWebImage/pull/976 that added the extension to the disk file name
- // checking the key with and without the extension
- if (!exists) {
- exists = [_fileManager fileExistsAtPath:[self defaultCachePathForKey:key].stringByDeletingPathExtension];
- }
-
- if (completionBlock) {
- dispatch_async(dispatch_get_main_queue(), ^{
- completionBlock(exists);
- });
- }
- });
-}
-
-- (nullable UIImage *)imageFromMemoryCacheForKey:(nullable NSString *)key {
- return [self.memCache objectForKey:key];
-}
-
-- (nullable UIImage *)imageFromDiskCacheForKey:(nullable NSString *)key {
- UIImage *diskImage = [self diskImageForKey:key];
- if (diskImage && self.config.shouldCacheImagesInMemory) {
- NSUInteger cost = SDCacheCostForImage(diskImage);
- [self.memCache setObject:diskImage forKey:key cost:cost];
- }
-
- return diskImage;
-}
-
-- (nullable UIImage *)imageFromCacheForKey:(nullable NSString *)key {
- // First check the in-memory cache...
- UIImage *image = [self imageFromMemoryCacheForKey:key];
- if (image) {
- return image;
- }
-
- // Second check the disk cache...
- image = [self imageFromDiskCacheForKey:key];
- return image;
-}
-
-- (nullable NSData *)diskImageDataBySearchingAllPathsForKey:(nullable NSString *)key {
- NSString *defaultPath = [self defaultCachePathForKey:key];
- NSData *data = [NSData dataWithContentsOfFile:defaultPath];
- if (data) {
- return data;
- }
-
- // fallback because of https://github.com/rs/SDWebImage/pull/976 that added the extension to the disk file name
- // checking the key with and without the extension
- data = [NSData dataWithContentsOfFile:defaultPath.stringByDeletingPathExtension];
- if (data) {
- return data;
- }
-
- NSArray *customPaths = [self.customPaths copy];
- for (NSString *path in customPaths) {
- NSString *filePath = [self cachePathForKey:key inPath:path];
- NSData *imageData = [NSData dataWithContentsOfFile:filePath];
- if (imageData) {
- return imageData;
- }
-
- // fallback because of https://github.com/rs/SDWebImage/pull/976 that added the extension to the disk file name
- // checking the key with and without the extension
- imageData = [NSData dataWithContentsOfFile:filePath.stringByDeletingPathExtension];
- if (imageData) {
- return imageData;
- }
- }
-
- return nil;
-}
-
-- (nullable UIImage *)diskImageForKey:(nullable NSString *)key {
- NSData *data = [self diskImageDataBySearchingAllPathsForKey:key];
- if (data) {
- UIImage *image = [UIImage sd_imageWithData:data];
- image = [self scaledImageForKey:key image:image];
- if (self.config.shouldDecompressImages) {
- image = [UIImage decodedImageWithImage:image];
- }
- return image;
- }
- else {
- return nil;
- }
-}
-
-- (nullable UIImage *)scaledImageForKey:(nullable NSString *)key image:(nullable UIImage *)image {
- return SDScaledImageForKey(key, image);
-}
-
-- (nullable NSOperation *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDCacheQueryCompletedBlock)doneBlock {
- if (!key) {
- if (doneBlock) {
- doneBlock(nil, nil, SDImageCacheTypeNone);
- }
- return nil;
- }
-
- // First check the in-memory cache...
- UIImage *image = [self imageFromMemoryCacheForKey:key];
- if (image) {
- NSData *diskData = nil;
- if ([image isGIF]) {
- diskData = [self diskImageDataBySearchingAllPathsForKey:key];
- }
- if (doneBlock) {
- doneBlock(image, diskData, SDImageCacheTypeMemory);
- }
- return nil;
- }
-
- NSOperation *operation = [NSOperation new];
- dispatch_async(self.ioQueue, ^{
- if (operation.isCancelled) {
- // do not call the completion if cancelled
- return;
- }
-
- @autoreleasepool {
- NSData *diskData = [self diskImageDataBySearchingAllPathsForKey:key];
- UIImage *diskImage = [self diskImageForKey:key];
- if (diskImage && self.config.shouldCacheImagesInMemory) {
- NSUInteger cost = SDCacheCostForImage(diskImage);
- [self.memCache setObject:diskImage forKey:key cost:cost];
- }
-
- if (doneBlock) {
- dispatch_async(dispatch_get_main_queue(), ^{
- doneBlock(diskImage, diskData, SDImageCacheTypeDisk);
- });
- }
- }
- });
-
- return operation;
-}
-
-#pragma mark - Remove Ops
-
-- (void)removeImageForKey:(nullable NSString *)key withCompletion:(nullable SDWebImageNoParamsBlock)completion {
- [self removeImageForKey:key fromDisk:YES withCompletion:completion];
-}
-
-- (void)removeImageForKey:(nullable NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(nullable SDWebImageNoParamsBlock)completion {
- if (key == nil) {
- return;
- }
-
- if (self.config.shouldCacheImagesInMemory) {
- [self.memCache removeObjectForKey:key];
- }
-
- if (fromDisk) {
- dispatch_async(self.ioQueue, ^{
- [_fileManager removeItemAtPath:[self defaultCachePathForKey:key] error:nil];
-
- if (completion) {
- dispatch_async(dispatch_get_main_queue(), ^{
- completion();
- });
- }
- });
- } else if (completion){
- completion();
- }
-
-}
-
-# pragma mark - Mem Cache settings
-
-- (void)setMaxMemoryCost:(NSUInteger)maxMemoryCost {
- self.memCache.totalCostLimit = maxMemoryCost;
-}
-
-- (NSUInteger)maxMemoryCost {
- return self.memCache.totalCostLimit;
-}
-
-- (NSUInteger)maxMemoryCountLimit {
- return self.memCache.countLimit;
-}
-
-- (void)setMaxMemoryCountLimit:(NSUInteger)maxCountLimit {
- self.memCache.countLimit = maxCountLimit;
-}
-
-#pragma mark - Cache clean Ops
-
-- (void)clearMemory {
- [self.memCache removeAllObjects];
-}
-
-- (void)clearDiskOnCompletion:(nullable SDWebImageNoParamsBlock)completion {
- dispatch_async(self.ioQueue, ^{
- [_fileManager removeItemAtPath:self.diskCachePath error:nil];
- [_fileManager createDirectoryAtPath:self.diskCachePath
- withIntermediateDirectories:YES
- attributes:nil
- error:NULL];
-
- if (completion) {
- dispatch_async(dispatch_get_main_queue(), ^{
- completion();
- });
- }
- });
-}
-
-- (void)deleteOldFiles {
- [self deleteOldFilesWithCompletionBlock:nil];
-}
-
-- (void)deleteOldFilesWithCompletionBlock:(nullable SDWebImageNoParamsBlock)completionBlock {
- dispatch_async(self.ioQueue, ^{
- NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES];
- NSArray *resourceKeys = @[NSURLIsDirectoryKey, NSURLContentModificationDateKey, NSURLTotalFileAllocatedSizeKey];
-
- // This enumerator prefetches useful properties for our cache files.
- NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtURL:diskCacheURL
- includingPropertiesForKeys:resourceKeys
- options:NSDirectoryEnumerationSkipsHiddenFiles
- errorHandler:NULL];
-
- NSDate *expirationDate = [NSDate dateWithTimeIntervalSinceNow:-self.config.maxCacheAge];
- NSMutableDictionary *> *cacheFiles = [NSMutableDictionary dictionary];
- NSUInteger currentCacheSize = 0;
-
- // Enumerate all of the files in the cache directory. This loop has two purposes:
- //
- // 1. Removing files that are older than the expiration date.
- // 2. Storing file attributes for the size-based cleanup pass.
- NSMutableArray *urlsToDelete = [[NSMutableArray alloc] init];
- for (NSURL *fileURL in fileEnumerator) {
- NSError *error;
- NSDictionary *resourceValues = [fileURL resourceValuesForKeys:resourceKeys error:&error];
-
- // Skip directories and errors.
- if (error || !resourceValues || [resourceValues[NSURLIsDirectoryKey] boolValue]) {
- continue;
- }
-
- // Remove files that are older than the expiration date;
- NSDate *modificationDate = resourceValues[NSURLContentModificationDateKey];
- if ([[modificationDate laterDate:expirationDate] isEqualToDate:expirationDate]) {
- [urlsToDelete addObject:fileURL];
- continue;
- }
-
- // Store a reference to this file and account for its total size.
- NSNumber *totalAllocatedSize = resourceValues[NSURLTotalFileAllocatedSizeKey];
- currentCacheSize += totalAllocatedSize.unsignedIntegerValue;
- cacheFiles[fileURL] = resourceValues;
- }
-
- for (NSURL *fileURL in urlsToDelete) {
- [_fileManager removeItemAtURL:fileURL error:nil];
- }
-
- // If our remaining disk cache exceeds a configured maximum size, perform a second
- // size-based cleanup pass. We delete the oldest files first.
- if (self.config.maxCacheSize > 0 && currentCacheSize > self.config.maxCacheSize) {
- // Target half of our maximum cache size for this cleanup pass.
- const NSUInteger desiredCacheSize = self.config.maxCacheSize / 2;
-
- // Sort the remaining cache files by their last modification time (oldest first).
- NSArray *sortedFiles = [cacheFiles keysSortedByValueWithOptions:NSSortConcurrent
- usingComparator:^NSComparisonResult(id obj1, id obj2) {
- return [obj1[NSURLContentModificationDateKey] compare:obj2[NSURLContentModificationDateKey]];
- }];
-
- // Delete files until we fall below our desired cache size.
- for (NSURL *fileURL in sortedFiles) {
- if ([_fileManager removeItemAtURL:fileURL error:nil]) {
- NSDictionary *resourceValues = cacheFiles[fileURL];
- NSNumber *totalAllocatedSize = resourceValues[NSURLTotalFileAllocatedSizeKey];
- currentCacheSize -= totalAllocatedSize.unsignedIntegerValue;
-
- if (currentCacheSize < desiredCacheSize) {
- break;
- }
- }
- }
- }
- if (completionBlock) {
- dispatch_async(dispatch_get_main_queue(), ^{
- completionBlock();
- });
- }
- });
-}
-
-#if SD_UIKIT
-- (void)backgroundDeleteOldFiles {
- Class UIApplicationClass = NSClassFromString(@"UIApplication");
- if(!UIApplicationClass || ![UIApplicationClass respondsToSelector:@selector(sharedApplication)]) {
- return;
- }
- UIApplication *application = [UIApplication performSelector:@selector(sharedApplication)];
- __block UIBackgroundTaskIdentifier bgTask = [application beginBackgroundTaskWithExpirationHandler:^{
- // Clean up any unfinished task business by marking where you
- // stopped or ending the task outright.
- [application endBackgroundTask:bgTask];
- bgTask = UIBackgroundTaskInvalid;
- }];
-
- // Start the long-running task and return immediately.
- [self deleteOldFilesWithCompletionBlock:^{
- [application endBackgroundTask:bgTask];
- bgTask = UIBackgroundTaskInvalid;
- }];
-}
-#endif
-
-#pragma mark - Cache Info
-
-- (NSUInteger)getSize {
- __block NSUInteger size = 0;
- dispatch_sync(self.ioQueue, ^{
- NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtPath:self.diskCachePath];
- for (NSString *fileName in fileEnumerator) {
- NSString *filePath = [self.diskCachePath stringByAppendingPathComponent:fileName];
- NSDictionary *attrs = [[NSFileManager defaultManager] attributesOfItemAtPath:filePath error:nil];
- size += [attrs fileSize];
- }
- });
- return size;
-}
-
-- (NSUInteger)getDiskCount {
- __block NSUInteger count = 0;
- dispatch_sync(self.ioQueue, ^{
- NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtPath:self.diskCachePath];
- count = fileEnumerator.allObjects.count;
- });
- return count;
-}
-
-- (void)calculateSizeWithCompletionBlock:(nullable SDWebImageCalculateSizeBlock)completionBlock {
- NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES];
-
- dispatch_async(self.ioQueue, ^{
- NSUInteger fileCount = 0;
- NSUInteger totalSize = 0;
-
- NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtURL:diskCacheURL
- includingPropertiesForKeys:@[NSFileSize]
- options:NSDirectoryEnumerationSkipsHiddenFiles
- errorHandler:NULL];
-
- for (NSURL *fileURL in fileEnumerator) {
- NSNumber *fileSize;
- [fileURL getResourceValue:&fileSize forKey:NSURLFileSizeKey error:NULL];
- totalSize += fileSize.unsignedIntegerValue;
- fileCount += 1;
- }
-
- if (completionBlock) {
- dispatch_async(dispatch_get_main_queue(), ^{
- completionBlock(fileCount, totalSize);
- });
- }
- });
-}
-
-@end
-
diff --git a/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.h b/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.h
deleted file mode 100644
index fd83527..0000000
--- a/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.h
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-// SDImageCacheConfig.h
-// SDWebImage
-//
-// Created by Bogdan on 09/09/16.
-// Copyright © 2016 Dailymotion. All rights reserved.
-//
-
-#import
-#import "SDWebImageCompat.h"
-
-@interface SDImageCacheConfig : NSObject
-
-/**
- * Decompressing images that are downloaded and cached can improve performance but can consume lot of memory.
- * Defaults to YES. Set this to NO if you are experiencing a crash due to excessive memory consumption.
- */
-@property (assign, nonatomic) BOOL shouldDecompressImages;
-
-/**
- * disable iCloud backup [defaults to YES]
- */
-@property (assign, nonatomic) BOOL shouldDisableiCloud;
-
-/**
- * use memory cache [defaults to YES]
- */
-@property (assign, nonatomic) BOOL shouldCacheImagesInMemory;
-
-/**
- * The maximum length of time to keep an image in the cache, in seconds
- */
-@property (assign, nonatomic) NSInteger maxCacheAge;
-
-/**
- * The maximum size of the cache, in bytes.
- */
-@property (assign, nonatomic) NSUInteger maxCacheSize;
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.m b/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.m
deleted file mode 100644
index c154265..0000000
--- a/Pods/SDWebImage/SDWebImage/SDImageCacheConfig.m
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// SDImageCacheConfig.m
-// SDWebImage
-//
-// Created by Bogdan on 09/09/16.
-// Copyright © 2016 Dailymotion. All rights reserved.
-//
-
-#import "SDImageCacheConfig.h"
-
-static const NSInteger kDefaultCacheMaxCacheAge = 60 * 60 * 24 * 7; // 1 week
-
-@implementation SDImageCacheConfig
-
-- (instancetype)init {
- if (self = [super init]) {
- _shouldDecompressImages = YES;
- _shouldDisableiCloud = YES;
- _shouldCacheImagesInMemory = YES;
- _maxCacheAge = kDefaultCacheMaxCacheAge;
- _maxCacheSize = 0;
- }
- return self;
-}
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h b/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h
deleted file mode 100644
index f555c27..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- * (c) Jamie Pinkham
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import
-
-#ifdef __OBJC_GC__
- #error SDWebImage does not support Objective-C Garbage Collection
-#endif
-
-// Apple's defines from TargetConditionals.h are a bit weird.
-// Seems like TARGET_OS_MAC is always defined (on all platforms).
-// To determine if we are running on OSX, we can only relly on TARGET_OS_IPHONE=0 and all the other platforms
-#if !TARGET_OS_IPHONE && !TARGET_OS_IOS && !TARGET_OS_TV && !TARGET_OS_WATCH
- #define SD_MAC 1
-#else
- #define SD_MAC 0
-#endif
-
-// iOS and tvOS are very similar, UIKit exists on both platforms
-// Note: watchOS also has UIKit, but it's very limited
-#if TARGET_OS_IOS || TARGET_OS_TV
- #define SD_UIKIT 1
-#else
- #define SD_UIKIT 0
-#endif
-
-#if TARGET_OS_IOS
- #define SD_IOS 1
-#else
- #define SD_IOS 0
-#endif
-
-#if TARGET_OS_TV
- #define SD_TV 1
-#else
- #define SD_TV 0
-#endif
-
-#if TARGET_OS_WATCH
- #define SD_WATCH 1
-#else
- #define SD_WATCH 0
-#endif
-
-
-#if SD_MAC
- #import
- #ifndef UIImage
- #define UIImage NSImage
- #endif
- #ifndef UIImageView
- #define UIImageView NSImageView
- #endif
- #ifndef UIView
- #define UIView NSView
- #endif
-#else
- #if __IPHONE_OS_VERSION_MIN_REQUIRED != 20000 && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_5_0
- #error SDWebImage doesn't support Deployment Target version < 5.0
- #endif
-
- #if SD_UIKIT
- #import
- #endif
- #if SD_WATCH
- #import
- #endif
-#endif
-
-#ifndef NS_ENUM
-#define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type
-#endif
-
-#ifndef NS_OPTIONS
-#define NS_OPTIONS(_type, _name) enum _name : _type _name; enum _name : _type
-#endif
-
-#if OS_OBJECT_USE_OBJC
- #undef SDDispatchQueueRelease
- #undef SDDispatchQueueSetterSementics
- #define SDDispatchQueueRelease(q)
- #define SDDispatchQueueSetterSementics strong
-#else
- #undef SDDispatchQueueRelease
- #undef SDDispatchQueueSetterSementics
- #define SDDispatchQueueRelease(q) (dispatch_release(q))
- #define SDDispatchQueueSetterSementics assign
-#endif
-
-extern UIImage *SDScaledImageForKey(NSString *key, UIImage *image);
-
-typedef void(^SDWebImageNoParamsBlock)();
-
-extern NSString *const SDWebImageErrorDomain;
-
-#ifndef dispatch_main_async_safe
-#define dispatch_main_async_safe(block)\
- if (strcmp(dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL), dispatch_queue_get_label(dispatch_get_main_queue())) == 0) {\
- block();\
- } else {\
- dispatch_async(dispatch_get_main_queue(), block);\
- }
-#endif
-
-static int64_t kAsyncTestTimeout = 5;
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m b/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m
deleted file mode 100644
index ade04be..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageCompat.h"
-
-#if !__has_feature(objc_arc)
-#error SDWebImage is ARC only. Either turn on ARC for the project or use -fobjc-arc flag
-#endif
-
-inline UIImage *SDScaledImageForKey(NSString * _Nullable key, UIImage * _Nullable image) {
- if (!image) {
- return nil;
- }
-
-#if SD_MAC
- return image;
-#elif SD_UIKIT || SD_WATCH
- if ((image.images).count > 0) {
- NSMutableArray *scaledImages = [NSMutableArray array];
-
- for (UIImage *tempImage in image.images) {
- [scaledImages addObject:SDScaledImageForKey(key, tempImage)];
- }
-
- return [UIImage animatedImageWithImages:scaledImages duration:image.duration];
- }
- else {
-#if SD_WATCH
- if ([[WKInterfaceDevice currentDevice] respondsToSelector:@selector(screenScale)]) {
-#elif SD_UIKIT
- if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) {
-#endif
- CGFloat scale = 1;
- if (key.length >= 8) {
- NSRange range = [key rangeOfString:@"@2x."];
- if (range.location != NSNotFound) {
- scale = 2.0;
- }
-
- range = [key rangeOfString:@"@3x."];
- if (range.location != NSNotFound) {
- scale = 3.0;
- }
- }
-
- UIImage *scaledImage = [[UIImage alloc] initWithCGImage:image.CGImage scale:scale orientation:image.imageOrientation];
- image = scaledImage;
- }
- return image;
- }
-#endif
-}
-
-NSString *const SDWebImageErrorDomain = @"SDWebImageErrorDomain";
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h b/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h
deleted file mode 100644
index 8f8df86..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- * (c) james
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import
-#import "SDWebImageCompat.h"
-
-@interface UIImage (ForceDecode)
-
-+ (nullable UIImage *)decodedImageWithImage:(nullable UIImage *)image;
-
-+ (nullable UIImage *)decodedAndScaledDownImageWithImage:(nullable UIImage *)image;
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m b/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m
deleted file mode 100644
index cf5e676..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m
+++ /dev/null
@@ -1,279 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- * (c) james
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageDecoder.h"
-
-@implementation UIImage (ForceDecode)
-
-#if SD_UIKIT || SD_WATCH
-static const size_t kBytesPerPixel = 4;
-static const size_t kBitsPerComponent = 8;
-
-+ (nullable UIImage *)decodedImageWithImage:(nullable UIImage *)image {
- if (![UIImage shouldDecodeImage:image]) {
- return image;
- }
-
- // autorelease the bitmap context and all vars to help system to free memory when there are memory warning.
- // on iOS7, do not forget to call [[SDImageCache sharedImageCache] clearMemory];
- @autoreleasepool{
-
- CGImageRef imageRef = image.CGImage;
- CGColorSpaceRef colorspaceRef = [UIImage colorSpaceForImageRef:imageRef];
-
- size_t width = CGImageGetWidth(imageRef);
- size_t height = CGImageGetHeight(imageRef);
- size_t bytesPerRow = kBytesPerPixel * width;
-
- // kCGImageAlphaNone is not supported in CGBitmapContextCreate.
- // Since the original image here has no alpha info, use kCGImageAlphaNoneSkipLast
- // to create bitmap graphics contexts without alpha info.
- CGContextRef context = CGBitmapContextCreate(NULL,
- width,
- height,
- kBitsPerComponent,
- bytesPerRow,
- colorspaceRef,
- kCGBitmapByteOrderDefault|kCGImageAlphaNoneSkipLast);
- if (context == NULL) {
- return image;
- }
-
- // Draw the image into the context and retrieve the new bitmap image without alpha
- CGContextDrawImage(context, CGRectMake(0, 0, width, height), imageRef);
- CGImageRef imageRefWithoutAlpha = CGBitmapContextCreateImage(context);
- UIImage *imageWithoutAlpha = [UIImage imageWithCGImage:imageRefWithoutAlpha
- scale:image.scale
- orientation:image.imageOrientation];
-
- CGContextRelease(context);
- CGImageRelease(imageRefWithoutAlpha);
-
- return imageWithoutAlpha;
- }
-}
-
-/*
- * Defines the maximum size in MB of the decoded image when the flag `SDWebImageScaleDownLargeImages` is set
- * Suggested value for iPad1 and iPhone 3GS: 60.
- * Suggested value for iPad2 and iPhone 4: 120.
- * Suggested value for iPhone 3G and iPod 2 and earlier devices: 30.
- */
-static const CGFloat kDestImageSizeMB = 60.0f;
-
-/*
- * Defines the maximum size in MB of a tile used to decode image when the flag `SDWebImageScaleDownLargeImages` is set
- * Suggested value for iPad1 and iPhone 3GS: 20.
- * Suggested value for iPad2 and iPhone 4: 40.
- * Suggested value for iPhone 3G and iPod 2 and earlier devices: 10.
- */
-static const CGFloat kSourceImageTileSizeMB = 20.0f;
-
-static const CGFloat kBytesPerMB = 1024.0f * 1024.0f;
-static const CGFloat kPixelsPerMB = kBytesPerMB / kBytesPerPixel;
-static const CGFloat kDestTotalPixels = kDestImageSizeMB * kPixelsPerMB;
-static const CGFloat kTileTotalPixels = kSourceImageTileSizeMB * kPixelsPerMB;
-
-static const CGFloat kDestSeemOverlap = 2.0f; // the numbers of pixels to overlap the seems where tiles meet.
-
-+ (nullable UIImage *)decodedAndScaledDownImageWithImage:(nullable UIImage *)image {
- if (![UIImage shouldDecodeImage:image]) {
- return image;
- }
-
- if (![UIImage shouldScaleDownImage:image]) {
- return [UIImage decodedImageWithImage:image];
- }
-
- CGContextRef destContext;
-
- // autorelease the bitmap context and all vars to help system to free memory when there are memory warning.
- // on iOS7, do not forget to call [[SDImageCache sharedImageCache] clearMemory];
- @autoreleasepool {
- CGImageRef sourceImageRef = image.CGImage;
-
- CGSize sourceResolution = CGSizeZero;
- sourceResolution.width = CGImageGetWidth(sourceImageRef);
- sourceResolution.height = CGImageGetHeight(sourceImageRef);
- float sourceTotalPixels = sourceResolution.width * sourceResolution.height;
- // Determine the scale ratio to apply to the input image
- // that results in an output image of the defined size.
- // see kDestImageSizeMB, and how it relates to destTotalPixels.
- float imageScale = kDestTotalPixels / sourceTotalPixels;
- CGSize destResolution = CGSizeZero;
- destResolution.width = (int)(sourceResolution.width*imageScale);
- destResolution.height = (int)(sourceResolution.height*imageScale);
-
- // current color space
- CGColorSpaceRef colorspaceRef = [UIImage colorSpaceForImageRef:sourceImageRef];
-
- size_t bytesPerRow = kBytesPerPixel * destResolution.width;
-
- // Allocate enough pixel data to hold the output image.
- void* destBitmapData = malloc( bytesPerRow * destResolution.height );
- if (destBitmapData == NULL) {
- return image;
- }
-
- // kCGImageAlphaNone is not supported in CGBitmapContextCreate.
- // Since the original image here has no alpha info, use kCGImageAlphaNoneSkipLast
- // to create bitmap graphics contexts without alpha info.
- destContext = CGBitmapContextCreate(destBitmapData,
- destResolution.width,
- destResolution.height,
- kBitsPerComponent,
- bytesPerRow,
- colorspaceRef,
- kCGBitmapByteOrderDefault|kCGImageAlphaNoneSkipLast);
-
- if (destContext == NULL) {
- free(destBitmapData);
- return image;
- }
- CGContextSetInterpolationQuality(destContext, kCGInterpolationHigh);
-
- // Now define the size of the rectangle to be used for the
- // incremental blits from the input image to the output image.
- // we use a source tile width equal to the width of the source
- // image due to the way that iOS retrieves image data from disk.
- // iOS must decode an image from disk in full width 'bands', even
- // if current graphics context is clipped to a subrect within that
- // band. Therefore we fully utilize all of the pixel data that results
- // from a decoding opertion by achnoring our tile size to the full
- // width of the input image.
- CGRect sourceTile = CGRectZero;
- sourceTile.size.width = sourceResolution.width;
- // The source tile height is dynamic. Since we specified the size
- // of the source tile in MB, see how many rows of pixels high it
- // can be given the input image width.
- sourceTile.size.height = (int)(kTileTotalPixels / sourceTile.size.width );
- sourceTile.origin.x = 0.0f;
- // The output tile is the same proportions as the input tile, but
- // scaled to image scale.
- CGRect destTile;
- destTile.size.width = destResolution.width;
- destTile.size.height = sourceTile.size.height * imageScale;
- destTile.origin.x = 0.0f;
- // The source seem overlap is proportionate to the destination seem overlap.
- // this is the amount of pixels to overlap each tile as we assemble the ouput image.
- float sourceSeemOverlap = (int)((kDestSeemOverlap/destResolution.height)*sourceResolution.height);
- CGImageRef sourceTileImageRef;
- // calculate the number of read/write operations required to assemble the
- // output image.
- int iterations = (int)( sourceResolution.height / sourceTile.size.height );
- // If tile height doesn't divide the image height evenly, add another iteration
- // to account for the remaining pixels.
- int remainder = (int)sourceResolution.height % (int)sourceTile.size.height;
- if(remainder) {
- iterations++;
- }
- // Add seem overlaps to the tiles, but save the original tile height for y coordinate calculations.
- float sourceTileHeightMinusOverlap = sourceTile.size.height;
- sourceTile.size.height += sourceSeemOverlap;
- destTile.size.height += kDestSeemOverlap;
- for( int y = 0; y < iterations; ++y ) {
- @autoreleasepool {
- sourceTile.origin.y = y * sourceTileHeightMinusOverlap + sourceSeemOverlap;
- destTile.origin.y = destResolution.height - (( y + 1 ) * sourceTileHeightMinusOverlap * imageScale + kDestSeemOverlap);
- sourceTileImageRef = CGImageCreateWithImageInRect( sourceImageRef, sourceTile );
- if( y == iterations - 1 && remainder ) {
- float dify = destTile.size.height;
- destTile.size.height = CGImageGetHeight( sourceTileImageRef ) * imageScale;
- dify -= destTile.size.height;
- destTile.origin.y += dify;
- }
- CGContextDrawImage( destContext, destTile, sourceTileImageRef );
- CGImageRelease( sourceTileImageRef );
- }
- }
-
- CGImageRef destImageRef = CGBitmapContextCreateImage(destContext);
- CGContextRelease(destContext);
- if (destImageRef == NULL) {
- return image;
- }
- UIImage *destImage = [UIImage imageWithCGImage:destImageRef scale:image.scale orientation:image.imageOrientation];
- CGImageRelease(destImageRef);
- if (destImage == nil) {
- return image;
- }
- return destImage;
- }
-}
-
-+ (BOOL)shouldDecodeImage:(nullable UIImage *)image {
- // Prevent "CGBitmapContextCreateImage: invalid context 0x0" error
- if (image == nil) {
- return NO;
- }
-
- // do not decode animated images
- if (image.images != nil) {
- return NO;
- }
-
- CGImageRef imageRef = image.CGImage;
-
- CGImageAlphaInfo alpha = CGImageGetAlphaInfo(imageRef);
- BOOL anyAlpha = (alpha == kCGImageAlphaFirst ||
- alpha == kCGImageAlphaLast ||
- alpha == kCGImageAlphaPremultipliedFirst ||
- alpha == kCGImageAlphaPremultipliedLast);
- // do not decode images with alpha
- if (anyAlpha) {
- return NO;
- }
-
- return YES;
-}
-
-+ (BOOL)shouldScaleDownImage:(nonnull UIImage *)image {
- BOOL shouldScaleDown = YES;
-
- CGImageRef sourceImageRef = image.CGImage;
- CGSize sourceResolution = CGSizeZero;
- sourceResolution.width = CGImageGetWidth(sourceImageRef);
- sourceResolution.height = CGImageGetHeight(sourceImageRef);
- float sourceTotalPixels = sourceResolution.width * sourceResolution.height;
- float imageScale = kDestTotalPixels / sourceTotalPixels;
- if (imageScale < 1) {
- shouldScaleDown = YES;
- } else {
- shouldScaleDown = NO;
- }
-
- return shouldScaleDown;
-}
-
-+ (CGColorSpaceRef)colorSpaceForImageRef:(CGImageRef)imageRef {
- // current
- CGColorSpaceModel imageColorSpaceModel = CGColorSpaceGetModel(CGImageGetColorSpace(imageRef));
- CGColorSpaceRef colorspaceRef = CGImageGetColorSpace(imageRef);
-
- BOOL unsupportedColorSpace = (imageColorSpaceModel == kCGColorSpaceModelUnknown ||
- imageColorSpaceModel == kCGColorSpaceModelMonochrome ||
- imageColorSpaceModel == kCGColorSpaceModelCMYK ||
- imageColorSpaceModel == kCGColorSpaceModelIndexed);
- if (unsupportedColorSpace) {
- colorspaceRef = CGColorSpaceCreateDeviceRGB();
- CFAutorelease(colorspaceRef);
- }
- return colorspaceRef;
-}
-#elif SD_MAC
-+ (nullable UIImage *)decodedImageWithImage:(nullable UIImage *)image {
- return image;
-}
-
-+ (nullable UIImage *)decodedAndScaledDownImageWithImage:(nullable UIImage *)image {
- return image;
-}
-#endif
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h b/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h
deleted file mode 100644
index 94bc76e..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h
+++ /dev/null
@@ -1,233 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import
-#import "SDWebImageCompat.h"
-#import "SDWebImageOperation.h"
-
-typedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) {
- SDWebImageDownloaderLowPriority = 1 << 0,
- SDWebImageDownloaderProgressiveDownload = 1 << 1,
-
- /**
- * By default, request prevent the use of NSURLCache. With this flag, NSURLCache
- * is used with default policies.
- */
- SDWebImageDownloaderUseNSURLCache = 1 << 2,
-
- /**
- * Call completion block with nil image/imageData if the image was read from NSURLCache
- * (to be combined with `SDWebImageDownloaderUseNSURLCache`).
- */
-
- SDWebImageDownloaderIgnoreCachedResponse = 1 << 3,
- /**
- * In iOS 4+, continue the download of the image if the app goes to background. This is achieved by asking the system for
- * extra time in background to let the request finish. If the background task expires the operation will be cancelled.
- */
-
- SDWebImageDownloaderContinueInBackground = 1 << 4,
-
- /**
- * Handles cookies stored in NSHTTPCookieStore by setting
- * NSMutableURLRequest.HTTPShouldHandleCookies = YES;
- */
- SDWebImageDownloaderHandleCookies = 1 << 5,
-
- /**
- * Enable to allow untrusted SSL certificates.
- * Useful for testing purposes. Use with caution in production.
- */
- SDWebImageDownloaderAllowInvalidSSLCertificates = 1 << 6,
-
- /**
- * Put the image in the high priority queue.
- */
- SDWebImageDownloaderHighPriority = 1 << 7,
-
- /**
- * Scale down the image
- */
- SDWebImageDownloaderScaleDownLargeImages = 1 << 8,
-};
-
-typedef NS_ENUM(NSInteger, SDWebImageDownloaderExecutionOrder) {
- /**
- * Default value. All download operations will execute in queue style (first-in-first-out).
- */
- SDWebImageDownloaderFIFOExecutionOrder,
-
- /**
- * All download operations will execute in stack style (last-in-first-out).
- */
- SDWebImageDownloaderLIFOExecutionOrder
-};
-
-extern NSString * _Nonnull const SDWebImageDownloadStartNotification;
-extern NSString * _Nonnull const SDWebImageDownloadStopNotification;
-
-typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL);
-
-typedef void(^SDWebImageDownloaderCompletedBlock)(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, BOOL finished);
-
-typedef NSDictionary SDHTTPHeadersDictionary;
-typedef NSMutableDictionary SDHTTPHeadersMutableDictionary;
-
-typedef SDHTTPHeadersDictionary * _Nullable (^SDWebImageDownloaderHeadersFilterBlock)(NSURL * _Nullable url, SDHTTPHeadersDictionary * _Nullable headers);
-
-/**
- * A token associated with each download. Can be used to cancel a download
- */
-@interface SDWebImageDownloadToken : NSObject
-
-@property (nonatomic, strong, nullable) NSURL *url;
-@property (nonatomic, strong, nullable) id downloadOperationCancelToken;
-
-@end
-
-
-/**
- * Asynchronous downloader dedicated and optimized for image loading.
- */
-@interface SDWebImageDownloader : NSObject
-
-/**
- * Decompressing images that are downloaded and cached can improve performance but can consume lot of memory.
- * Defaults to YES. Set this to NO if you are experiencing a crash due to excessive memory consumption.
- */
-@property (assign, nonatomic) BOOL shouldDecompressImages;
-
-/**
- * The maximum number of concurrent downloads
- */
-@property (assign, nonatomic) NSInteger maxConcurrentDownloads;
-
-/**
- * Shows the current amount of downloads that still need to be downloaded
- */
-@property (readonly, nonatomic) NSUInteger currentDownloadCount;
-
-
-/**
- * The timeout value (in seconds) for the download operation. Default: 15.0.
- */
-@property (assign, nonatomic) NSTimeInterval downloadTimeout;
-
-
-/**
- * Changes download operations execution order. Default value is `SDWebImageDownloaderFIFOExecutionOrder`.
- */
-@property (assign, nonatomic) SDWebImageDownloaderExecutionOrder executionOrder;
-
-/**
- * Singleton method, returns the shared instance
- *
- * @return global shared instance of downloader class
- */
-+ (nonnull instancetype)sharedDownloader;
-
-/**
- * Set the default URL credential to be set for request operations.
- */
-@property (strong, nonatomic, nullable) NSURLCredential *urlCredential;
-
-/**
- * Set username
- */
-@property (strong, nonatomic, nullable) NSString *username;
-
-/**
- * Set password
- */
-@property (strong, nonatomic, nullable) NSString *password;
-
-/**
- * Set filter to pick headers for downloading image HTTP request.
- *
- * This block will be invoked for each downloading image request, returned
- * NSDictionary will be used as headers in corresponding HTTP request.
- */
-@property (nonatomic, copy, nullable) SDWebImageDownloaderHeadersFilterBlock headersFilter;
-
-/**
- * Creates an instance of a downloader with specified session configuration.
- * *Note*: `timeoutIntervalForRequest` is going to be overwritten.
- * @return new instance of downloader class
- */
-- (nonnull instancetype)initWithSessionConfiguration:(nullable NSURLSessionConfiguration *)sessionConfiguration NS_DESIGNATED_INITIALIZER;
-
-/**
- * Set a value for a HTTP header to be appended to each download HTTP request.
- *
- * @param value The value for the header field. Use `nil` value to remove the header.
- * @param field The name of the header field to set.
- */
-- (void)setValue:(nullable NSString *)value forHTTPHeaderField:(nullable NSString *)field;
-
-/**
- * Returns the value of the specified HTTP header field.
- *
- * @return The value associated with the header field field, or `nil` if there is no corresponding header field.
- */
-- (nullable NSString *)valueForHTTPHeaderField:(nullable NSString *)field;
-
-/**
- * Sets a subclass of `SDWebImageDownloaderOperation` as the default
- * `NSOperation` to be used each time SDWebImage constructs a request
- * operation to download an image.
- *
- * @param operationClass The subclass of `SDWebImageDownloaderOperation` to set
- * as default. Passing `nil` will revert to `SDWebImageDownloaderOperation`.
- */
-- (void)setOperationClass:(nullable Class)operationClass;
-
-/**
- * Creates a SDWebImageDownloader async downloader instance with a given URL
- *
- * The delegate will be informed when the image is finish downloaded or an error has happen.
- *
- * @see SDWebImageDownloaderDelegate
- *
- * @param url The URL to the image to download
- * @param options The options to be used for this download
- * @param progressBlock A block called repeatedly while the image is downloading
- * @note the progress block is executed on a background queue
- * @param completedBlock A block called once the download is completed.
- * If the download succeeded, the image parameter is set, in case of error,
- * error parameter is set with the error. The last parameter is always YES
- * if SDWebImageDownloaderProgressiveDownload isn't use. With the
- * SDWebImageDownloaderProgressiveDownload option, this block is called
- * repeatedly with the partial image object and the finished argument set to NO
- * before to be called a last time with the full image and finished argument
- * set to YES. In case of error, the finished argument is always YES.
- *
- * @return A token (SDWebImageDownloadToken) that can be passed to -cancel: to cancel this operation
- */
-- (nullable SDWebImageDownloadToken *)downloadImageWithURL:(nullable NSURL *)url
- options:(SDWebImageDownloaderOptions)options
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock;
-
-/**
- * Cancels a download that was previously queued using -downloadImageWithURL:options:progress:completed:
- *
- * @param token The token received from -downloadImageWithURL:options:progress:completed: that should be canceled.
- */
-- (void)cancel:(nullable SDWebImageDownloadToken *)token;
-
-/**
- * Sets the download queue suspension state
- */
-- (void)setSuspended:(BOOL)suspended;
-
-/**
- * Cancels all download operations in the queue
- */
-- (void)cancelAllDownloads;
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m b/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m
deleted file mode 100644
index 189d163..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m
+++ /dev/null
@@ -1,315 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageDownloader.h"
-#import "SDWebImageDownloaderOperation.h"
-#import
-
-@implementation SDWebImageDownloadToken
-@end
-
-
-@interface SDWebImageDownloader ()
-
-@property (strong, nonatomic, nonnull) NSOperationQueue *downloadQueue;
-@property (weak, nonatomic, nullable) NSOperation *lastAddedOperation;
-@property (assign, nonatomic, nullable) Class operationClass;
-@property (strong, nonatomic, nonnull) NSMutableDictionary *URLOperations;
-@property (strong, nonatomic, nullable) SDHTTPHeadersMutableDictionary *HTTPHeaders;
-// This queue is used to serialize the handling of the network responses of all the download operation in a single queue
-@property (SDDispatchQueueSetterSementics, nonatomic, nullable) dispatch_queue_t barrierQueue;
-
-// The session in which data tasks will run
-@property (strong, nonatomic) NSURLSession *session;
-
-@end
-
-@implementation SDWebImageDownloader
-
-+ (void)initialize {
- // Bind SDNetworkActivityIndicator if available (download it here: http://github.com/rs/SDNetworkActivityIndicator )
- // To use it, just add #import "SDNetworkActivityIndicator.h" in addition to the SDWebImage import
- if (NSClassFromString(@"SDNetworkActivityIndicator")) {
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
- id activityIndicator = [NSClassFromString(@"SDNetworkActivityIndicator") performSelector:NSSelectorFromString(@"sharedActivityIndicator")];
-#pragma clang diagnostic pop
-
- // Remove observer in case it was previously added.
- [[NSNotificationCenter defaultCenter] removeObserver:activityIndicator name:SDWebImageDownloadStartNotification object:nil];
- [[NSNotificationCenter defaultCenter] removeObserver:activityIndicator name:SDWebImageDownloadStopNotification object:nil];
-
- [[NSNotificationCenter defaultCenter] addObserver:activityIndicator
- selector:NSSelectorFromString(@"startActivity")
- name:SDWebImageDownloadStartNotification object:nil];
- [[NSNotificationCenter defaultCenter] addObserver:activityIndicator
- selector:NSSelectorFromString(@"stopActivity")
- name:SDWebImageDownloadStopNotification object:nil];
- }
-}
-
-+ (nonnull instancetype)sharedDownloader {
- static dispatch_once_t once;
- static id instance;
- dispatch_once(&once, ^{
- instance = [self new];
- });
- return instance;
-}
-
-- (nonnull instancetype)init {
- return [self initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
-}
-
-- (nonnull instancetype)initWithSessionConfiguration:(nullable NSURLSessionConfiguration *)sessionConfiguration {
- if ((self = [super init])) {
- _operationClass = [SDWebImageDownloaderOperation class];
- _shouldDecompressImages = YES;
- _executionOrder = SDWebImageDownloaderFIFOExecutionOrder;
- _downloadQueue = [NSOperationQueue new];
- _downloadQueue.maxConcurrentOperationCount = 6;
- _downloadQueue.name = @"com.hackemist.SDWebImageDownloader";
- _URLOperations = [NSMutableDictionary new];
-#ifdef SD_WEBP
- _HTTPHeaders = [@{@"Accept": @"image/webp,image/*;q=0.8"} mutableCopy];
-#else
- _HTTPHeaders = [@{@"Accept": @"image/*;q=0.8"} mutableCopy];
-#endif
- _barrierQueue = dispatch_queue_create("com.hackemist.SDWebImageDownloaderBarrierQueue", DISPATCH_QUEUE_CONCURRENT);
- _downloadTimeout = 15.0;
-
- sessionConfiguration.timeoutIntervalForRequest = _downloadTimeout;
-
- /**
- * Create the session for this task
- * We send nil as delegate queue so that the session creates a serial operation queue for performing all delegate
- * method calls and completion handler calls.
- */
- self.session = [NSURLSession sessionWithConfiguration:sessionConfiguration
- delegate:self
- delegateQueue:nil];
- }
- return self;
-}
-
-- (void)dealloc {
- [self.session invalidateAndCancel];
- self.session = nil;
-
- [self.downloadQueue cancelAllOperations];
- SDDispatchQueueRelease(_barrierQueue);
-}
-
-- (void)setValue:(nullable NSString *)value forHTTPHeaderField:(nullable NSString *)field {
- if (value) {
- self.HTTPHeaders[field] = value;
- }
- else {
- [self.HTTPHeaders removeObjectForKey:field];
- }
-}
-
-- (nullable NSString *)valueForHTTPHeaderField:(nullable NSString *)field {
- return self.HTTPHeaders[field];
-}
-
-- (void)setMaxConcurrentDownloads:(NSInteger)maxConcurrentDownloads {
- _downloadQueue.maxConcurrentOperationCount = maxConcurrentDownloads;
-}
-
-- (NSUInteger)currentDownloadCount {
- return _downloadQueue.operationCount;
-}
-
-- (NSInteger)maxConcurrentDownloads {
- return _downloadQueue.maxConcurrentOperationCount;
-}
-
-- (void)setOperationClass:(nullable Class)operationClass {
- if (operationClass && [operationClass isSubclassOfClass:[NSOperation class]] && [operationClass conformsToProtocol:@protocol(SDWebImageDownloaderOperationInterface)]) {
- _operationClass = operationClass;
- } else {
- _operationClass = [SDWebImageDownloaderOperation class];
- }
-}
-
-- (nullable SDWebImageDownloadToken *)downloadImageWithURL:(nullable NSURL *)url
- options:(SDWebImageDownloaderOptions)options
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock {
- __weak SDWebImageDownloader *wself = self;
-
- return [self addProgressCallback:progressBlock completedBlock:completedBlock forURL:url createCallback:^SDWebImageDownloaderOperation *{
- __strong __typeof (wself) sself = wself;
- NSTimeInterval timeoutInterval = sself.downloadTimeout;
- if (timeoutInterval == 0.0) {
- timeoutInterval = 15.0;
- }
-
- // In order to prevent from potential duplicate caching (NSURLCache + SDImageCache) we disable the cache for image requests if told otherwise
- NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url cachePolicy:(options & SDWebImageDownloaderUseNSURLCache ? NSURLRequestUseProtocolCachePolicy : NSURLRequestReloadIgnoringLocalCacheData) timeoutInterval:timeoutInterval];
- request.HTTPShouldHandleCookies = (options & SDWebImageDownloaderHandleCookies);
- request.HTTPShouldUsePipelining = YES;
- if (sself.headersFilter) {
- request.allHTTPHeaderFields = sself.headersFilter(url, [sself.HTTPHeaders copy]);
- }
- else {
- request.allHTTPHeaderFields = sself.HTTPHeaders;
- }
- SDWebImageDownloaderOperation *operation = [[sself.operationClass alloc] initWithRequest:request inSession:sself.session options:options];
- operation.shouldDecompressImages = sself.shouldDecompressImages;
-
- if (sself.urlCredential) {
- operation.credential = sself.urlCredential;
- } else if (sself.username && sself.password) {
- operation.credential = [NSURLCredential credentialWithUser:sself.username password:sself.password persistence:NSURLCredentialPersistenceForSession];
- }
-
- if (options & SDWebImageDownloaderHighPriority) {
- operation.queuePriority = NSOperationQueuePriorityHigh;
- } else if (options & SDWebImageDownloaderLowPriority) {
- operation.queuePriority = NSOperationQueuePriorityLow;
- }
-
- [sself.downloadQueue addOperation:operation];
- if (sself.executionOrder == SDWebImageDownloaderLIFOExecutionOrder) {
- // Emulate LIFO execution order by systematically adding new operations as last operation's dependency
- [sself.lastAddedOperation addDependency:operation];
- sself.lastAddedOperation = operation;
- }
-
- return operation;
- }];
-}
-
-- (void)cancel:(nullable SDWebImageDownloadToken *)token {
- dispatch_barrier_async(self.barrierQueue, ^{
- SDWebImageDownloaderOperation *operation = self.URLOperations[token.url];
- BOOL canceled = [operation cancel:token.downloadOperationCancelToken];
- if (canceled) {
- [self.URLOperations removeObjectForKey:token.url];
- }
- });
-}
-
-- (nullable SDWebImageDownloadToken *)addProgressCallback:(SDWebImageDownloaderProgressBlock)progressBlock
- completedBlock:(SDWebImageDownloaderCompletedBlock)completedBlock
- forURL:(nullable NSURL *)url
- createCallback:(SDWebImageDownloaderOperation *(^)())createCallback {
- // The URL will be used as the key to the callbacks dictionary so it cannot be nil. If it is nil immediately call the completed block with no image or data.
- if (url == nil) {
- if (completedBlock != nil) {
- completedBlock(nil, nil, nil, NO);
- }
- return nil;
- }
-
- __block SDWebImageDownloadToken *token = nil;
-
- dispatch_barrier_sync(self.barrierQueue, ^{
- SDWebImageDownloaderOperation *operation = self.URLOperations[url];
- if (!operation) {
- operation = createCallback();
- self.URLOperations[url] = operation;
-
- __weak SDWebImageDownloaderOperation *woperation = operation;
- operation.completionBlock = ^{
- SDWebImageDownloaderOperation *soperation = woperation;
- if (!soperation) return;
- if (self.URLOperations[url] == soperation) {
- [self.URLOperations removeObjectForKey:url];
- };
- };
- }
- id downloadOperationCancelToken = [operation addHandlersForProgress:progressBlock completed:completedBlock];
-
- token = [SDWebImageDownloadToken new];
- token.url = url;
- token.downloadOperationCancelToken = downloadOperationCancelToken;
- });
-
- return token;
-}
-
-- (void)setSuspended:(BOOL)suspended {
- (self.downloadQueue).suspended = suspended;
-}
-
-- (void)cancelAllDownloads {
- [self.downloadQueue cancelAllOperations];
-}
-
-#pragma mark Helper methods
-
-- (SDWebImageDownloaderOperation *)operationWithTask:(NSURLSessionTask *)task {
- SDWebImageDownloaderOperation *returnOperation = nil;
- for (SDWebImageDownloaderOperation *operation in self.downloadQueue.operations) {
- if (operation.dataTask.taskIdentifier == task.taskIdentifier) {
- returnOperation = operation;
- break;
- }
- }
- return returnOperation;
-}
-
-#pragma mark NSURLSessionDataDelegate
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
-didReceiveResponse:(NSURLResponse *)response
- completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler {
-
- // Identify the operation that runs this task and pass it the delegate method
- SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:dataTask];
-
- [dataOperation URLSession:session dataTask:dataTask didReceiveResponse:response completionHandler:completionHandler];
-}
-
-- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data {
-
- // Identify the operation that runs this task and pass it the delegate method
- SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:dataTask];
-
- [dataOperation URLSession:session dataTask:dataTask didReceiveData:data];
-}
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
- willCacheResponse:(NSCachedURLResponse *)proposedResponse
- completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler {
-
- // Identify the operation that runs this task and pass it the delegate method
- SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:dataTask];
-
- [dataOperation URLSession:session dataTask:dataTask willCacheResponse:proposedResponse completionHandler:completionHandler];
-}
-
-#pragma mark NSURLSessionTaskDelegate
-
-- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error {
- // Identify the operation that runs this task and pass it the delegate method
- SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:task];
-
- [dataOperation URLSession:session task:task didCompleteWithError:error];
-}
-
-- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task willPerformHTTPRedirection:(NSHTTPURLResponse *)response newRequest:(NSURLRequest *)request completionHandler:(void (^)(NSURLRequest * _Nullable))completionHandler {
-
- completionHandler(request);
-}
-
-- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler {
-
- // Identify the operation that runs this task and pass it the delegate method
- SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:task];
-
- [dataOperation URLSession:session task:task didReceiveChallenge:challenge completionHandler:completionHandler];
-}
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h b/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h
deleted file mode 100644
index b190855..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h
+++ /dev/null
@@ -1,122 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import
-#import "SDWebImageDownloader.h"
-#import "SDWebImageOperation.h"
-
-extern NSString * _Nonnull const SDWebImageDownloadStartNotification;
-extern NSString * _Nonnull const SDWebImageDownloadReceiveResponseNotification;
-extern NSString * _Nonnull const SDWebImageDownloadStopNotification;
-extern NSString * _Nonnull const SDWebImageDownloadFinishNotification;
-
-
-
-/**
- Describes a downloader operation. If one wants to use a custom downloader op, it needs to inherit from `NSOperation` and conform to this protocol
- */
-@protocol SDWebImageDownloaderOperationInterface
-
-- (nonnull instancetype)initWithRequest:(nullable NSURLRequest *)request
- inSession:(nullable NSURLSession *)session
- options:(SDWebImageDownloaderOptions)options;
-
-- (nullable id)addHandlersForProgress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock;
-
-- (BOOL)shouldDecompressImages;
-- (void)setShouldDecompressImages:(BOOL)value;
-
-- (nullable NSURLCredential *)credential;
-- (void)setCredential:(nullable NSURLCredential *)value;
-
-@end
-
-
-@interface SDWebImageDownloaderOperation : NSOperation
-
-/**
- * The request used by the operation's task.
- */
-@property (strong, nonatomic, readonly, nullable) NSURLRequest *request;
-
-/**
- * The operation's task
- */
-@property (strong, nonatomic, readonly, nullable) NSURLSessionTask *dataTask;
-
-
-@property (assign, nonatomic) BOOL shouldDecompressImages;
-
-/**
- * Was used to determine whether the URL connection should consult the credential storage for authenticating the connection.
- * @deprecated Not used for a couple of versions
- */
-@property (nonatomic, assign) BOOL shouldUseCredentialStorage __deprecated_msg("Property deprecated. Does nothing. Kept only for backwards compatibility");
-
-/**
- * The credential used for authentication challenges in `-connection:didReceiveAuthenticationChallenge:`.
- *
- * This will be overridden by any shared credentials that exist for the username or password of the request URL, if present.
- */
-@property (nonatomic, strong, nullable) NSURLCredential *credential;
-
-/**
- * The SDWebImageDownloaderOptions for the receiver.
- */
-@property (assign, nonatomic, readonly) SDWebImageDownloaderOptions options;
-
-/**
- * The expected size of data.
- */
-@property (assign, nonatomic) NSInteger expectedSize;
-
-/**
- * The response returned by the operation's connection.
- */
-@property (strong, nonatomic, nullable) NSURLResponse *response;
-
-/**
- * Initializes a `SDWebImageDownloaderOperation` object
- *
- * @see SDWebImageDownloaderOperation
- *
- * @param request the URL request
- * @param session the URL session in which this operation will run
- * @param options downloader options
- *
- * @return the initialized instance
- */
-- (nonnull instancetype)initWithRequest:(nullable NSURLRequest *)request
- inSession:(nullable NSURLSession *)session
- options:(SDWebImageDownloaderOptions)options NS_DESIGNATED_INITIALIZER;
-
-/**
- * Adds handlers for progress and completion. Returns a tokent that can be passed to -cancel: to cancel this set of
- * callbacks.
- *
- * @param progressBlock the block executed when a new chunk of data arrives.
- * @note the progress block is executed on a background queue
- * @param completedBlock the block executed when the download is done.
- * @note the completed block is executed on the main queue for success. If errors are found, there is a chance the block will be executed on a background queue
- *
- * @return the token to use to cancel this set of handlers
- */
-- (nullable id)addHandlersForProgress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock;
-
-/**
- * Cancels a set of callbacks. Once all callbacks are canceled, the operation is cancelled.
- *
- * @param token the token representing a set of callbacks to cancel
- *
- * @return YES if the operation was stopped because this was the last token to be canceled. NO otherwise.
- */
-- (BOOL)cancel:(nullable id)token;
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m b/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m
deleted file mode 100644
index 63df1af..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m
+++ /dev/null
@@ -1,540 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageDownloaderOperation.h"
-#import "SDWebImageDecoder.h"
-#import "UIImage+MultiFormat.h"
-#import
-#import "SDWebImageManager.h"
-#import "NSImage+WebCache.h"
-
-NSString *const SDWebImageDownloadStartNotification = @"SDWebImageDownloadStartNotification";
-NSString *const SDWebImageDownloadReceiveResponseNotification = @"SDWebImageDownloadReceiveResponseNotification";
-NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNotification";
-NSString *const SDWebImageDownloadFinishNotification = @"SDWebImageDownloadFinishNotification";
-
-static NSString *const kProgressCallbackKey = @"progress";
-static NSString *const kCompletedCallbackKey = @"completed";
-
-typedef NSMutableDictionary SDCallbacksDictionary;
-
-@interface SDWebImageDownloaderOperation ()
-
-@property (strong, nonatomic, nonnull) NSMutableArray *callbackBlocks;
-
-@property (assign, nonatomic, getter = isExecuting) BOOL executing;
-@property (assign, nonatomic, getter = isFinished) BOOL finished;
-@property (strong, nonatomic, nullable) NSMutableData *imageData;
-
-// This is weak because it is injected by whoever manages this session. If this gets nil-ed out, we won't be able to run
-// the task associated with this operation
-@property (weak, nonatomic, nullable) NSURLSession *unownedSession;
-// This is set if we're using not using an injected NSURLSession. We're responsible of invalidating this one
-@property (strong, nonatomic, nullable) NSURLSession *ownedSession;
-
-@property (strong, nonatomic, readwrite, nullable) NSURLSessionTask *dataTask;
-
-@property (SDDispatchQueueSetterSementics, nonatomic, nullable) dispatch_queue_t barrierQueue;
-
-#if SD_UIKIT
-@property (assign, nonatomic) UIBackgroundTaskIdentifier backgroundTaskId;
-#endif
-
-@end
-
-@implementation SDWebImageDownloaderOperation {
- size_t width, height;
-#if SD_UIKIT || SD_WATCH
- UIImageOrientation orientation;
-#endif
- BOOL responseFromCached;
-}
-
-@synthesize executing = _executing;
-@synthesize finished = _finished;
-
-- (nonnull instancetype)init {
- return [self initWithRequest:nil inSession:nil options:0];
-}
-
-- (nonnull instancetype)initWithRequest:(nullable NSURLRequest *)request
- inSession:(nullable NSURLSession *)session
- options:(SDWebImageDownloaderOptions)options {
- if ((self = [super init])) {
- _request = [request copy];
- _shouldDecompressImages = YES;
- _options = options;
- _callbackBlocks = [NSMutableArray new];
- _executing = NO;
- _finished = NO;
- _expectedSize = 0;
- _unownedSession = session;
- responseFromCached = YES; // Initially wrong until `- URLSession:dataTask:willCacheResponse:completionHandler: is called or not called
- _barrierQueue = dispatch_queue_create("com.hackemist.SDWebImageDownloaderOperationBarrierQueue", DISPATCH_QUEUE_CONCURRENT);
- }
- return self;
-}
-
-- (void)dealloc {
- SDDispatchQueueRelease(_barrierQueue);
-}
-
-- (nullable id)addHandlersForProgress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock {
- SDCallbacksDictionary *callbacks = [NSMutableDictionary new];
- if (progressBlock) callbacks[kProgressCallbackKey] = [progressBlock copy];
- if (completedBlock) callbacks[kCompletedCallbackKey] = [completedBlock copy];
- dispatch_barrier_async(self.barrierQueue, ^{
- [self.callbackBlocks addObject:callbacks];
- });
- return callbacks;
-}
-
-- (nullable NSArray *)callbacksForKey:(NSString *)key {
- __block NSMutableArray *callbacks = nil;
- dispatch_sync(self.barrierQueue, ^{
- // We need to remove [NSNull null] because there might not always be a progress block for each callback
- callbacks = [[self.callbackBlocks valueForKey:key] mutableCopy];
- [callbacks removeObjectIdenticalTo:[NSNull null]];
- });
- return [callbacks copy]; // strip mutability here
-}
-
-- (BOOL)cancel:(nullable id)token {
- __block BOOL shouldCancel = NO;
- dispatch_barrier_sync(self.barrierQueue, ^{
- [self.callbackBlocks removeObjectIdenticalTo:token];
- if (self.callbackBlocks.count == 0) {
- shouldCancel = YES;
- }
- });
- if (shouldCancel) {
- [self cancel];
- }
- return shouldCancel;
-}
-
-- (void)start {
- @synchronized (self) {
- if (self.isCancelled) {
- self.finished = YES;
- [self reset];
- return;
- }
-
-#if SD_UIKIT
- Class UIApplicationClass = NSClassFromString(@"UIApplication");
- BOOL hasApplication = UIApplicationClass && [UIApplicationClass respondsToSelector:@selector(sharedApplication)];
- if (hasApplication && [self shouldContinueWhenAppEntersBackground]) {
- __weak __typeof__ (self) wself = self;
- UIApplication * app = [UIApplicationClass performSelector:@selector(sharedApplication)];
- self.backgroundTaskId = [app beginBackgroundTaskWithExpirationHandler:^{
- __strong __typeof (wself) sself = wself;
-
- if (sself) {
- [sself cancel];
-
- [app endBackgroundTask:sself.backgroundTaskId];
- sself.backgroundTaskId = UIBackgroundTaskInvalid;
- }
- }];
- }
-#endif
- NSURLSession *session = self.unownedSession;
- if (!self.unownedSession) {
- NSURLSessionConfiguration *sessionConfig = [NSURLSessionConfiguration defaultSessionConfiguration];
- sessionConfig.timeoutIntervalForRequest = 15;
-
- /**
- * Create the session for this task
- * We send nil as delegate queue so that the session creates a serial operation queue for performing all delegate
- * method calls and completion handler calls.
- */
- self.ownedSession = [NSURLSession sessionWithConfiguration:sessionConfig
- delegate:self
- delegateQueue:nil];
- session = self.ownedSession;
- }
-
- self.dataTask = [session dataTaskWithRequest:self.request];
- self.executing = YES;
- }
-
- [self.dataTask resume];
-
- if (self.dataTask) {
- for (SDWebImageDownloaderProgressBlock progressBlock in [self callbacksForKey:kProgressCallbackKey]) {
- progressBlock(0, NSURLResponseUnknownLength, self.request.URL);
- }
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:self];
- });
- } else {
- [self callCompletionBlocksWithError:[NSError errorWithDomain:NSURLErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @"Connection can't be initialized"}]];
- }
-
-#if SD_UIKIT
- Class UIApplicationClass = NSClassFromString(@"UIApplication");
- if(!UIApplicationClass || ![UIApplicationClass respondsToSelector:@selector(sharedApplication)]) {
- return;
- }
- if (self.backgroundTaskId != UIBackgroundTaskInvalid) {
- UIApplication * app = [UIApplication performSelector:@selector(sharedApplication)];
- [app endBackgroundTask:self.backgroundTaskId];
- self.backgroundTaskId = UIBackgroundTaskInvalid;
- }
-#endif
-}
-
-- (void)cancel {
- @synchronized (self) {
- [self cancelInternal];
- }
-}
-
-- (void)cancelInternal {
- if (self.isFinished) return;
- [super cancel];
-
- if (self.dataTask) {
- [self.dataTask cancel];
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self];
- });
-
- // As we cancelled the connection, its callback won't be called and thus won't
- // maintain the isFinished and isExecuting flags.
- if (self.isExecuting) self.executing = NO;
- if (!self.isFinished) self.finished = YES;
- }
-
- [self reset];
-}
-
-- (void)done {
- self.finished = YES;
- self.executing = NO;
- [self reset];
-}
-
-- (void)reset {
- dispatch_barrier_async(self.barrierQueue, ^{
- [self.callbackBlocks removeAllObjects];
- });
- self.dataTask = nil;
- self.imageData = nil;
- if (self.ownedSession) {
- [self.ownedSession invalidateAndCancel];
- self.ownedSession = nil;
- }
-}
-
-- (void)setFinished:(BOOL)finished {
- [self willChangeValueForKey:@"isFinished"];
- _finished = finished;
- [self didChangeValueForKey:@"isFinished"];
-}
-
-- (void)setExecuting:(BOOL)executing {
- [self willChangeValueForKey:@"isExecuting"];
- _executing = executing;
- [self didChangeValueForKey:@"isExecuting"];
-}
-
-- (BOOL)isConcurrent {
- return YES;
-}
-
-#pragma mark NSURLSessionDataDelegate
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
-didReceiveResponse:(NSURLResponse *)response
- completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler {
-
- //'304 Not Modified' is an exceptional one
- if (![response respondsToSelector:@selector(statusCode)] || (((NSHTTPURLResponse *)response).statusCode < 400 && ((NSHTTPURLResponse *)response).statusCode != 304)) {
- NSInteger expected = response.expectedContentLength > 0 ? (NSInteger)response.expectedContentLength : 0;
- self.expectedSize = expected;
- for (SDWebImageDownloaderProgressBlock progressBlock in [self callbacksForKey:kProgressCallbackKey]) {
- progressBlock(0, expected, self.request.URL);
- }
-
- self.imageData = [[NSMutableData alloc] initWithCapacity:expected];
- self.response = response;
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadReceiveResponseNotification object:self];
- });
- }
- else {
- NSUInteger code = ((NSHTTPURLResponse *)response).statusCode;
-
- //This is the case when server returns '304 Not Modified'. It means that remote image is not changed.
- //In case of 304 we need just cancel the operation and return cached image from the cache.
- if (code == 304) {
- [self cancelInternal];
- } else {
- [self.dataTask cancel];
- }
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self];
- });
-
- [self callCompletionBlocksWithError:[NSError errorWithDomain:NSURLErrorDomain code:((NSHTTPURLResponse *)response).statusCode userInfo:nil]];
-
- [self done];
- }
-
- if (completionHandler) {
- completionHandler(NSURLSessionResponseAllow);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data {
- [self.imageData appendData:data];
-
- if ((self.options & SDWebImageDownloaderProgressiveDownload) && self.expectedSize > 0) {
- // The following code is from http://www.cocoaintheshell.com/2011/05/progressive-images-download-imageio/
- // Thanks to the author @Nyx0uf
-
- // Get the total bytes downloaded
- const NSInteger totalSize = self.imageData.length;
-
- // Update the data source, we must pass ALL the data, not just the new bytes
- CGImageSourceRef imageSource = CGImageSourceCreateWithData((__bridge CFDataRef)self.imageData, NULL);
-
- if (width + height == 0) {
- CFDictionaryRef properties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, NULL);
- if (properties) {
- NSInteger orientationValue = -1;
- CFTypeRef val = CFDictionaryGetValue(properties, kCGImagePropertyPixelHeight);
- if (val) CFNumberGetValue(val, kCFNumberLongType, &height);
- val = CFDictionaryGetValue(properties, kCGImagePropertyPixelWidth);
- if (val) CFNumberGetValue(val, kCFNumberLongType, &width);
- val = CFDictionaryGetValue(properties, kCGImagePropertyOrientation);
- if (val) CFNumberGetValue(val, kCFNumberNSIntegerType, &orientationValue);
- CFRelease(properties);
-
- // When we draw to Core Graphics, we lose orientation information,
- // which means the image below born of initWithCGIImage will be
- // oriented incorrectly sometimes. (Unlike the image born of initWithData
- // in didCompleteWithError.) So save it here and pass it on later.
-#if SD_UIKIT || SD_WATCH
- orientation = [[self class] orientationFromPropertyValue:(orientationValue == -1 ? 1 : orientationValue)];
-#endif
- }
- }
-
- if (width + height > 0 && totalSize < self.expectedSize) {
- // Create the image
- CGImageRef partialImageRef = CGImageSourceCreateImageAtIndex(imageSource, 0, NULL);
-
-#if SD_UIKIT || SD_WATCH
- // Workaround for iOS anamorphic image
- if (partialImageRef) {
- const size_t partialHeight = CGImageGetHeight(partialImageRef);
- CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
- CGContextRef bmContext = CGBitmapContextCreate(NULL, width, height, 8, width * 4, colorSpace, kCGBitmapByteOrderDefault | kCGImageAlphaPremultipliedFirst);
- CGColorSpaceRelease(colorSpace);
- if (bmContext) {
- CGContextDrawImage(bmContext, (CGRect){.origin.x = 0.0f, .origin.y = 0.0f, .size.width = width, .size.height = partialHeight}, partialImageRef);
- CGImageRelease(partialImageRef);
- partialImageRef = CGBitmapContextCreateImage(bmContext);
- CGContextRelease(bmContext);
- }
- else {
- CGImageRelease(partialImageRef);
- partialImageRef = nil;
- }
- }
-#endif
-
- if (partialImageRef) {
-#if SD_UIKIT || SD_WATCH
- UIImage *image = [UIImage imageWithCGImage:partialImageRef scale:1 orientation:orientation];
-#elif SD_MAC
- UIImage *image = [[UIImage alloc] initWithCGImage:partialImageRef size:NSZeroSize];
-#endif
- NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.request.URL];
- UIImage *scaledImage = [self scaledImageForKey:key image:image];
- if (self.shouldDecompressImages) {
- image = [UIImage decodedImageWithImage:scaledImage];
- }
- else {
- image = scaledImage;
- }
- CGImageRelease(partialImageRef);
-
- [self callCompletionBlocksWithImage:image imageData:nil error:nil finished:NO];
- }
- }
-
- CFRelease(imageSource);
- }
-
- for (SDWebImageDownloaderProgressBlock progressBlock in [self callbacksForKey:kProgressCallbackKey]) {
- progressBlock(self.imageData.length, self.expectedSize, self.request.URL);
- }
-}
-
-- (void)URLSession:(NSURLSession *)session
- dataTask:(NSURLSessionDataTask *)dataTask
- willCacheResponse:(NSCachedURLResponse *)proposedResponse
- completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler {
-
- responseFromCached = NO; // If this method is called, it means the response wasn't read from cache
- NSCachedURLResponse *cachedResponse = proposedResponse;
-
- if (self.request.cachePolicy == NSURLRequestReloadIgnoringLocalCacheData) {
- // Prevents caching of responses
- cachedResponse = nil;
- }
- if (completionHandler) {
- completionHandler(cachedResponse);
- }
-}
-
-#pragma mark NSURLSessionTaskDelegate
-
-- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error {
- @synchronized(self) {
- self.dataTask = nil;
- dispatch_async(dispatch_get_main_queue(), ^{
- [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self];
- if (!error) {
- [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadFinishNotification object:self];
- }
- });
- }
-
- if (error) {
- [self callCompletionBlocksWithError:error];
- } else {
- if ([self callbacksForKey:kCompletedCallbackKey].count > 0) {
- /**
- * See #1608 and #1623 - apparently, there is a race condition on `NSURLCache` that causes a crash
- * Limited the calls to `cachedResponseForRequest:` only for cases where we should ignore the cached response
- * and images for which responseFromCached is YES (only the ones that cannot be cached).
- * Note: responseFromCached is set to NO inside `willCacheResponse:`. This method doesn't get called for large images or images behind authentication
- */
- if (self.options & SDWebImageDownloaderIgnoreCachedResponse && responseFromCached && [[NSURLCache sharedURLCache] cachedResponseForRequest:self.request]) {
- // hack
- [self callCompletionBlocksWithImage:nil imageData:nil error:nil finished:YES];
- } else if (self.imageData) {
- UIImage *image = [UIImage sd_imageWithData:self.imageData];
- NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.request.URL];
- image = [self scaledImageForKey:key image:image];
-
- // Do not force decoding animated GIFs
- if (!image.images) {
- if (self.shouldDecompressImages) {
- if (self.options & SDWebImageDownloaderScaleDownLargeImages) {
-#if SD_UIKIT || SD_WATCH
- image = [UIImage decodedAndScaledDownImageWithImage:image];
- [self.imageData setData:UIImagePNGRepresentation(image)];
-#endif
- } else {
- image = [UIImage decodedImageWithImage:image];
- }
- }
- }
- if (CGSizeEqualToSize(image.size, CGSizeZero)) {
- [self callCompletionBlocksWithError:[NSError errorWithDomain:SDWebImageErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @"Downloaded image has 0 pixels"}]];
- } else {
- [self callCompletionBlocksWithImage:image imageData:self.imageData error:nil finished:YES];
- }
- } else {
- [self callCompletionBlocksWithError:[NSError errorWithDomain:SDWebImageErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @"Image data is nil"}]];
- }
- }
- }
- [self done];
-}
-
-- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler {
-
- NSURLSessionAuthChallengeDisposition disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- __block NSURLCredential *credential = nil;
-
- if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) {
- if (!(self.options & SDWebImageDownloaderAllowInvalidSSLCertificates)) {
- disposition = NSURLSessionAuthChallengePerformDefaultHandling;
- } else {
- credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust];
- disposition = NSURLSessionAuthChallengeUseCredential;
- }
- } else {
- if (challenge.previousFailureCount == 0) {
- if (self.credential) {
- credential = self.credential;
- disposition = NSURLSessionAuthChallengeUseCredential;
- } else {
- disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge;
- }
- } else {
- disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge;
- }
- }
-
- if (completionHandler) {
- completionHandler(disposition, credential);
- }
-}
-
-#pragma mark Helper methods
-
-#if SD_UIKIT || SD_WATCH
-+ (UIImageOrientation)orientationFromPropertyValue:(NSInteger)value {
- switch (value) {
- case 1:
- return UIImageOrientationUp;
- case 3:
- return UIImageOrientationDown;
- case 8:
- return UIImageOrientationLeft;
- case 6:
- return UIImageOrientationRight;
- case 2:
- return UIImageOrientationUpMirrored;
- case 4:
- return UIImageOrientationDownMirrored;
- case 5:
- return UIImageOrientationLeftMirrored;
- case 7:
- return UIImageOrientationRightMirrored;
- default:
- return UIImageOrientationUp;
- }
-}
-#endif
-
-- (nullable UIImage *)scaledImageForKey:(nullable NSString *)key image:(nullable UIImage *)image {
- return SDScaledImageForKey(key, image);
-}
-
-- (BOOL)shouldContinueWhenAppEntersBackground {
- return self.options & SDWebImageDownloaderContinueInBackground;
-}
-
-- (void)callCompletionBlocksWithError:(nullable NSError *)error {
- [self callCompletionBlocksWithImage:nil imageData:nil error:error finished:YES];
-}
-
-- (void)callCompletionBlocksWithImage:(nullable UIImage *)image
- imageData:(nullable NSData *)imageData
- error:(nullable NSError *)error
- finished:(BOOL)finished {
- NSArray *completionBlocks = [self callbacksForKey:kCompletedCallbackKey];
- dispatch_main_async_safe(^{
- for (SDWebImageDownloaderCompletedBlock completedBlock in completionBlocks) {
- completedBlock(image, imageData, error, finished);
- }
- });
-}
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageManager.h b/Pods/SDWebImage/SDWebImage/SDWebImageManager.h
deleted file mode 100644
index d8be2c3..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageManager.h
+++ /dev/null
@@ -1,275 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageCompat.h"
-#import "SDWebImageOperation.h"
-#import "SDWebImageDownloader.h"
-#import "SDImageCache.h"
-
-typedef NS_OPTIONS(NSUInteger, SDWebImageOptions) {
- /**
- * By default, when a URL fail to be downloaded, the URL is blacklisted so the library won't keep trying.
- * This flag disable this blacklisting.
- */
- SDWebImageRetryFailed = 1 << 0,
-
- /**
- * By default, image downloads are started during UI interactions, this flags disable this feature,
- * leading to delayed download on UIScrollView deceleration for instance.
- */
- SDWebImageLowPriority = 1 << 1,
-
- /**
- * This flag disables on-disk caching
- */
- SDWebImageCacheMemoryOnly = 1 << 2,
-
- /**
- * This flag enables progressive download, the image is displayed progressively during download as a browser would do.
- * By default, the image is only displayed once completely downloaded.
- */
- SDWebImageProgressiveDownload = 1 << 3,
-
- /**
- * Even if the image is cached, respect the HTTP response cache control, and refresh the image from remote location if needed.
- * The disk caching will be handled by NSURLCache instead of SDWebImage leading to slight performance degradation.
- * This option helps deal with images changing behind the same request URL, e.g. Facebook graph api profile pics.
- * If a cached image is refreshed, the completion block is called once with the cached image and again with the final image.
- *
- * Use this flag only if you can't make your URLs static with embedded cache busting parameter.
- */
- SDWebImageRefreshCached = 1 << 4,
-
- /**
- * In iOS 4+, continue the download of the image if the app goes to background. This is achieved by asking the system for
- * extra time in background to let the request finish. If the background task expires the operation will be cancelled.
- */
- SDWebImageContinueInBackground = 1 << 5,
-
- /**
- * Handles cookies stored in NSHTTPCookieStore by setting
- * NSMutableURLRequest.HTTPShouldHandleCookies = YES;
- */
- SDWebImageHandleCookies = 1 << 6,
-
- /**
- * Enable to allow untrusted SSL certificates.
- * Useful for testing purposes. Use with caution in production.
- */
- SDWebImageAllowInvalidSSLCertificates = 1 << 7,
-
- /**
- * By default, images are loaded in the order in which they were queued. This flag moves them to
- * the front of the queue.
- */
- SDWebImageHighPriority = 1 << 8,
-
- /**
- * By default, placeholder images are loaded while the image is loading. This flag will delay the loading
- * of the placeholder image until after the image has finished loading.
- */
- SDWebImageDelayPlaceholder = 1 << 9,
-
- /**
- * We usually don't call transformDownloadedImage delegate method on animated images,
- * as most transformation code would mangle it.
- * Use this flag to transform them anyway.
- */
- SDWebImageTransformAnimatedImage = 1 << 10,
-
- /**
- * By default, image is added to the imageView after download. But in some cases, we want to
- * have the hand before setting the image (apply a filter or add it with cross-fade animation for instance)
- * Use this flag if you want to manually set the image in the completion when success
- */
- SDWebImageAvoidAutoSetImage = 1 << 11,
-
- /**
- * By default, images are decoded respecting their original size. On iOS, this flag will scale down the
- * images to a size compatible with the constrained memory of devices.
- * If `SDWebImageProgressiveDownload` flag is set the scale down is deactivated.
- */
- SDWebImageScaleDownLargeImages = 1 << 12
-};
-
-typedef void(^SDExternalCompletionBlock)(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL);
-
-typedef void(^SDInternalCompletionBlock)(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, SDImageCacheType cacheType, BOOL finished, NSURL * _Nullable imageURL);
-
-typedef NSString * _Nullable (^SDWebImageCacheKeyFilterBlock)(NSURL * _Nullable url);
-
-
-@class SDWebImageManager;
-
-@protocol SDWebImageManagerDelegate
-
-@optional
-
-/**
- * Controls which image should be downloaded when the image is not found in the cache.
- *
- * @param imageManager The current `SDWebImageManager`
- * @param imageURL The url of the image to be downloaded
- *
- * @return Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied.
- */
-- (BOOL)imageManager:(nonnull SDWebImageManager *)imageManager shouldDownloadImageForURL:(nullable NSURL *)imageURL;
-
-/**
- * Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory.
- * NOTE: This method is called from a global queue in order to not to block the main thread.
- *
- * @param imageManager The current `SDWebImageManager`
- * @param image The image to transform
- * @param imageURL The url of the image to transform
- *
- * @return The transformed image object.
- */
-- (nullable UIImage *)imageManager:(nonnull SDWebImageManager *)imageManager transformDownloadedImage:(nullable UIImage *)image withURL:(nullable NSURL *)imageURL;
-
-@end
-
-/**
- * The SDWebImageManager is the class behind the UIImageView+WebCache category and likes.
- * It ties the asynchronous downloader (SDWebImageDownloader) with the image cache store (SDImageCache).
- * You can use this class directly to benefit from web image downloading with caching in another context than
- * a UIView.
- *
- * Here is a simple example of how to use SDWebImageManager:
- *
- * @code
-
-SDWebImageManager *manager = [SDWebImageManager sharedManager];
-[manager loadImageWithURL:imageURL
- options:0
- progress:nil
- completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {
- if (image) {
- // do something with image
- }
- }];
-
- * @endcode
- */
-@interface SDWebImageManager : NSObject
-
-@property (weak, nonatomic, nullable) id delegate;
-
-@property (strong, nonatomic, readonly, nullable) SDImageCache *imageCache;
-@property (strong, nonatomic, readonly, nullable) SDWebImageDownloader *imageDownloader;
-
-/**
- * The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can
- * be used to remove dynamic part of an image URL.
- *
- * The following example sets a filter in the application delegate that will remove any query-string from the
- * URL before to use it as a cache key:
- *
- * @code
-
-[[SDWebImageManager sharedManager] setCacheKeyFilter:^(NSURL *url) {
- url = [[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path];
- return [url absoluteString];
-}];
-
- * @endcode
- */
-@property (nonatomic, copy, nullable) SDWebImageCacheKeyFilterBlock cacheKeyFilter;
-
-/**
- * Returns global SDWebImageManager instance.
- *
- * @return SDWebImageManager shared instance
- */
-+ (nonnull instancetype)sharedManager;
-
-/**
- * Allows to specify instance of cache and image downloader used with image manager.
- * @return new instance of `SDWebImageManager` with specified cache and downloader.
- */
-- (nonnull instancetype)initWithCache:(nonnull SDImageCache *)cache downloader:(nonnull SDWebImageDownloader *)downloader;
-
-/**
- * Downloads the image at the given URL if not present in cache or return the cached version otherwise.
- *
- * @param url The URL to the image
- * @param options A mask to specify options to use for this request
- * @param progressBlock A block called while image is downloading
- * @note the progress block is executed on a background queue
- * @param completedBlock A block called when operation has been completed.
- *
- * This parameter is required.
- *
- * This block has no return value and takes the requested UIImage as first parameter and the NSData representation as second parameter.
- * In case of error the image parameter is nil and the third parameter may contain an NSError.
- *
- * The forth parameter is an `SDImageCacheType` enum indicating if the image was retrieved from the local cache
- * or from the memory cache or from the network.
- *
- * The fith parameter is set to NO when the SDWebImageProgressiveDownload option is used and the image is
- * downloading. This block is thus called repeatedly with a partial image. When image is fully downloaded, the
- * block is called a last time with the full image and the last parameter set to YES.
- *
- * The last parameter is the original image URL
- *
- * @return Returns an NSObject conforming to SDWebImageOperation. Should be an instance of SDWebImageDownloaderOperation
- */
-- (nullable id )loadImageWithURL:(nullable NSURL *)url
- options:(SDWebImageOptions)options
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDInternalCompletionBlock)completedBlock;
-
-/**
- * Saves image to cache for given URL
- *
- * @param image The image to cache
- * @param url The URL to the image
- *
- */
-
-- (void)saveImageToCache:(nullable UIImage *)image forURL:(nullable NSURL *)url;
-
-/**
- * Cancel all current operations
- */
-- (void)cancelAll;
-
-/**
- * Check one or more operations running
- */
-- (BOOL)isRunning;
-
-/**
- * Async check if image has already been cached
- *
- * @param url image url
- * @param completionBlock the block to be executed when the check is finished
- *
- * @note the completion block is always executed on the main queue
- */
-- (void)cachedImageExistsForURL:(nullable NSURL *)url
- completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock;
-
-/**
- * Async check if image has already been cached on disk only
- *
- * @param url image url
- * @param completionBlock the block to be executed when the check is finished
- *
- * @note the completion block is always executed on the main queue
- */
-- (void)diskImageExistsForURL:(nullable NSURL *)url
- completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock;
-
-
-/**
- *Return the cache key for a given URL
- */
-- (nullable NSString *)cacheKeyForURL:(nullable NSURL *)url;
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageManager.m b/Pods/SDWebImage/SDWebImage/SDWebImageManager.m
deleted file mode 100644
index 8227322..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageManager.m
+++ /dev/null
@@ -1,337 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageManager.h"
-#import
-#import "NSImage+WebCache.h"
-
-@interface SDWebImageCombinedOperation : NSObject
-
-@property (assign, nonatomic, getter = isCancelled) BOOL cancelled;
-@property (copy, nonatomic, nullable) SDWebImageNoParamsBlock cancelBlock;
-@property (strong, nonatomic, nullable) NSOperation *cacheOperation;
-
-@end
-
-@interface SDWebImageManager ()
-
-@property (strong, nonatomic, readwrite, nonnull) SDImageCache *imageCache;
-@property (strong, nonatomic, readwrite, nonnull) SDWebImageDownloader *imageDownloader;
-@property (strong, nonatomic, nonnull) NSMutableSet *failedURLs;
-@property (strong, nonatomic, nonnull) NSMutableArray *runningOperations;
-
-@end
-
-@implementation SDWebImageManager
-
-+ (nonnull instancetype)sharedManager {
- static dispatch_once_t once;
- static id instance;
- dispatch_once(&once, ^{
- instance = [self new];
- });
- return instance;
-}
-
-- (nonnull instancetype)init {
- SDImageCache *cache = [SDImageCache sharedImageCache];
- SDWebImageDownloader *downloader = [SDWebImageDownloader sharedDownloader];
- return [self initWithCache:cache downloader:downloader];
-}
-
-- (nonnull instancetype)initWithCache:(nonnull SDImageCache *)cache downloader:(nonnull SDWebImageDownloader *)downloader {
- if ((self = [super init])) {
- _imageCache = cache;
- _imageDownloader = downloader;
- _failedURLs = [NSMutableSet new];
- _runningOperations = [NSMutableArray new];
- }
- return self;
-}
-
-- (nullable NSString *)cacheKeyForURL:(nullable NSURL *)url {
- if (!url) {
- return @"";
- }
-
- if (self.cacheKeyFilter) {
- return self.cacheKeyFilter(url);
- } else {
- return url.absoluteString;
- }
-}
-
-- (void)cachedImageExistsForURL:(nullable NSURL *)url
- completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock {
- NSString *key = [self cacheKeyForURL:url];
-
- BOOL isInMemoryCache = ([self.imageCache imageFromMemoryCacheForKey:key] != nil);
-
- if (isInMemoryCache) {
- // making sure we call the completion block on the main queue
- dispatch_async(dispatch_get_main_queue(), ^{
- if (completionBlock) {
- completionBlock(YES);
- }
- });
- return;
- }
-
- [self.imageCache diskImageExistsWithKey:key completion:^(BOOL isInDiskCache) {
- // the completion block of checkDiskCacheForImageWithKey:completion: is always called on the main queue, no need to further dispatch
- if (completionBlock) {
- completionBlock(isInDiskCache);
- }
- }];
-}
-
-- (void)diskImageExistsForURL:(nullable NSURL *)url
- completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock {
- NSString *key = [self cacheKeyForURL:url];
-
- [self.imageCache diskImageExistsWithKey:key completion:^(BOOL isInDiskCache) {
- // the completion block of checkDiskCacheForImageWithKey:completion: is always called on the main queue, no need to further dispatch
- if (completionBlock) {
- completionBlock(isInDiskCache);
- }
- }];
-}
-
-- (id )loadImageWithURL:(nullable NSURL *)url
- options:(SDWebImageOptions)options
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDInternalCompletionBlock)completedBlock {
- // Invoking this method without a completedBlock is pointless
- NSAssert(completedBlock != nil, @"If you mean to prefetch the image, use -[SDWebImagePrefetcher prefetchURLs] instead");
-
- // Very common mistake is to send the URL using NSString object instead of NSURL. For some strange reason, XCode won't
- // throw any warning for this type mismatch. Here we failsafe this error by allowing URLs to be passed as NSString.
- if ([url isKindOfClass:NSString.class]) {
- url = [NSURL URLWithString:(NSString *)url];
- }
-
- // Prevents app crashing on argument type error like sending NSNull instead of NSURL
- if (![url isKindOfClass:NSURL.class]) {
- url = nil;
- }
-
- __block SDWebImageCombinedOperation *operation = [SDWebImageCombinedOperation new];
- __weak SDWebImageCombinedOperation *weakOperation = operation;
-
- BOOL isFailedUrl = NO;
- if (url) {
- @synchronized (self.failedURLs) {
- isFailedUrl = [self.failedURLs containsObject:url];
- }
- }
-
- if (url.absoluteString.length == 0 || (!(options & SDWebImageRetryFailed) && isFailedUrl)) {
- [self callCompletionBlockForOperation:operation completion:completedBlock error:[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorFileDoesNotExist userInfo:nil] url:url];
- return operation;
- }
-
- @synchronized (self.runningOperations) {
- [self.runningOperations addObject:operation];
- }
- NSString *key = [self cacheKeyForURL:url];
-
- operation.cacheOperation = [self.imageCache queryCacheOperationForKey:key done:^(UIImage *cachedImage, NSData *cachedData, SDImageCacheType cacheType) {
- if (operation.isCancelled) {
- [self safelyRemoveOperationFromRunning:operation];
- return;
- }
-
- if ((!cachedImage || options & SDWebImageRefreshCached) && (![self.delegate respondsToSelector:@selector(imageManager:shouldDownloadImageForURL:)] || [self.delegate imageManager:self shouldDownloadImageForURL:url])) {
- if (cachedImage && options & SDWebImageRefreshCached) {
- // If image was found in the cache but SDWebImageRefreshCached is provided, notify about the cached image
- // AND try to re-download it in order to let a chance to NSURLCache to refresh it from server.
- [self callCompletionBlockForOperation:weakOperation completion:completedBlock image:cachedImage data:cachedData error:nil cacheType:cacheType finished:YES url:url];
- }
-
- // download if no image or requested to refresh anyway, and download allowed by delegate
- SDWebImageDownloaderOptions downloaderOptions = 0;
- if (options & SDWebImageLowPriority) downloaderOptions |= SDWebImageDownloaderLowPriority;
- if (options & SDWebImageProgressiveDownload) downloaderOptions |= SDWebImageDownloaderProgressiveDownload;
- if (options & SDWebImageRefreshCached) downloaderOptions |= SDWebImageDownloaderUseNSURLCache;
- if (options & SDWebImageContinueInBackground) downloaderOptions |= SDWebImageDownloaderContinueInBackground;
- if (options & SDWebImageHandleCookies) downloaderOptions |= SDWebImageDownloaderHandleCookies;
- if (options & SDWebImageAllowInvalidSSLCertificates) downloaderOptions |= SDWebImageDownloaderAllowInvalidSSLCertificates;
- if (options & SDWebImageHighPriority) downloaderOptions |= SDWebImageDownloaderHighPriority;
- if (options & SDWebImageScaleDownLargeImages) downloaderOptions |= SDWebImageDownloaderScaleDownLargeImages;
-
- if (cachedImage && options & SDWebImageRefreshCached) {
- // force progressive off if image already cached but forced refreshing
- downloaderOptions &= ~SDWebImageDownloaderProgressiveDownload;
- // ignore image read from NSURLCache if image if cached but force refreshing
- downloaderOptions |= SDWebImageDownloaderIgnoreCachedResponse;
- }
-
- SDWebImageDownloadToken *subOperationToken = [self.imageDownloader downloadImageWithURL:url options:downloaderOptions progress:progressBlock completed:^(UIImage *downloadedImage, NSData *downloadedData, NSError *error, BOOL finished) {
- __strong __typeof(weakOperation) strongOperation = weakOperation;
- if (!strongOperation || strongOperation.isCancelled) {
- // Do nothing if the operation was cancelled
- // See #699 for more details
- // if we would call the completedBlock, there could be a race condition between this block and another completedBlock for the same object, so if this one is called second, we will overwrite the new data
- } else if (error) {
- [self callCompletionBlockForOperation:strongOperation completion:completedBlock error:error url:url];
-
- if ( error.code != NSURLErrorNotConnectedToInternet
- && error.code != NSURLErrorCancelled
- && error.code != NSURLErrorTimedOut
- && error.code != NSURLErrorInternationalRoamingOff
- && error.code != NSURLErrorDataNotAllowed
- && error.code != NSURLErrorCannotFindHost
- && error.code != NSURLErrorCannotConnectToHost) {
- @synchronized (self.failedURLs) {
- [self.failedURLs addObject:url];
- }
- }
- }
- else {
- if ((options & SDWebImageRetryFailed)) {
- @synchronized (self.failedURLs) {
- [self.failedURLs removeObject:url];
- }
- }
-
- BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly);
-
- if (options & SDWebImageRefreshCached && cachedImage && !downloadedImage) {
- // Image refresh hit the NSURLCache cache, do not call the completion block
- } else if (downloadedImage && (!downloadedImage.images || (options & SDWebImageTransformAnimatedImage)) && [self.delegate respondsToSelector:@selector(imageManager:transformDownloadedImage:withURL:)]) {
- dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
- UIImage *transformedImage = [self.delegate imageManager:self transformDownloadedImage:downloadedImage withURL:url];
-
- if (transformedImage && finished) {
- BOOL imageWasTransformed = ![transformedImage isEqual:downloadedImage];
- // pass nil if the image was transformed, so we can recalculate the data from the image
- [self.imageCache storeImage:transformedImage imageData:(imageWasTransformed ? nil : downloadedData) forKey:key toDisk:cacheOnDisk completion:nil];
- }
-
- [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:transformedImage data:downloadedData error:nil cacheType:SDImageCacheTypeNone finished:finished url:url];
- });
- } else {
- if (downloadedImage && finished) {
- [self.imageCache storeImage:downloadedImage imageData:downloadedData forKey:key toDisk:cacheOnDisk completion:nil];
- }
- [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:downloadedImage data:downloadedData error:nil cacheType:SDImageCacheTypeNone finished:finished url:url];
- }
- }
-
- if (finished) {
- [self safelyRemoveOperationFromRunning:strongOperation];
- }
- }];
- __weak typeof(subOperationToken)weakSubOperationToken = subOperationToken;
- operation.cancelBlock = ^{
- [self.imageDownloader cancel:weakSubOperationToken];
- __strong __typeof(weakOperation) strongOperation = weakOperation;
- [self safelyRemoveOperationFromRunning:strongOperation];
- };
- } else if (cachedImage) {
- __strong __typeof(weakOperation) strongOperation = weakOperation;
- [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:cachedImage data:cachedData error:nil cacheType:cacheType finished:YES url:url];
- [self safelyRemoveOperationFromRunning:operation];
- } else {
- // Image not in cache and download disallowed by delegate
- __strong __typeof(weakOperation) strongOperation = weakOperation;
- [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:nil data:nil error:nil cacheType:SDImageCacheTypeNone finished:YES url:url];
- [self safelyRemoveOperationFromRunning:operation];
- }
- }];
-
- return operation;
-}
-
-- (void)saveImageToCache:(nullable UIImage *)image forURL:(nullable NSURL *)url {
- if (image && url) {
- NSString *key = [self cacheKeyForURL:url];
- [self.imageCache storeImage:image forKey:key toDisk:YES completion:nil];
- }
-}
-
-- (void)cancelAll {
- @synchronized (self.runningOperations) {
- NSArray *copiedOperations = [self.runningOperations copy];
- [copiedOperations makeObjectsPerformSelector:@selector(cancel)];
- [self.runningOperations removeObjectsInArray:copiedOperations];
- }
-}
-
-- (BOOL)isRunning {
- BOOL isRunning = NO;
- @synchronized (self.runningOperations) {
- isRunning = (self.runningOperations.count > 0);
- }
- return isRunning;
-}
-
-- (void)safelyRemoveOperationFromRunning:(nullable SDWebImageCombinedOperation*)operation {
- @synchronized (self.runningOperations) {
- if (operation) {
- [self.runningOperations removeObject:operation];
- }
- }
-}
-
-- (void)callCompletionBlockForOperation:(nullable SDWebImageCombinedOperation*)operation
- completion:(nullable SDInternalCompletionBlock)completionBlock
- error:(nullable NSError *)error
- url:(nullable NSURL *)url {
- [self callCompletionBlockForOperation:operation completion:completionBlock image:nil data:nil error:error cacheType:SDImageCacheTypeNone finished:YES url:url];
-}
-
-- (void)callCompletionBlockForOperation:(nullable SDWebImageCombinedOperation*)operation
- completion:(nullable SDInternalCompletionBlock)completionBlock
- image:(nullable UIImage *)image
- data:(nullable NSData *)data
- error:(nullable NSError *)error
- cacheType:(SDImageCacheType)cacheType
- finished:(BOOL)finished
- url:(nullable NSURL *)url {
- dispatch_main_async_safe(^{
- if (operation && !operation.isCancelled && completionBlock) {
- completionBlock(image, data, error, cacheType, finished, url);
- }
- });
-}
-
-@end
-
-
-@implementation SDWebImageCombinedOperation
-
-- (void)setCancelBlock:(nullable SDWebImageNoParamsBlock)cancelBlock {
- // check if the operation is already cancelled, then we just call the cancelBlock
- if (self.isCancelled) {
- if (cancelBlock) {
- cancelBlock();
- }
- _cancelBlock = nil; // don't forget to nil the cancelBlock, otherwise we will get crashes
- } else {
- _cancelBlock = [cancelBlock copy];
- }
-}
-
-- (void)cancel {
- self.cancelled = YES;
- if (self.cacheOperation) {
- [self.cacheOperation cancel];
- self.cacheOperation = nil;
- }
- if (self.cancelBlock) {
- self.cancelBlock();
-
- // TODO: this is a temporary fix to #809.
- // Until we can figure the exact cause of the crash, going with the ivar instead of the setter
-// self.cancelBlock = nil;
- _cancelBlock = nil;
- }
-}
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImageOperation.h b/Pods/SDWebImage/SDWebImage/SDWebImageOperation.h
deleted file mode 100644
index 71094ee..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImageOperation.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import
-
-@protocol SDWebImageOperation
-
-- (void)cancel;
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h b/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h
deleted file mode 100644
index 48eb208..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import
-#import "SDWebImageManager.h"
-
-@class SDWebImagePrefetcher;
-
-@protocol SDWebImagePrefetcherDelegate
-
-@optional
-
-/**
- * Called when an image was prefetched.
- *
- * @param imagePrefetcher The current image prefetcher
- * @param imageURL The image url that was prefetched
- * @param finishedCount The total number of images that were prefetched (successful or not)
- * @param totalCount The total number of images that were to be prefetched
- */
-- (void)imagePrefetcher:(nonnull SDWebImagePrefetcher *)imagePrefetcher didPrefetchURL:(nullable NSURL *)imageURL finishedCount:(NSUInteger)finishedCount totalCount:(NSUInteger)totalCount;
-
-/**
- * Called when all images are prefetched.
- * @param imagePrefetcher The current image prefetcher
- * @param totalCount The total number of images that were prefetched (whether successful or not)
- * @param skippedCount The total number of images that were skipped
- */
-- (void)imagePrefetcher:(nonnull SDWebImagePrefetcher *)imagePrefetcher didFinishWithTotalCount:(NSUInteger)totalCount skippedCount:(NSUInteger)skippedCount;
-
-@end
-
-typedef void(^SDWebImagePrefetcherProgressBlock)(NSUInteger noOfFinishedUrls, NSUInteger noOfTotalUrls);
-typedef void(^SDWebImagePrefetcherCompletionBlock)(NSUInteger noOfFinishedUrls, NSUInteger noOfSkippedUrls);
-
-/**
- * Prefetch some URLs in the cache for future use. Images are downloaded in low priority.
- */
-@interface SDWebImagePrefetcher : NSObject
-
-/**
- * The web image manager
- */
-@property (strong, nonatomic, readonly, nonnull) SDWebImageManager *manager;
-
-/**
- * Maximum number of URLs to prefetch at the same time. Defaults to 3.
- */
-@property (nonatomic, assign) NSUInteger maxConcurrentDownloads;
-
-/**
- * SDWebImageOptions for prefetcher. Defaults to SDWebImageLowPriority.
- */
-@property (nonatomic, assign) SDWebImageOptions options;
-
-/**
- * Queue options for Prefetcher. Defaults to Main Queue.
- */
-@property (nonatomic, assign, nonnull) dispatch_queue_t prefetcherQueue;
-
-@property (weak, nonatomic, nullable) id delegate;
-
-/**
- * Return the global image prefetcher instance.
- */
-+ (nonnull instancetype)sharedImagePrefetcher;
-
-/**
- * Allows you to instantiate a prefetcher with any arbitrary image manager.
- */
-- (nonnull instancetype)initWithImageManager:(nonnull SDWebImageManager *)manager NS_DESIGNATED_INITIALIZER;
-
-/**
- * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching,
- * currently one image is downloaded at a time,
- * and skips images for failed downloads and proceed to the next image in the list
- *
- * @param urls list of URLs to prefetch
- */
-- (void)prefetchURLs:(nullable NSArray *)urls;
-
-/**
- * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching,
- * currently one image is downloaded at a time,
- * and skips images for failed downloads and proceed to the next image in the list
- *
- * @param urls list of URLs to prefetch
- * @param progressBlock block to be called when progress updates;
- * first parameter is the number of completed (successful or not) requests,
- * second parameter is the total number of images originally requested to be prefetched
- * @param completionBlock block to be called when prefetching is completed
- * first param is the number of completed (successful or not) requests,
- * second parameter is the number of skipped requests
- */
-- (void)prefetchURLs:(nullable NSArray *)urls
- progress:(nullable SDWebImagePrefetcherProgressBlock)progressBlock
- completed:(nullable SDWebImagePrefetcherCompletionBlock)completionBlock;
-
-/**
- * Remove and cancel queued list
- */
-- (void)cancelPrefetching;
-
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m b/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m
deleted file mode 100644
index b66357f..0000000
--- a/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m
+++ /dev/null
@@ -1,142 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImagePrefetcher.h"
-
-@interface SDWebImagePrefetcher ()
-
-@property (strong, nonatomic, nonnull) SDWebImageManager *manager;
-@property (strong, nonatomic, nullable) NSArray *prefetchURLs;
-@property (assign, nonatomic) NSUInteger requestedCount;
-@property (assign, nonatomic) NSUInteger skippedCount;
-@property (assign, nonatomic) NSUInteger finishedCount;
-@property (assign, nonatomic) NSTimeInterval startedTime;
-@property (copy, nonatomic, nullable) SDWebImagePrefetcherCompletionBlock completionBlock;
-@property (copy, nonatomic, nullable) SDWebImagePrefetcherProgressBlock progressBlock;
-
-@end
-
-@implementation SDWebImagePrefetcher
-
-+ (nonnull instancetype)sharedImagePrefetcher {
- static dispatch_once_t once;
- static id instance;
- dispatch_once(&once, ^{
- instance = [self new];
- });
- return instance;
-}
-
-- (nonnull instancetype)init {
- return [self initWithImageManager:[SDWebImageManager new]];
-}
-
-- (nonnull instancetype)initWithImageManager:(SDWebImageManager *)manager {
- if ((self = [super init])) {
- _manager = manager;
- _options = SDWebImageLowPriority;
- _prefetcherQueue = dispatch_get_main_queue();
- self.maxConcurrentDownloads = 3;
- }
- return self;
-}
-
-- (void)setMaxConcurrentDownloads:(NSUInteger)maxConcurrentDownloads {
- self.manager.imageDownloader.maxConcurrentDownloads = maxConcurrentDownloads;
-}
-
-- (NSUInteger)maxConcurrentDownloads {
- return self.manager.imageDownloader.maxConcurrentDownloads;
-}
-
-- (void)startPrefetchingAtIndex:(NSUInteger)index {
- if (index >= self.prefetchURLs.count) return;
- self.requestedCount++;
- [self.manager loadImageWithURL:self.prefetchURLs[index] options:self.options progress:nil completed:^(UIImage *image, NSData *data, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {
- if (!finished) return;
- self.finishedCount++;
-
- if (image) {
- if (self.progressBlock) {
- self.progressBlock(self.finishedCount,(self.prefetchURLs).count);
- }
- }
- else {
- if (self.progressBlock) {
- self.progressBlock(self.finishedCount,(self.prefetchURLs).count);
- }
- // Add last failed
- self.skippedCount++;
- }
- if ([self.delegate respondsToSelector:@selector(imagePrefetcher:didPrefetchURL:finishedCount:totalCount:)]) {
- [self.delegate imagePrefetcher:self
- didPrefetchURL:self.prefetchURLs[index]
- finishedCount:self.finishedCount
- totalCount:self.prefetchURLs.count
- ];
- }
- if (self.prefetchURLs.count > self.requestedCount) {
- dispatch_async(self.prefetcherQueue, ^{
- [self startPrefetchingAtIndex:self.requestedCount];
- });
- } else if (self.finishedCount == self.requestedCount) {
- [self reportStatus];
- if (self.completionBlock) {
- self.completionBlock(self.finishedCount, self.skippedCount);
- self.completionBlock = nil;
- }
- self.progressBlock = nil;
- }
- }];
-}
-
-- (void)reportStatus {
- NSUInteger total = (self.prefetchURLs).count;
- if ([self.delegate respondsToSelector:@selector(imagePrefetcher:didFinishWithTotalCount:skippedCount:)]) {
- [self.delegate imagePrefetcher:self
- didFinishWithTotalCount:(total - self.skippedCount)
- skippedCount:self.skippedCount
- ];
- }
-}
-
-- (void)prefetchURLs:(nullable NSArray *)urls {
- [self prefetchURLs:urls progress:nil completed:nil];
-}
-
-- (void)prefetchURLs:(nullable NSArray *)urls
- progress:(nullable SDWebImagePrefetcherProgressBlock)progressBlock
- completed:(nullable SDWebImagePrefetcherCompletionBlock)completionBlock {
- [self cancelPrefetching]; // Prevent duplicate prefetch request
- self.startedTime = CFAbsoluteTimeGetCurrent();
- self.prefetchURLs = urls;
- self.completionBlock = completionBlock;
- self.progressBlock = progressBlock;
-
- if (urls.count == 0) {
- if (completionBlock) {
- completionBlock(0,0);
- }
- } else {
- // Starts prefetching from the very first image on the list with the max allowed concurrency
- NSUInteger listCount = self.prefetchURLs.count;
- for (NSUInteger i = 0; i < self.maxConcurrentDownloads && self.requestedCount < listCount; i++) {
- [self startPrefetchingAtIndex:i];
- }
- }
-}
-
-- (void)cancelPrefetching {
- self.prefetchURLs = nil;
- self.skippedCount = 0;
- self.requestedCount = 0;
- self.finishedCount = 0;
- [self.manager cancelAll];
-}
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h b/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h
deleted file mode 100644
index c43b749..0000000
--- a/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h
+++ /dev/null
@@ -1,243 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageCompat.h"
-
-#if SD_UIKIT
-
-#import "SDWebImageManager.h"
-
-/**
- * Integrates SDWebImage async downloading and caching of remote images with UIButtonView.
- */
-@interface UIButton (WebCache)
-
-/**
- * Get the current image URL.
- */
-- (nullable NSURL *)sd_currentImageURL;
-
-#pragma mark - Image
-
-/**
- * Get the image URL for a control state.
- *
- * @param state Which state you want to know the URL for. The values are described in UIControlState.
- */
-- (nullable NSURL *)sd_imageURLForState:(UIControlState)state;
-
-/**
- * Set the imageView `image` with an `url`.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state;
-
-/**
- * Set the imageView `image` with an `url` and a placeholder.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @see sd_setImageWithURL:placeholderImage:options:
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- placeholderImage:(nullable UIImage *)placeholder;
-
-/**
- * Set the imageView `image` with an `url`, placeholder and custom options.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options;
-
-/**
- * Set the imageView `image` with an `url`.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Set the imageView `image` with an `url`, placeholder.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- placeholderImage:(nullable UIImage *)placeholder
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Set the imageView `image` with an `url`, placeholder and custom options.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-#pragma mark - Background image
-
-/**
- * Set the backgroundImageView `image` with an `url`.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- */
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state;
-
-/**
- * Set the backgroundImageView `image` with an `url` and a placeholder.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @see sd_setImageWithURL:placeholderImage:options:
- */
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- placeholderImage:(nullable UIImage *)placeholder;
-
-/**
- * Set the backgroundImageView `image` with an `url`, placeholder and custom options.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- */
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options;
-
-/**
- * Set the backgroundImageView `image` with an `url`.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Set the backgroundImageView `image` with an `url`, placeholder.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param state The state that uses the specified title. The values are described in UIControlState.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- placeholderImage:(nullable UIImage *)placeholder
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Set the backgroundImageView `image` with an `url`, placeholder and custom options.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-#pragma mark - Cancel
-
-/**
- * Cancel the current image download
- */
-- (void)sd_cancelImageLoadForState:(UIControlState)state;
-
-/**
- * Cancel the current backgroundImage download
- */
-- (void)sd_cancelBackgroundImageLoadForState:(UIControlState)state;
-
-@end
-
-#endif
diff --git a/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m b/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m
deleted file mode 100644
index 63f75e4..0000000
--- a/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m
+++ /dev/null
@@ -1,157 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "UIButton+WebCache.h"
-
-#if SD_UIKIT
-
-#import "objc/runtime.h"
-#import "UIView+WebCacheOperation.h"
-#import "UIView+WebCache.h"
-
-static char imageURLStorageKey;
-
-typedef NSMutableDictionary SDStateImageURLDictionary;
-
-@implementation UIButton (WebCache)
-
-- (nullable NSURL *)sd_currentImageURL {
- NSURL *url = self.imageURLStorage[@(self.state)];
-
- if (!url) {
- url = self.imageURLStorage[@(UIControlStateNormal)];
- }
-
- return url;
-}
-
-- (nullable NSURL *)sd_imageURLForState:(UIControlState)state {
- return self.imageURLStorage[@(state)];
-}
-
-#pragma mark - Image
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state {
- [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder {
- [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options {
- [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state completed:(nullable SDExternalCompletionBlock)completedBlock {
- [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock {
- [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- completed:(nullable SDExternalCompletionBlock)completedBlock {
- if (!url) {
- [self.imageURLStorage removeObjectForKey:@(state)];
- return;
- }
-
- self.imageURLStorage[@(state)] = url;
-
- __weak typeof(self)weakSelf = self;
- [self sd_internalSetImageWithURL:url
- placeholderImage:placeholder
- options:options
- operationKey:[NSString stringWithFormat:@"UIButtonImageOperation%@", @(state)]
- setImageBlock:^(UIImage *image, NSData *imageData) {
- [weakSelf setImage:image forState:state];
- }
- progress:nil
- completed:completedBlock];
-}
-
-#pragma mark - Background image
-
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state {
- [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil];
-}
-
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder {
- [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil];
-}
-
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options {
- [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil];
-}
-
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state completed:(nullable SDExternalCompletionBlock)completedBlock {
- [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock];
-}
-
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock {
- [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock];
-}
-
-- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url
- forState:(UIControlState)state
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- completed:(nullable SDExternalCompletionBlock)completedBlock {
- if (!url) {
- [self.imageURLStorage removeObjectForKey:@(state)];
- return;
- }
-
- self.imageURLStorage[@(state)] = url;
-
- __weak typeof(self)weakSelf = self;
- [self sd_internalSetImageWithURL:url
- placeholderImage:placeholder
- options:options
- operationKey:[NSString stringWithFormat:@"UIButtonBackgroundImageOperation%@", @(state)]
- setImageBlock:^(UIImage *image, NSData *imageData) {
- [weakSelf setBackgroundImage:image forState:state];
- }
- progress:nil
- completed:completedBlock];
-}
-
-- (void)sd_setImageLoadOperation:(id)operation forState:(UIControlState)state {
- [self sd_setImageLoadOperation:operation forKey:[NSString stringWithFormat:@"UIButtonImageOperation%@", @(state)]];
-}
-
-- (void)sd_cancelImageLoadForState:(UIControlState)state {
- [self sd_cancelImageLoadOperationWithKey:[NSString stringWithFormat:@"UIButtonImageOperation%@", @(state)]];
-}
-
-- (void)sd_setBackgroundImageLoadOperation:(id)operation forState:(UIControlState)state {
- [self sd_setImageLoadOperation:operation forKey:[NSString stringWithFormat:@"UIButtonBackgroundImageOperation%@", @(state)]];
-}
-
-- (void)sd_cancelBackgroundImageLoadForState:(UIControlState)state {
- [self sd_cancelImageLoadOperationWithKey:[NSString stringWithFormat:@"UIButtonBackgroundImageOperation%@", @(state)]];
-}
-
-- (SDStateImageURLDictionary *)imageURLStorage {
- SDStateImageURLDictionary *storage = objc_getAssociatedObject(self, &imageURLStorageKey);
- if (!storage) {
- storage = [NSMutableDictionary dictionary];
- objc_setAssociatedObject(self, &imageURLStorageKey, storage, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
- }
-
- return storage;
-}
-
-@end
-
-#endif
diff --git a/Pods/SDWebImage/SDWebImage/UIImage+GIF.h b/Pods/SDWebImage/SDWebImage/UIImage+GIF.h
deleted file mode 100755
index 479d572..0000000
--- a/Pods/SDWebImage/SDWebImage/UIImage+GIF.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- * (c) Laurin Brandner
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageCompat.h"
-
-@interface UIImage (GIF)
-
-/**
- * Compatibility method - creates an animated UIImage from an NSData, it will only contain the 1st frame image
- */
-+ (UIImage *)sd_animatedGIFWithData:(NSData *)data;
-
-/**
- * Checks if an UIImage instance is a GIF. Will use the `images` array
- */
-- (BOOL)isGIF;
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/UIImage+GIF.m b/Pods/SDWebImage/SDWebImage/UIImage+GIF.m
deleted file mode 100755
index 9301777..0000000
--- a/Pods/SDWebImage/SDWebImage/UIImage+GIF.m
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- * (c) Laurin Brandner
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "UIImage+GIF.h"
-#import
-#import "objc/runtime.h"
-#import "NSImage+WebCache.h"
-
-@implementation UIImage (GIF)
-
-+ (UIImage *)sd_animatedGIFWithData:(NSData *)data {
- if (!data) {
- return nil;
- }
-
- CGImageSourceRef source = CGImageSourceCreateWithData((__bridge CFDataRef)data, NULL);
-
- size_t count = CGImageSourceGetCount(source);
-
- UIImage *staticImage;
-
- if (count <= 1) {
- staticImage = [[UIImage alloc] initWithData:data];
- } else {
- // we will only retrieve the 1st frame. the full GIF support is available via the FLAnimatedImageView category.
- // this here is only code to allow drawing animated images as static ones
-#if SD_WATCH
- CGFloat scale = 1;
- scale = [WKInterfaceDevice currentDevice].screenScale;
-#elif SD_UIKIT
- CGFloat scale = 1;
- scale = [UIScreen mainScreen].scale;
-#endif
-
- CGImageRef CGImage = CGImageSourceCreateImageAtIndex(source, 0, NULL);
-#if SD_UIKIT || SD_WATCH
- UIImage *frameImage = [UIImage imageWithCGImage:CGImage scale:scale orientation:UIImageOrientationUp];
- staticImage = [UIImage animatedImageWithImages:@[frameImage] duration:0.0f];
-#elif SD_MAC
- staticImage = [[UIImage alloc] initWithCGImage:CGImage size:NSZeroSize];
-#endif
- CGImageRelease(CGImage);
- }
-
- CFRelease(source);
-
- return staticImage;
-}
-
-- (BOOL)isGIF {
- return (self.images != nil);
-}
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h b/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h
deleted file mode 100644
index bec411e..0000000
--- a/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageCompat.h"
-#import "NSData+ImageContentType.h"
-
-@interface UIImage (MultiFormat)
-
-+ (nullable UIImage *)sd_imageWithData:(nullable NSData *)data;
-- (nullable NSData *)sd_imageData;
-- (nullable NSData *)sd_imageDataAsFormat:(SDImageFormat)imageFormat;
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.m b/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.m
deleted file mode 100644
index 378f389..0000000
--- a/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.m
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "UIImage+MultiFormat.h"
-#import "UIImage+GIF.h"
-#import "NSData+ImageContentType.h"
-#import
-
-#ifdef SD_WEBP
-#import "UIImage+WebP.h"
-#endif
-
-@implementation UIImage (MultiFormat)
-
-+ (nullable UIImage *)sd_imageWithData:(nullable NSData *)data {
- if (!data) {
- return nil;
- }
-
- UIImage *image;
- SDImageFormat imageFormat = [NSData sd_imageFormatForImageData:data];
- if (imageFormat == SDImageFormatGIF) {
- image = [UIImage sd_animatedGIFWithData:data];
- }
-#ifdef SD_WEBP
- else if (imageFormat == SDImageFormatWebP)
- {
- image = [UIImage sd_imageWithWebPData:data];
- }
-#endif
- else {
- image = [[UIImage alloc] initWithData:data];
-#if SD_UIKIT || SD_WATCH
- UIImageOrientation orientation = [self sd_imageOrientationFromImageData:data];
- if (orientation != UIImageOrientationUp) {
- image = [UIImage imageWithCGImage:image.CGImage
- scale:image.scale
- orientation:orientation];
- }
-#endif
- }
-
-
- return image;
-}
-
-#if SD_UIKIT || SD_WATCH
-+(UIImageOrientation)sd_imageOrientationFromImageData:(nonnull NSData *)imageData {
- UIImageOrientation result = UIImageOrientationUp;
- CGImageSourceRef imageSource = CGImageSourceCreateWithData((__bridge CFDataRef)imageData, NULL);
- if (imageSource) {
- CFDictionaryRef properties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, NULL);
- if (properties) {
- CFTypeRef val;
- int exifOrientation;
- val = CFDictionaryGetValue(properties, kCGImagePropertyOrientation);
- if (val) {
- CFNumberGetValue(val, kCFNumberIntType, &exifOrientation);
- result = [self sd_exifOrientationToiOSOrientation:exifOrientation];
- } // else - if it's not set it remains at up
- CFRelease((CFTypeRef) properties);
- } else {
- //NSLog(@"NO PROPERTIES, FAIL");
- }
- CFRelease(imageSource);
- }
- return result;
-}
-
-#pragma mark EXIF orientation tag converter
-// Convert an EXIF image orientation to an iOS one.
-// reference see here: http://sylvana.net/jpegcrop/exif_orientation.html
-+ (UIImageOrientation) sd_exifOrientationToiOSOrientation:(int)exifOrientation {
- UIImageOrientation orientation = UIImageOrientationUp;
- switch (exifOrientation) {
- case 1:
- orientation = UIImageOrientationUp;
- break;
-
- case 3:
- orientation = UIImageOrientationDown;
- break;
-
- case 8:
- orientation = UIImageOrientationLeft;
- break;
-
- case 6:
- orientation = UIImageOrientationRight;
- break;
-
- case 2:
- orientation = UIImageOrientationUpMirrored;
- break;
-
- case 4:
- orientation = UIImageOrientationDownMirrored;
- break;
-
- case 5:
- orientation = UIImageOrientationLeftMirrored;
- break;
-
- case 7:
- orientation = UIImageOrientationRightMirrored;
- break;
- default:
- break;
- }
- return orientation;
-}
-#endif
-
-- (nullable NSData *)sd_imageData {
- return [self sd_imageDataAsFormat:SDImageFormatUndefined];
-}
-
-- (nullable NSData *)sd_imageDataAsFormat:(SDImageFormat)imageFormat {
- NSData *imageData = nil;
- if (self) {
-#if SD_UIKIT || SD_WATCH
- int alphaInfo = CGImageGetAlphaInfo(self.CGImage);
- BOOL hasAlpha = !(alphaInfo == kCGImageAlphaNone ||
- alphaInfo == kCGImageAlphaNoneSkipFirst ||
- alphaInfo == kCGImageAlphaNoneSkipLast);
-
- BOOL usePNG = hasAlpha;
-
- // the imageFormat param has priority here. But if the format is undefined, we relly on the alpha channel
- if (imageFormat != SDImageFormatUndefined) {
- usePNG = (imageFormat == SDImageFormatPNG);
- }
-
- if (usePNG) {
- imageData = UIImagePNGRepresentation(self);
- } else {
- imageData = UIImageJPEGRepresentation(self, (CGFloat)1.0);
- }
-#else
- NSBitmapImageFileType imageFileType = NSJPEGFileType;
- if (imageFormat == SDImageFormatGIF) {
- imageFileType = NSGIFFileType;
- } else if (imageFormat == SDImageFormatPNG) {
- imageFileType = NSPNGFileType;
- }
-
- imageData = [NSBitmapImageRep representationOfImageRepsInArray:self.representations
- usingType:imageFileType
- properties:@{}];
-#endif
- }
- return imageData;
-}
-
-
-@end
diff --git a/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h b/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h
deleted file mode 100644
index ceb71c2..0000000
--- a/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageCompat.h"
-
-#if SD_UIKIT
-
-#import "SDWebImageManager.h"
-
-/**
- * Integrates SDWebImage async downloading and caching of remote images with UIImageView for highlighted state.
- */
-@interface UIImageView (HighlightedWebCache)
-
-/**
- * Set the imageView `highlightedImage` with an `url`.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- */
-- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url;
-
-/**
- * Set the imageView `highlightedImage` with an `url` and custom options.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- */
-- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url
- options:(SDWebImageOptions)options;
-
-/**
- * Set the imageView `highlightedImage` with an `url`.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Set the imageView `highlightedImage` with an `url` and custom options.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url
- options:(SDWebImageOptions)options
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Set the imageView `highlightedImage` with an `url` and custom options.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- * @param progressBlock A block called while image is downloading
- * @note the progress block is executed on a background queue
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url
- options:(SDWebImageOptions)options
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-@end
-
-#endif
diff --git a/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.m b/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.m
deleted file mode 100644
index fb13bd8..0000000
--- a/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.m
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "UIImageView+HighlightedWebCache.h"
-
-#if SD_UIKIT
-
-#import "UIView+WebCacheOperation.h"
-#import "UIView+WebCache.h"
-
-@implementation UIImageView (HighlightedWebCache)
-
-- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url {
- [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:nil];
-}
-
-- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url options:(SDWebImageOptions)options {
- [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:nil];
-}
-
-- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url completed:(nullable SDExternalCompletionBlock)completedBlock {
- [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:completedBlock];
-}
-
-- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url options:(SDWebImageOptions)options completed:(nullable SDExternalCompletionBlock)completedBlock {
- [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:completedBlock];
-}
-
-- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url
- options:(SDWebImageOptions)options
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDExternalCompletionBlock)completedBlock {
- __weak typeof(self)weakSelf = self;
- [self sd_internalSetImageWithURL:url
- placeholderImage:nil
- options:options
- operationKey:@"UIImageViewImageOperationHighlighted"
- setImageBlock:^(UIImage *image, NSData *imageData) {
- weakSelf.highlightedImage = image;
- }
- progress:progressBlock
- completed:completedBlock];
-}
-
-@end
-
-#endif
diff --git a/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h b/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h
deleted file mode 100644
index b1d954f..0000000
--- a/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h
+++ /dev/null
@@ -1,196 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageCompat.h"
-
-#if SD_UIKIT || SD_MAC
-
-#import "SDWebImageManager.h"
-
-/**
- * Integrates SDWebImage async downloading and caching of remote images with UIImageView.
- *
- * Usage with a UITableViewCell sub-class:
- *
- * @code
-
-#import
-
-...
-
-- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
-{
- static NSString *MyIdentifier = @"MyIdentifier";
-
- UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
-
- if (cell == nil) {
- cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:MyIdentifier]
- autorelease];
- }
-
- // Here we use the provided sd_setImageWithURL: method to load the web image
- // Ensure you use a placeholder image otherwise cells will be initialized with no image
- [cell.imageView sd_setImageWithURL:[NSURL URLWithString:@"http://example.com/image.jpg"]
- placeholderImage:[UIImage imageNamed:@"placeholder"]];
-
- cell.textLabel.text = @"My Text";
- return cell;
-}
-
- * @endcode
- */
-@interface UIImageView (WebCache)
-
-/**
- * Set the imageView `image` with an `url`.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url;
-
-/**
- * Set the imageView `image` with an `url` and a placeholder.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @see sd_setImageWithURL:placeholderImage:options:
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- placeholderImage:(nullable UIImage *)placeholder;
-
-/**
- * Set the imageView `image` with an `url`, placeholder and custom options.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options;
-
-/**
- * Set the imageView `image` with an `url`.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Set the imageView `image` with an `url`, placeholder.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- placeholderImage:(nullable UIImage *)placeholder
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Set the imageView `image` with an `url`, placeholder and custom options.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Set the imageView `image` with an `url`, placeholder and custom options.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- * @param progressBlock A block called while image is downloading
- * @note the progress block is executed on a background queue
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Set the imageView `image` with an `url` and optionally a placeholder image.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- * @param progressBlock A block called while image is downloading
- * @note the progress block is executed on a background queue
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_setImageWithPreviousCachedImageWithURL:(nullable NSURL *)url
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-#if SD_UIKIT
-
-#pragma mark - Animation of multiple images
-
-/**
- * Download an array of images and starts them in an animation loop
- *
- * @param arrayOfURLs An array of NSURL
- */
-- (void)sd_setAnimationImagesWithURLs:(nonnull NSArray *)arrayOfURLs;
-
-- (void)sd_cancelCurrentAnimationImagesLoad;
-
-#endif
-
-@end
-
-#endif
diff --git a/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m b/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m
deleted file mode 100644
index 81f687e..0000000
--- a/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "UIImageView+WebCache.h"
-
-#if SD_UIKIT || SD_MAC
-
-#import "objc/runtime.h"
-#import "UIView+WebCacheOperation.h"
-#import "UIView+WebCache.h"
-
-@implementation UIImageView (WebCache)
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url {
- [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:nil];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder {
- [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:nil];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options {
- [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:nil];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url completed:(nullable SDExternalCompletionBlock)completedBlock {
- [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:completedBlock];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock {
- [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:completedBlock];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options completed:(nullable SDExternalCompletionBlock)completedBlock {
- [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:completedBlock];
-}
-
-- (void)sd_setImageWithURL:(nullable NSURL *)url
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDExternalCompletionBlock)completedBlock {
- [self sd_internalSetImageWithURL:url
- placeholderImage:placeholder
- options:options
- operationKey:nil
- setImageBlock:nil
- progress:progressBlock
- completed:completedBlock];
-}
-
-- (void)sd_setImageWithPreviousCachedImageWithURL:(nullable NSURL *)url
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDExternalCompletionBlock)completedBlock {
- NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:url];
- UIImage *lastPreviousCachedImage = [[SDImageCache sharedImageCache] imageFromCacheForKey:key];
-
- [self sd_setImageWithURL:url placeholderImage:lastPreviousCachedImage ?: placeholder options:options progress:progressBlock completed:completedBlock];
-}
-
-#if SD_UIKIT
-
-#pragma mark - Animation of multiple images
-
-- (void)sd_setAnimationImagesWithURLs:(nonnull NSArray *)arrayOfURLs {
- [self sd_cancelCurrentAnimationImagesLoad];
- __weak __typeof(self)wself = self;
-
- NSMutableArray> *operationsArray = [[NSMutableArray alloc] init];
-
- for (NSURL *logoImageURL in arrayOfURLs) {
- id operation = [SDWebImageManager.sharedManager loadImageWithURL:logoImageURL options:0 progress:nil completed:^(UIImage *image, NSData *data, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {
- if (!wself) return;
- dispatch_main_async_safe(^{
- __strong UIImageView *sself = wself;
- [sself stopAnimating];
- if (sself && image) {
- NSMutableArray *currentImages = [[sself animationImages] mutableCopy];
- if (!currentImages) {
- currentImages = [[NSMutableArray alloc] init];
- }
- [currentImages addObject:image];
-
- sself.animationImages = currentImages;
- [sself setNeedsLayout];
- }
- [sself startAnimating];
- });
- }];
- [operationsArray addObject:operation];
- }
-
- [self sd_setImageLoadOperation:[operationsArray copy] forKey:@"UIImageViewAnimationImages"];
-}
-
-- (void)sd_cancelCurrentAnimationImagesLoad {
- [self sd_cancelImageLoadOperationWithKey:@"UIImageViewAnimationImages"];
-}
-#endif
-
-@end
-
-#endif
diff --git a/Pods/SDWebImage/SDWebImage/UIView+WebCache.h b/Pods/SDWebImage/SDWebImage/UIView+WebCache.h
deleted file mode 100644
index 4c57519..0000000
--- a/Pods/SDWebImage/SDWebImage/UIView+WebCache.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageCompat.h"
-
-#if SD_UIKIT || SD_MAC
-
-#import "SDWebImageManager.h"
-
-typedef void(^SDSetImageBlock)(UIImage * _Nullable image, NSData * _Nullable imageData);
-
-@interface UIView (WebCache)
-
-/**
- * Get the current image URL.
- *
- * Note that because of the limitations of categories this property can get out of sync
- * if you use setImage: directly.
- */
-- (nullable NSURL *)sd_imageURL;
-
-/**
- * Set the imageView `image` with an `url` and optionally a placeholder image.
- *
- * The download is asynchronous and cached.
- *
- * @param url The url for the image.
- * @param placeholder The image to be set initially, until the image request finishes.
- * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values.
- * @param operationKey A string to be used as the operation key. If nil, will use the class name
- * @param setImageBlock Block used for custom set image code
- * @param progressBlock A block called while image is downloading
- * @note the progress block is executed on a background queue
- * @param completedBlock A block called when operation has been completed. This block has no return value
- * and takes the requested UIImage as first parameter. In case of error the image parameter
- * is nil and the second parameter may contain an NSError. The third parameter is a Boolean
- * indicating if the image was retrieved from the local cache or from the network.
- * The fourth parameter is the original image url.
- */
-- (void)sd_internalSetImageWithURL:(nullable NSURL *)url
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- operationKey:(nullable NSString *)operationKey
- setImageBlock:(nullable SDSetImageBlock)setImageBlock
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDExternalCompletionBlock)completedBlock;
-
-/**
- * Cancel the current download
- */
-- (void)sd_cancelCurrentImageLoad;
-
-#if SD_UIKIT
-
-#pragma mark - Activity indicator
-
-/**
- * Show activity UIActivityIndicatorView
- */
-- (void)sd_setShowActivityIndicatorView:(BOOL)show;
-
-/**
- * set desired UIActivityIndicatorViewStyle
- *
- * @param style The style of the UIActivityIndicatorView
- */
-- (void)sd_setIndicatorStyle:(UIActivityIndicatorViewStyle)style;
-
-- (BOOL)sd_showActivityIndicatorView;
-- (void)sd_addActivityIndicator;
-- (void)sd_removeActivityIndicator;
-
-#endif
-
-@end
-
-#endif
diff --git a/Pods/SDWebImage/SDWebImage/UIView+WebCache.m b/Pods/SDWebImage/SDWebImage/UIView+WebCache.m
deleted file mode 100644
index ad2b54c..0000000
--- a/Pods/SDWebImage/SDWebImage/UIView+WebCache.m
+++ /dev/null
@@ -1,200 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "UIView+WebCache.h"
-
-#if SD_UIKIT || SD_MAC
-
-#import "objc/runtime.h"
-#import "UIView+WebCacheOperation.h"
-
-static char imageURLKey;
-
-#if SD_UIKIT
-static char TAG_ACTIVITY_INDICATOR;
-static char TAG_ACTIVITY_STYLE;
-#endif
-static char TAG_ACTIVITY_SHOW;
-
-@implementation UIView (WebCache)
-
-- (nullable NSURL *)sd_imageURL {
- return objc_getAssociatedObject(self, &imageURLKey);
-}
-
-- (void)sd_internalSetImageWithURL:(nullable NSURL *)url
- placeholderImage:(nullable UIImage *)placeholder
- options:(SDWebImageOptions)options
- operationKey:(nullable NSString *)operationKey
- setImageBlock:(nullable SDSetImageBlock)setImageBlock
- progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock
- completed:(nullable SDExternalCompletionBlock)completedBlock {
- NSString *validOperationKey = operationKey ?: NSStringFromClass([self class]);
- [self sd_cancelImageLoadOperationWithKey:validOperationKey];
- objc_setAssociatedObject(self, &imageURLKey, url, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
-
- if (!(options & SDWebImageDelayPlaceholder)) {
- dispatch_main_async_safe(^{
- [self sd_setImage:placeholder imageData:nil basedOnClassOrViaCustomSetImageBlock:setImageBlock];
- });
- }
-
- if (url) {
- // check if activityView is enabled or not
- if ([self sd_showActivityIndicatorView]) {
- [self sd_addActivityIndicator];
- }
-
- __weak __typeof(self)wself = self;
- id operation = [SDWebImageManager.sharedManager loadImageWithURL:url options:options progress:progressBlock completed:^(UIImage *image, NSData *data, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) {
- __strong __typeof (wself) sself = wself;
- [sself sd_removeActivityIndicator];
- if (!sself) {
- return;
- }
- dispatch_main_async_safe(^{
- if (!sself) {
- return;
- }
- if (image && (options & SDWebImageAvoidAutoSetImage) && completedBlock) {
- completedBlock(image, error, cacheType, url);
- return;
- } else if (image) {
- [sself sd_setImage:image imageData:data basedOnClassOrViaCustomSetImageBlock:setImageBlock];
- [sself sd_setNeedsLayout];
- } else {
- if ((options & SDWebImageDelayPlaceholder)) {
- [sself sd_setImage:placeholder imageData:nil basedOnClassOrViaCustomSetImageBlock:setImageBlock];
- [sself sd_setNeedsLayout];
- }
- }
- if (completedBlock && finished) {
- completedBlock(image, error, cacheType, url);
- }
- });
- }];
- [self sd_setImageLoadOperation:operation forKey:validOperationKey];
- } else {
- dispatch_main_async_safe(^{
- [self sd_removeActivityIndicator];
- if (completedBlock) {
- NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:-1 userInfo:@{NSLocalizedDescriptionKey : @"Trying to load a nil url"}];
- completedBlock(nil, error, SDImageCacheTypeNone, url);
- }
- });
- }
-}
-
-- (void)sd_cancelCurrentImageLoad {
- [self sd_cancelImageLoadOperationWithKey:NSStringFromClass([self class])];
-}
-
-- (void)sd_setImage:(UIImage *)image imageData:(NSData *)imageData basedOnClassOrViaCustomSetImageBlock:(SDSetImageBlock)setImageBlock {
- if (setImageBlock) {
- setImageBlock(image, imageData);
- return;
- }
-
-#if SD_UIKIT || SD_MAC
- if ([self isKindOfClass:[UIImageView class]]) {
- UIImageView *imageView = (UIImageView *)self;
- imageView.image = image;
- }
-#endif
-
-#if SD_UIKIT
- if ([self isKindOfClass:[UIButton class]]) {
- UIButton *button = (UIButton *)self;
- [button setImage:image forState:UIControlStateNormal];
- }
-#endif
-}
-
-- (void)sd_setNeedsLayout {
-#if SD_UIKIT
- [self setNeedsLayout];
-#elif SD_MAC
- [self setNeedsLayout:YES];
-#endif
-}
-
-#pragma mark - Activity indicator
-
-#pragma mark -
-#if SD_UIKIT
-- (UIActivityIndicatorView *)activityIndicator {
- return (UIActivityIndicatorView *)objc_getAssociatedObject(self, &TAG_ACTIVITY_INDICATOR);
-}
-
-- (void)setActivityIndicator:(UIActivityIndicatorView *)activityIndicator {
- objc_setAssociatedObject(self, &TAG_ACTIVITY_INDICATOR, activityIndicator, OBJC_ASSOCIATION_RETAIN);
-}
-#endif
-
-- (void)sd_setShowActivityIndicatorView:(BOOL)show {
- objc_setAssociatedObject(self, &TAG_ACTIVITY_SHOW, @(show), OBJC_ASSOCIATION_RETAIN);
-}
-
-- (BOOL)sd_showActivityIndicatorView {
- return [objc_getAssociatedObject(self, &TAG_ACTIVITY_SHOW) boolValue];
-}
-
-#if SD_UIKIT
-- (void)sd_setIndicatorStyle:(UIActivityIndicatorViewStyle)style{
- objc_setAssociatedObject(self, &TAG_ACTIVITY_STYLE, [NSNumber numberWithInt:style], OBJC_ASSOCIATION_RETAIN);
-}
-
-- (int)sd_getIndicatorStyle{
- return [objc_getAssociatedObject(self, &TAG_ACTIVITY_STYLE) intValue];
-}
-#endif
-
-- (void)sd_addActivityIndicator {
-#if SD_UIKIT
- if (!self.activityIndicator) {
- self.activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:[self sd_getIndicatorStyle]];
- self.activityIndicator.translatesAutoresizingMaskIntoConstraints = NO;
-
- dispatch_main_async_safe(^{
- [self addSubview:self.activityIndicator];
-
- [self addConstraint:[NSLayoutConstraint constraintWithItem:self.activityIndicator
- attribute:NSLayoutAttributeCenterX
- relatedBy:NSLayoutRelationEqual
- toItem:self
- attribute:NSLayoutAttributeCenterX
- multiplier:1.0
- constant:0.0]];
- [self addConstraint:[NSLayoutConstraint constraintWithItem:self.activityIndicator
- attribute:NSLayoutAttributeCenterY
- relatedBy:NSLayoutRelationEqual
- toItem:self
- attribute:NSLayoutAttributeCenterY
- multiplier:1.0
- constant:0.0]];
- });
- }
-
- dispatch_main_async_safe(^{
- [self.activityIndicator startAnimating];
- });
-#endif
-}
-
-- (void)sd_removeActivityIndicator {
-#if SD_UIKIT
- if (self.activityIndicator) {
- [self.activityIndicator removeFromSuperview];
- self.activityIndicator = nil;
- }
-#endif
-}
-
-@end
-
-#endif
diff --git a/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.h b/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.h
deleted file mode 100644
index f5e95fa..0000000
--- a/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "SDWebImageCompat.h"
-
-#if SD_UIKIT || SD_MAC
-
-#import "SDWebImageManager.h"
-
-@interface UIView (WebCacheOperation)
-
-/**
- * Set the image load operation (storage in a UIView based dictionary)
- *
- * @param operation the operation
- * @param key key for storing the operation
- */
-- (void)sd_setImageLoadOperation:(nullable id)operation forKey:(nullable NSString *)key;
-
-/**
- * Cancel all operations for the current UIView and key
- *
- * @param key key for identifying the operations
- */
-- (void)sd_cancelImageLoadOperationWithKey:(nullable NSString *)key;
-
-/**
- * Just remove the operations corresponding to the current UIView and key without cancelling them
- *
- * @param key key for identifying the operations
- */
-- (void)sd_removeImageLoadOperationWithKey:(nullable NSString *)key;
-
-@end
-
-#endif
diff --git a/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.m b/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.m
deleted file mode 100644
index a515a74..0000000
--- a/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.m
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * This file is part of the SDWebImage package.
- * (c) Olivier Poitrey
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-#import "UIView+WebCacheOperation.h"
-
-#if SD_UIKIT || SD_MAC
-
-#import "objc/runtime.h"
-
-static char loadOperationKey;
-
-typedef NSMutableDictionary SDOperationsDictionary;
-
-@implementation UIView (WebCacheOperation)
-
-- (SDOperationsDictionary *)operationDictionary {
- SDOperationsDictionary *operations = objc_getAssociatedObject(self, &loadOperationKey);
- if (operations) {
- return operations;
- }
- operations = [NSMutableDictionary dictionary];
- objc_setAssociatedObject(self, &loadOperationKey, operations, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
- return operations;
-}
-
-- (void)sd_setImageLoadOperation:(nullable id)operation forKey:(nullable NSString *)key {
- if (key) {
- [self sd_cancelImageLoadOperationWithKey:key];
- if (operation) {
- SDOperationsDictionary *operationDictionary = [self operationDictionary];
- operationDictionary[key] = operation;
- }
- }
-}
-
-- (void)sd_cancelImageLoadOperationWithKey:(nullable NSString *)key {
- // Cancel in progress downloader from queue
- SDOperationsDictionary *operationDictionary = [self operationDictionary];
- id operations = operationDictionary[key];
- if (operations) {
- if ([operations isKindOfClass:[NSArray class]]) {
- for (id operation in operations) {
- if (operation) {
- [operation cancel];
- }
- }
- } else if ([operations conformsToProtocol:@protocol(SDWebImageOperation)]){
- [(id) operations cancel];
- }
- [operationDictionary removeObjectForKey:key];
- }
-}
-
-- (void)sd_removeImageLoadOperationWithKey:(nullable NSString *)key {
- if (key) {
- SDOperationsDictionary *operationDictionary = [self operationDictionary];
- [operationDictionary removeObjectForKey:key];
- }
-}
-
-@end
-
-#endif
diff --git a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-acknowledgements.markdown b/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-acknowledgements.markdown
deleted file mode 100644
index b61451b..0000000
--- a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-acknowledgements.markdown
+++ /dev/null
@@ -1,27 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## SDWebImage
-
-Copyright (c) 2016 Olivier Poitrey rs@dailymotion.com
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is furnished
-to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-Generated by CocoaPods - https://cocoapods.org
diff --git a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-acknowledgements.plist b/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-acknowledgements.plist
deleted file mode 100644
index a73280b..0000000
--- a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-acknowledgements.plist
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
- PreferenceSpecifiers
-
-
- FooterText
- This application makes use of the following third party libraries:
- Title
- Acknowledgements
- Type
- PSGroupSpecifier
-
-
- FooterText
- Copyright (c) 2016 Olivier Poitrey rs@dailymotion.com
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is furnished
-to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
- License
- MIT
- Title
- SDWebImage
- Type
- PSGroupSpecifier
-
-
- FooterText
- Generated by CocoaPods - https://cocoapods.org
- Title
-
- Type
- PSGroupSpecifier
-
-
- StringsTable
- Acknowledgements
- Title
- Acknowledgements
-
-
diff --git a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-dummy.m b/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-dummy.m
deleted file mode 100644
index 43a1556..0000000
--- a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import
-@interface PodsDummy_Pods_MusaicFM : NSObject
-@end
-@implementation PodsDummy_Pods_MusaicFM
-@end
diff --git a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-frameworks.sh b/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-frameworks.sh
deleted file mode 100755
index 893c16a..0000000
--- a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-frameworks.sh
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-set -e
-
-echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
-SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
-
-install_framework()
-{
- if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
- local source="${BUILT_PRODUCTS_DIR}/$1"
- elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
- local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
- elif [ -r "$1" ]; then
- local source="$1"
- fi
-
- local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
- if [ -L "${source}" ]; then
- echo "Symlinked..."
- source="$(readlink "${source}")"
- fi
-
- # use filter instead of exclude so missing patterns dont' throw errors
- echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
- rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
-
- local basename
- basename="$(basename -s .framework "$1")"
- binary="${destination}/${basename}.framework/${basename}"
- if ! [ -r "$binary" ]; then
- binary="${destination}/${basename}"
- fi
-
- # Strip invalid architectures so "fat" simulator / device frameworks work on device
- if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
- strip_invalid_archs "$binary"
- fi
-
- # Resign the code if required by the build settings to avoid unstable apps
- code_sign_if_enabled "${destination}/$(basename "$1")"
-
- # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
- if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
- local swift_runtime_libs
- swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
- for lib in $swift_runtime_libs; do
- echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
- rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
- code_sign_if_enabled "${destination}/${lib}"
- done
- fi
-}
-
-# Signs a framework with the provided identity
-code_sign_if_enabled() {
- if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
- # Use the current code_sign_identitiy
- echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
- echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements \"$1\""
- /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements "$1"
- fi
-}
-
-# Strip invalid architectures
-strip_invalid_archs() {
- binary="$1"
- # Get architectures for current file
- archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
- stripped=""
- for arch in $archs; do
- if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
- # Strip non-valid architectures in-place
- lipo -remove "$arch" -output "$binary" "$binary" || exit 1
- stripped="$stripped $arch"
- fi
- done
- if [[ "$stripped" ]]; then
- echo "Stripped $binary of architectures:$stripped"
- fi
-}
-
diff --git a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-resources.sh b/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-resources.sh
deleted file mode 100755
index 25e9d37..0000000
--- a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM-resources.sh
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-set -e
-
-mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-
-RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
-> "$RESOURCES_TO_COPY"
-
-XCASSET_FILES=()
-
-case "${TARGETED_DEVICE_FAMILY}" in
- 1,2)
- TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
- ;;
- 1)
- TARGET_DEVICE_ARGS="--target-device iphone"
- ;;
- 2)
- TARGET_DEVICE_ARGS="--target-device ipad"
- ;;
- *)
- TARGET_DEVICE_ARGS="--target-device mac"
- ;;
-esac
-
-install_resource()
-{
- if [[ "$1" = /* ]] ; then
- RESOURCE_PATH="$1"
- else
- RESOURCE_PATH="${PODS_ROOT}/$1"
- fi
- if [[ ! -e "$RESOURCE_PATH" ]] ; then
- cat << EOM
-error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
-EOM
- exit 1
- fi
- case $RESOURCE_PATH in
- *.storyboard)
- echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
- ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
- ;;
- *.xib)
- echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
- ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
- ;;
- *.framework)
- echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- ;;
- *.xcdatamodel)
- echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
- xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
- ;;
- *.xcdatamodeld)
- echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
- xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
- ;;
- *.xcmappingmodel)
- echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
- xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
- ;;
- *.xcassets)
- ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH"
- XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
- ;;
- *)
- echo "$RESOURCE_PATH"
- echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
- ;;
- esac
-}
-
-mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
- mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
- rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
-rm -f "$RESOURCES_TO_COPY"
-
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
-then
- # Find all other xcassets (this unfortunately includes those of path pods and other targets).
- OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
- while read line; do
- if [[ $line != "${PODS_ROOT}*" ]]; then
- XCASSET_FILES+=("$line")
- fi
- done <<<"$OTHER_XCASSETS"
-
- printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
diff --git a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM.debug.xcconfig b/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM.debug.xcconfig
deleted file mode 100644
index 6a81675..0000000
--- a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM.debug.xcconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/SDWebImage"
-LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/SDWebImage"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"SDWebImage" -framework "ImageIO"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM.release.xcconfig b/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM.release.xcconfig
deleted file mode 100644
index 6a81675..0000000
--- a/Pods/Target Support Files/Pods-MusaicFM/Pods-MusaicFM.release.xcconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/SDWebImage"
-LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/SDWebImage"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"SDWebImage" -framework "ImageIO"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/Pods/Target Support Files/SDWebImage/SDWebImage-dummy.m b/Pods/Target Support Files/SDWebImage/SDWebImage-dummy.m
deleted file mode 100644
index 86d2b5f..0000000
--- a/Pods/Target Support Files/SDWebImage/SDWebImage-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import
-@interface PodsDummy_SDWebImage : NSObject
-@end
-@implementation PodsDummy_SDWebImage
-@end
diff --git a/Pods/Target Support Files/SDWebImage/SDWebImage-prefix.pch b/Pods/Target Support Files/SDWebImage/SDWebImage-prefix.pch
deleted file mode 100644
index b9c163b..0000000
--- a/Pods/Target Support Files/SDWebImage/SDWebImage-prefix.pch
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifdef __OBJC__
-#import
-#endif
-
diff --git a/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig b/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig
deleted file mode 100644
index 4fa7a3b..0000000
--- a/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/SDWebImage
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SDWebImage" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/SDWebImage"
-OTHER_LDFLAGS = -framework "ImageIO"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES