Merge pull request #100 from SDWebImage/module_export_sd

Automatically import SDWebImage when user write import SDWebImageSwiftUI
This commit is contained in:
DreamPiggy 2020-04-14 22:36:14 +08:00 committed by GitHub
commit c255043a0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 4 deletions

View File

@ -7,7 +7,6 @@
*/
import SwiftUI
import SDWebImage
import SDWebImageSwiftUI
class UserSettings: ObservableObject {

View File

@ -8,6 +8,7 @@
import Foundation
import SwiftUI
@_exported import SDWebImage // Automatically import SDWebImage
#if os(macOS)
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)

View File

@ -13,6 +13,3 @@ FOUNDATION_EXPORT double SDWebImageSwiftUIVersionNumber;
//! Project version string for SDWebImageSwiftUI.
FOUNDATION_EXPORT const unsigned char SDWebImageSwiftUIVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <SDWebImageSwiftUI/PublicHeader.h>
#import <SDWebImage/SDWebImage.h>