It helps to load images asynchronously, if you are making apps in Swift UI framework.
It's very simple to use, import AsyncImageLoader in your file.
Use AsyncImage view by initalizing it with url string.
You can configure the view frame and other properties as you want by applying modifiers to it.It gives freedom to make your view as you wanted it to be.
Follow the example below -:
This is how above example looks -
Swift 5.0 and higher versions
Target deployment iOS 13.0 and higher.
AsynImageLoader is available through Swift Package Manager.
Go to File -> Swift Packages -> Add Package Dependency
Enter the url of this repo and Xcode will choose the current version and link it to your project.
link |
Stars: 0 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics