Description
Currently this framework named "SDWebImageSwiftUI"
However, the SDWebImage part is only the dependency, most of common usage code does not related to SDWebImage itself. The only Public API now can touch SDWebImage:
- WebImage.options
- WebImage.context
- AnimatedImage.context
- AnimatedImage.context
- AnimatedImage.transition
- AnimatedImage.indicator
- ImageManager.options
- ImageManager.context
If we can build a own wrapper, we can totally eliminate any symbols from SDWebImage exported to user.
This may help, in the future, to totally remove the dependency to SDWebImage Core.
Reason
SDWebImage itself seems has many histroical code which may not suitable in the future of iOS develoipment and new SwiftUI developer learning. We want to make it alive, one way it's to totally rewrite it using Swift.
This need some huge task, not just translate Objc to Swift line by line. Because many design and API should be updated to use Swifty Syntax.
Make the SDWebImageSwiftUI hide the symbols, can make it more easy during the transition.
Suggest Naming
- SwiftUIWebImage <-- May be OK
- WebImageSwiftUI <-- Suffix one
- SwiftUIImage <-- Not about Web, may not suitable
- Any team name. "SD" reference to
Simple Design
company in SDWebImage's history. We can also find one. LikeAFNetworking
->Alamofire