Merge pull request #2987 from dreampiggy/project_support_umbrella_swiftpm

Support the SwiftPM Objective-C user to use #improt <SDWebImage/SDWebImage.h>
This commit is contained in:
DreamPiggy 2020-04-21 12:04:36 +08:00 committed by GitHub
commit 478cad44b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
69 changed files with 107 additions and 30 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

View File

@ -32,16 +32,16 @@ let package = Package(
dependencies: [], dependencies: [],
path: "SDWebImage", path: "SDWebImage",
sources: ["Core", "Private"], sources: ["Core", "Private"],
publicHeadersPath: "Core",
cSettings: [ cSettings: [
.headerSearchPath("Core"),
.headerSearchPath("Private") .headerSearchPath("Private")
] ]
), ),
.target( .target(
name: "SDWebImageMapKit", name: "SDWebImageMapKit",
dependencies: ["SDWebImage"], dependencies: ["SDWebImage"],
path: "SDWebImage/MapKit", path: "SDWebImageMapKit",
publicHeadersPath: "." sources: ["MapKit"]
) )
] ]
) )

View File

@ -283,6 +283,12 @@ In the source files where you need to use the library, import the umbrella heade
#import <SDWebImage/SDWebImage.h> #import <SDWebImage/SDWebImage.h>
``` ```
It's also recommend to use the module import syntax, available for CocoaPods(enable `modular_headers`)/Carthage/SwiftPM.
```objecitivec
@import SDWebImage;
```
### Build Project ### Build Project
At this point your workspace should build without error. If you are having problem, post to the Issue and the At this point your workspace should build without error. If you are having problem, post to the Issue and the

View File

@ -33,7 +33,6 @@ Pod::Spec.new do |s|
s.subspec 'Core' do |core| s.subspec 'Core' do |core|
core.source_files = 'SDWebImage/Core/*.{h,m}', 'WebImage/SDWebImage.h', 'SDWebImage/Private/*.{h,m}' core.source_files = 'SDWebImage/Core/*.{h,m}', 'WebImage/SDWebImage.h', 'SDWebImage/Private/*.{h,m}'
core.exclude_files = 'SDWebImage/MapKit/*.{h,m}'
core.private_header_files = 'SDWebImage/Private/*.h' core.private_header_files = 'SDWebImage/Private/*.h'
end end
@ -41,7 +40,7 @@ Pod::Spec.new do |s|
mk.osx.deployment_target = '10.10' mk.osx.deployment_target = '10.10'
mk.ios.deployment_target = '8.0' mk.ios.deployment_target = '8.0'
mk.tvos.deployment_target = '9.2' mk.tvos.deployment_target = '9.2'
mk.source_files = 'SDWebImage/MapKit/*.{h,m}' mk.source_files = 'SDWebImageMapKit/MapKit/*.{h,m}'
mk.framework = 'MapKit' mk.framework = 'MapKit'
mk.dependency 'SDWebImage/Core' mk.dependency 'SDWebImage/Core'
end end

View File

