• Stars
    star
    45
  • Rank 623,930 (Top 13 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 5 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🚀SwiftUI Image downloader with performant LRU mem/disk cache.

SwiftWebImage

Swift Version Carthage compatible License Platform

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:

SwiftImage<Image>(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:

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

More Repositories

1

ReactiveListViewKit

MVVM + Redux Reactive Facade ViewKit: eliminates Massive View Controller in unidirectional action/state flow.
Swift
70
star
2

CZInstagram

MVVM + FLUX iOS Instagram client in Swift, eliminates Massive View Controller in unidirectional event/state flow manner
Swift
61
star
3

SwiftUIRedux

🚀Comprehensive Redux library for SwiftUI, ensures State consistency across Stores with type-safe pub/sub pattern.
Swift
22
star
4

ThreadSafeDictionary

Elegant thread-safe Dictionary on top of CZMutexLock
Swift
7
star
5

CZDispatchQueue

Facade class encapsulating DispatchQueue: Utilize DispatchSemaphore to fulfill the control of max concurrent executions of DispatchQueue
Swift
4
star
6

CZWebImage

Elegant progressive concurrent image downloading framework, with neat APIs, LRU mem/disk cache.
Swift
3
star
7

SwiftUIKit

Reactive toolkit for SwiftUI, eliminates MassiveViewController in unidirectional action/state flow🚀
Swift
3
star
8

CZUtils

Super powerful toolkit to improve engineer velocity.
Swift
3
star
9

CZOperationQueue

Homemade OperationQueue implemented with GCD - DispatchQueue (Without using NSOperationQueue).
Swift
2
star
10

SwiftPromise

Promise library that manages asynchronous tasks elegantly.
Swift
2
star
11

CZJsonModel

Elegant JSON modeling framework in Swift
Swift
2
star
12

GraphCycleDetector

Generic linear-time DAG cycle detector based on topological sorting
Swift
2
star
13

CZMutexLock

Generic multi-thread mutex lock on top of DispatchQueue sync/barrier
Swift
2
star
14

CZNetworking

Elegant Codable progressive asynchronous HTTP request flow management framework, supports GET/PUT/POST/DELETE
Swift
2
star
15

CZNibloadable

Convenient nib loading class for UIView/UITableViewCell/UICollectionViewCell
Swift
2
star
16

LibararyDemo

Java
1
star
17

CZHttpFile

Generic HTTP file downloading framework - supports custom data decoder.
Swift
1
star
18

CZWebViewKit

WebViewController that embeds WKWebView.
Swift
1
star
19

CZImageDownloaderAndroid

CZImageDownloader for Android.
Java
1
star
20

terrace

1
star
21

CZTestUtils

Utils library for unit tests.
Swift
1
star