# SwiftWebImage **Repository Path**: yulin97/SwiftWebImage ## Basic Information - **Project Name**: SwiftWebImage - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-17 - **Last Updated**: 2022-04-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SwiftWebImage ![Swift Version](https://img.shields.io/badge/swift-5.0-orange.svg) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![License](https://img.shields.io/cocoapods/l/CZUtils.svg?style=flat)](http://cocoapods.org/pods/CZUtils) [![Platform](https://img.shields.io/cocoapods/p/CZUtils.svg?style=flat)](http://cocoapods.org/pods/CZUtils) Progressive concurrent image downloader for SwiftUI, with neat API and performant LRU mem/disk cache. ### Simple Usage Just `import SwiftWebImage` and set `url` for `SwiftImage`: ```swift SwiftImage(imageUrl) ``` Framework will automatically load Image with `@ObservedObject` data once download completes. ### How to config ImageView? Trailing `config` closure of `SwiftImage` is used for underlying ImageView configuration: ```swift SwiftImage(imageUrl) { imageView in imageView .resizable() .aspectRatio(1, contentMode: .fit) } ``` ### How to import library? Simply add `https://github.com/geekaurora/SwiftWebImage.git` to your `Swift Packages` via project settings. ### Demo