@ -112,6 +112,8 @@
327054D6206CD8B3006EA328 /* SDImageAPNGCoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 327054D2206CD8B3006EA328 /* SDImageAPNGCoder.h */; settings = {ATTRIBUTES = (Public, ); }; }; 327054D6206CD8B3006EA328 /* SDImageAPNGCoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 327054D2206CD8B3006EA328 /* SDImageAPNGCoder.h */; settings = {ATTRIBUTES = (Public, ); }; };
327054DA206CD8B3006EA328 /* SDImageAPNGCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 327054D3206CD8B3006EA328 /* SDImageAPNGCoder.m */; }; 327054DA206CD8B3006EA328 /* SDImageAPNGCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 327054D3206CD8B3006EA328 /* SDImageAPNGCoder.m */; };
327054DC206CD8B3006EA328 /* SDImageAPNGCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 327054D3206CD8B3006EA328 /* SDImageAPNGCoder.m */; }; 327054DC206CD8B3006EA328 /* SDImageAPNGCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 327054D3206CD8B3006EA328 /* SDImageAPNGCoder.m */; };
3287E6D1244C0C1400007311 /* MKAnnotationView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 3287E6CD244C0C1400007311 /* MKAnnotationView+WebCache.m */; };
3287E6D2244C0C1400007311 /* MKAnnotationView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 3287E6CE244C0C1400007311 /* MKAnnotationView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
328BB69E2081FED200760D6C /* SDWebImageCacheKeyFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = 328BB69A2081FED200760D6C /* SDWebImageCacheKeyFilter.h */; settings = {ATTRIBUTES = (Public, ); }; }; 328BB69E2081FED200760D6C /* SDWebImageCacheKeyFilter.h in Headers */ = {isa = PBXBuildFile; fileRef = 328BB69A2081FED200760D6C /* SDWebImageCacheKeyFilter.h */; settings = {ATTRIBUTES = (Public, ); }; };
328BB6A22081FED200760D6C /* SDWebImageCacheKeyFilter.m in Sources */ = {isa = PBXBuildFile; fileRef = 328BB69B2081FED200760D6C /* SDWebImageCacheKeyFilter.m */; }; 328BB6A22081FED200760D6C /* SDWebImageCacheKeyFilter.m in Sources */ = {isa = PBXBuildFile; fileRef = 328BB69B2081FED200760D6C /* SDWebImageCacheKeyFilter.m */; };
328BB6A42081FED200760D6C /* SDWebImageCacheKeyFilter.m in Sources */ = {isa = PBXBuildFile; fileRef = 328BB69B2081FED200760D6C /* SDWebImageCacheKeyFilter.m */; }; 328BB6A42081FED200760D6C /* SDWebImageCacheKeyFilter.m in Sources */ = {isa = PBXBuildFile; fileRef = 328BB69B2081FED200760D6C /* SDWebImageCacheKeyFilter.m */; };
@ -288,8 +290,6 @@
80B6DF822142B44400BCB334 /* NSButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 321DB3602011D4D60015D2CB /* NSButton+WebCache.m */; }; 80B6DF822142B44400BCB334 /* NSButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 321DB3602011D4D60015D2CB /* NSButton+WebCache.m */; };
80B6DF832142B44500BCB334 /* NSButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 321DB3602011D4D60015D2CB /* NSButton+WebCache.m */; }; 80B6DF832142B44500BCB334 /* NSButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 321DB3602011D4D60015D2CB /* NSButton+WebCache.m */; };
80B6DF842142B44600BCB334 /* NSButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 321DB35F2011D4D60015D2CB /* NSButton+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; 80B6DF842142B44600BCB334 /* NSButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 321DB35F2011D4D60015D2CB /* NSButton+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
80B6DFA72142B71600BCB334 /* MKAnnotationView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 32FDE87A2088871B008D7530 /* MKAnnotationView+WebCache.m */; };
80B6DFCD2142B71600BCB334 /* MKAnnotationView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 32FDE87B2088871B008D7530 /* MKAnnotationView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
A18A6CC9172DC28500419892 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = A18A6CC6172DC28500419892 /* UIImage+GIF.m */; }; A18A6CC9172DC28500419892 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = A18A6CC6172DC28500419892 /* UIImage+GIF.m */; };
AB615306192DA24600A2D8E9 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = AB615302192DA24600A2D8E9 /* UIView+WebCacheOperation.m */; }; AB615306192DA24600A2D8E9 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = AB615302192DA24600A2D8E9 /* UIView+WebCacheOperation.m */; };
ABBE71A818C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = ABBE71A618C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m */; }; ABBE71A818C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = ABBE71A618C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m */; };
@ -437,6 +437,8 @@
326E2F32236F1D58006F847F /* SDDeviceHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SDDeviceHelper.m; sourceTree = "<group>"; }; 326E2F32236F1D58006F847F /* SDDeviceHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SDDeviceHelper.m; sourceTree = "<group>"; };
327054D2206CD8B3006EA328 /* SDImageAPNGCoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDImageAPNGCoder.h; path = Core/SDImageAPNGCoder.h; sourceTree = "<group>"; }; 327054D2206CD8B3006EA328 /* SDImageAPNGCoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDImageAPNGCoder.h; path = Core/SDImageAPNGCoder.h; sourceTree = "<group>"; };
327054D3206CD8B3006EA328 /* SDImageAPNGCoder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDImageAPNGCoder.m; path = Core/SDImageAPNGCoder.m; sourceTree = "<group>"; }; 327054D3206CD8B3006EA328 /* SDImageAPNGCoder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDImageAPNGCoder.m; path = Core/SDImageAPNGCoder.m; sourceTree = "<group>"; };
3287E6CD244C0C1400007311 /* MKAnnotationView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MKAnnotationView+WebCache.m"; sourceTree = "<group>"; };
3287E6CE244C0C1400007311 /* MKAnnotationView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MKAnnotationView+WebCache.h"; sourceTree = "<group>"; };
328BB69A2081FED200760D6C /* SDWebImageCacheKeyFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SDWebImageCacheKeyFilter.h; path = Core/SDWebImageCacheKeyFilter.h; sourceTree = "<group>"; }; 328BB69A2081FED200760D6C /* SDWebImageCacheKeyFilter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SDWebImageCacheKeyFilter.h; path = Core/SDWebImageCacheKeyFilter.h; sourceTree = "<group>"; };
328BB69B2081FED200760D6C /* SDWebImageCacheKeyFilter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCacheKeyFilter.m; path = Core/SDWebImageCacheKeyFilter.m; sourceTree = "<group>"; }; 328BB69B2081FED200760D6C /* SDWebImageCacheKeyFilter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCacheKeyFilter.m; path = Core/SDWebImageCacheKeyFilter.m; sourceTree = "<group>"; };
328BB6A82081FEE500760D6C /* SDWebImageCacheSerializer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SDWebImageCacheSerializer.h; path = Core/SDWebImageCacheSerializer.h; sourceTree = "<group>"; }; 328BB6A82081FEE500760D6C /* SDWebImageCacheSerializer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SDWebImageCacheSerializer.h; path = Core/SDWebImageCacheSerializer.h; sourceTree = "<group>"; };
@ -480,8 +482,6 @@
32F7C06E2030114C00873181 /* SDImageTransformer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = SDImageTransformer.m; path = Core/SDImageTransformer.m; sourceTree = "<group>"; }; 32F7C06E2030114C00873181 /* SDImageTransformer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = SDImageTransformer.m; path = Core/SDImageTransformer.m; sourceTree = "<group>"; };
32F7C07C2030719600873181 /* UIImage+Transform.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIImage+Transform.m"; path = "Core/UIImage+Transform.m"; sourceTree = "<group>"; }; 32F7C07C2030719600873181 /* UIImage+Transform.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIImage+Transform.m"; path = "Core/UIImage+Transform.m"; sourceTree = "<group>"; };
32F7C07D2030719600873181 /* UIImage+Transform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIImage+Transform.h"; path = "Core/UIImage+Transform.h"; sourceTree = "<group>"; }; 32F7C07D2030719600873181 /* UIImage+Transform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIImage+Transform.h"; path = "Core/UIImage+Transform.h"; sourceTree = "<group>"; };
32FDE87A2088871B008D7530 /* MKAnnotationView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MKAnnotationView+WebCache.m"; sourceTree = "<group>"; };
32FDE87B2088871B008D7530 /* MKAnnotationView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MKAnnotationView+WebCache.h"; sourceTree = "<group>"; };
4369C2751D9807EC007E863A /* UIView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIView+WebCache.h"; path = "SDWebImage/Core/UIView+WebCache.h"; sourceTree = "<group>"; }; 4369C2751D9807EC007E863A /* UIView+WebCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIView+WebCache.h"; path = "SDWebImage/Core/UIView+WebCache.h"; sourceTree = "<group>"; };
4369C2761D9807EC007E863A /* UIView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIView+WebCache.m"; path = "SDWebImage/Core/UIView+WebCache.m"; sourceTree = "<group>"; }; 4369C2761D9807EC007E863A /* UIView+WebCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = "UIView+WebCache.m"; path = "SDWebImage/Core/UIView+WebCache.m"; sourceTree = "<group>"; };
4397D2F41D0DE2DF00BB2784 /* NSImage+Compatibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSImage+Compatibility.h"; path = "Core/NSImage+Compatibility.h"; sourceTree = "<group>"; }; 4397D2F41D0DE2DF00BB2784 /* NSImage+Compatibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "NSImage+Compatibility.h"; path = "Core/NSImage+Compatibility.h"; sourceTree = "<group>"; };
@ -607,6 +607,23 @@
name = AnimatedImage; name = AnimatedImage;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
3287E6C7244C0C1400007311 /* SDWebImageMapKit */ = {
isa = PBXGroup;
children = (
3287E6CC244C0C1400007311 /* MapKit */,
);
path = SDWebImageMapKit;
sourceTree = "<group>";
};
3287E6CC244C0C1400007311 /* MapKit */ = {
isa = PBXGroup;
children = (
3287E6CE244C0C1400007311 /* MKAnnotationView+WebCache.h */,
3287E6CD244C0C1400007311 /* MKAnnotationView+WebCache.m */,
);
path = MapKit;
sourceTree = "<group>";
};
328BB6972081FDAB00760D6C /* Manager */ = { 328BB6972081FDAB00760D6C /* Manager */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@ -672,15 +689,6 @@
path = Private; path = Private;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
32FDE8792088871B008D7530 /* MapKit */ = {
isa = PBXGroup;
children = (
32FDE87B2088871B008D7530 /* MKAnnotationView+WebCache.h */,
32FDE87A2088871B008D7530 /* MKAnnotationView+WebCache.m */,
);
path = MapKit;
sourceTree = "<group>";
};
4369C2851D9811BB007E863A /* WebCache Categories */ = { 4369C2851D9811BB007E863A /* WebCache Categories */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@ -722,6 +730,7 @@
children = ( children = (
EA9E0C6A2195936400AFB434 /* Configs */, EA9E0C6A2195936400AFB434 /* Configs */,
53922D74148C55820056699D /* SDWebImage */, 53922D74148C55820056699D /* SDWebImage */,
3287E6C7244C0C1400007311 /* SDWebImageMapKit */,
4A2CAE001AB4BB5300B6BC39 /* WebImage */, 4A2CAE001AB4BB5300B6BC39 /* WebImage */,
53922D71148C55820056699D /* Frameworks */, 53922D71148C55820056699D /* Frameworks */,
53922D70148C55820056699D /* Products */, 53922D70148C55820056699D /* Products */,
@ -764,7 +773,6 @@
53922DA9148C562D0056699D /* Categories */, 53922DA9148C562D0056699D /* Categories */,
4369C2851D9811BB007E863A /* WebCache Categories */, 4369C2851D9811BB007E863A /* WebCache Categories */,
32B5CC5D222F89C2005EB74E /* Private */, 32B5CC5D222F89C2005EB74E /* Private */,
32FDE8792088871B008D7530 /* MapKit */,
); );
path = SDWebImage; path = SDWebImage;
sourceTree = "<group>"; sourceTree = "<group>";
@ -952,8 +960,8 @@
isa = PBXHeadersBuildPhase; isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
3287E6D2244C0C1400007311 /* MKAnnotationView+WebCache.h in Headers */,
806BE07E2142C65200E02143 /* SDWebImageMapKit.h in Headers */, 806BE07E2142C65200E02143 /* SDWebImageMapKit.h in Headers */,
80B6DFCD2142B71600BCB334 /* MKAnnotationView+WebCache.h in Headers */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -1279,7 +1287,7 @@
isa = PBXSourcesBuildPhase; isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
80B6DFA72142B71600BCB334 /* MKAnnotationView+WebCache.m in Sources */, 3287E6D1244C0C1400007311 /* MKAnnotationView+WebCache.m in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };

View File

@ -0,0 +1 @@
../../Core/NSButton+WebCache.h

View File

@ -0,0 +1 @@
../../Core/NSData+ImageContentType.h

View File

@ -0,0 +1 @@
../../Core/NSImage+Compatibility.h

View File

@ -0,0 +1 @@
../../Core/SDAnimatedImage.h

View File

@ -0,0 +1 @@
../../Core/SDAnimatedImagePlayer.h

View File

@ -0,0 +1 @@
../../Core/SDAnimatedImageRep.h

View File

@ -0,0 +1 @@
../../Core/SDAnimatedImageView+WebCache.h

View File

@ -0,0 +1 @@
../../Core/SDAnimatedImageView.h

View File

@ -0,0 +1 @@
../../Core/SDDiskCache.h

View File

@ -0,0 +1 @@
../../Core/SDGraphicsImageRenderer.h

View File

@ -0,0 +1 @@
../../Core/SDImageAPNGCoder.h

View File

@ -0,0 +1 @@
../../Core/SDImageCache.h

View File

@ -0,0 +1 @@
../../Core/SDImageCacheConfig.h

View File

@ -0,0 +1 @@
../../Core/SDImageCacheDefine.h

View File

@ -0,0 +1 @@
../../Core/SDImageCachesManager.h

View File

@ -0,0 +1 @@
../../Core/SDImageCoder.h

View File

@ -0,0 +1 @@
../../Core/SDImageCoderHelper.h

View File

@ -0,0 +1 @@
../../Core/SDImageCodersManager.h

View File

@ -0,0 +1 @@
../../Core/SDImageFrame.h

View File

@ -0,0 +1 @@
../../Core/SDImageGIFCoder.h

View File

@ -0,0 +1 @@
../../Core/SDImageGraphics.h

View File

@ -0,0 +1 @@
../../Core/SDImageHEICCoder.h

View File

@ -0,0 +1 @@
../../Core/SDImageIOAnimatedCoder.h

View File

@ -0,0 +1 @@
../../Core/SDImageIOCoder.h

View File

@ -0,0 +1 @@
../../Core/SDImageLoader.h

View File

@ -0,0 +1 @@
../../Core/SDImageLoadersManager.h

View File

@ -0,0 +1 @@
../../Core/SDImageTransformer.h

View File

@ -0,0 +1 @@
../../Core/SDMemoryCache.h

View File

@ -0,0 +1 @@
../../../WebImage/SDWebImage.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageCacheKeyFilter.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageCacheSerializer.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageCompat.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageDefine.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageDownloader.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageDownloaderConfig.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageDownloaderDecryptor.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageDownloaderOperation.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageDownloaderRequestModifier.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageDownloaderResponseModifier.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageError.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageIndicator.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageManager.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageOperation.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageOptionsProcessor.h

View File

@ -0,0 +1 @@
../../Core/SDWebImagePrefetcher.h

View File

@ -0,0 +1 @@
../../Core/SDWebImageTransition.h

View File

@ -0,0 +1 @@
../../Core/UIButton+WebCache.h

View File

@ -0,0 +1 @@
../../Core/UIImage+ExtendedCacheData.h

View File

@ -0,0 +1 @@
../../Core/UIImage+ForceDecode.h

View File

@ -0,0 +1 @@
../../Core/UIImage+GIF.h

View File

@ -0,0 +1 @@
../../Core/UIImage+MemoryCacheCost.h

View File

@ -0,0 +1 @@
../../Core/UIImage+Metadata.h

View File

@ -0,0 +1 @@
../../Core/UIImage+MultiFormat.h

View File

@ -0,0 +1 @@
../../Core/UIImage+Transform.h

View File

@ -0,0 +1 @@
../../Core/UIImageView+HighlightedWebCache.h

View File

@ -0,0 +1 @@
../../Core/UIImageView+WebCache.h

View File

@ -0,0 +1 @@
../../Core/UIView+WebCache.h

View File

@ -0,0 +1 @@
../../Core/UIView+WebCacheOperation.h

View File

@ -6,12 +6,11 @@
* file that was distributed with this source code. * file that was distributed with this source code.
*/ */
#import "SDWebImageCompat.h" #import <SDWebImage/SDWebImage.h>
#if SD_UIKIT || SD_MAC #if SD_UIKIT || SD_MAC
#import <MapKit/MapKit.h> #import <MapKit/MapKit.h>
#import "SDWebImageManager.h"
/** /**
* Integrates SDWebImage async downloading and caching of remote images with MKAnnotationView. * Integrates SDWebImage async downloading and caching of remote images with MKAnnotationView.

View File

@ -10,8 +10,6 @@
#if SD_UIKIT || SD_MAC #if SD_UIKIT || SD_MAC
#import "UIView+WebCache.h"
@implementation MKAnnotationView (WebCache) @implementation MKAnnotationView (WebCache)
- (void)sd_setImageWithURL:(nullable NSURL *)url { - (void)sd_setImageWithURL:(nullable NSURL *)url {

View File

@ -0,0 +1 @@
../../MapKit/MKAnnotationView+WebCache.h

View File

@ -0,0 +1 @@
../../../WebImage/SDWebImageMapKit.h

View File

@ -15,7 +15,7 @@ FOUNDATION_EXPORT double SDWebImageVersionNumber;
//! Project version string for SDWebImage. //! Project version string for SDWebImage.
FOUNDATION_EXPORT const unsigned char SDWebImageVersionString[]; FOUNDATION_EXPORT const unsigned char SDWebImageVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <WebImage/PublicHeader.h> // In this header, you should import all the public headers of your framework using statements like #import <SDWebImage/PublicHeader.h>
#import <SDWebImage/SDWebImageManager.h> #import <SDWebImage/SDWebImageManager.h>
#import <SDWebImage/SDWebImageCacheKeyFilter.h> #import <SDWebImage/SDWebImageCacheKeyFilter.h>

View File

@ -9,11 +9,11 @@
#import <MapKit/MapKit.h> #import <MapKit/MapKit.h>
//! Project version number for WebImage. //! Project version number for SDWebImageMapKit.
FOUNDATION_EXPORT double WebImageMapKitVersionNumber; FOUNDATION_EXPORT double SDWebImageMapKitVersionNumber;
//! Project version string for WebImage. //! Project version string for SDWebImageMapKit.
FOUNDATION_EXPORT const unsigned char WebImageMapKitVersionString[]; FOUNDATION_EXPORT const unsigned char SDWebImageMapKitVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <SDWebImageMapKit/PublicHeader.h> // In this header, you should import all the public headers of your framework using statements like #import <SDWebImageMapKit/PublicHeader.h>