Skip to content

Future for this framework - drop SDWebImage naming #88

Open
@dreampiggy

Description

@dreampiggy

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. Like AFNetworking -> Alamofire

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIAPI changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions