by Jack Palevich
Yet another remote image package for SwiftUI.
This one's better than most other RemoteImage implementations because:
import RemoteImage
import SwiftUI
struct ContentView: View {
var body: some View {
GeometryReader{proxy in
RemoteImage(loader:ImageLoader(
url:URL(string:"https://example.com/myimage.jpg")!,
targetSize: proxy.size))
}
}
}
Thanks to all the RemoteImage tutorials on the web, especially:
And probably other tutorials that I've accidentally omitted.
0.0.2 - add a simple RAM cache.
0.0.1 - first version.
link |
Stars: 2 |
Last commit: 4 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics