المشاريع
عرض على GitHub
hirohisa/ImageLoaderSwift
حول
A lightweight and fast image loader for iOS written in Swift.
التصميم والوسائطما يمكنك فعله
- Simple methods with UIImageView Category.
- Control Loader to resume, suspend and cancel with URL.
- A module for cache can be set by yourself and default cache (Disk) uses disk spaces and un-uses memory.
- Loading images is handled by ImageLoader, not UIImageView.
النمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلImageLoader
ImageLoader is an instrument for asynchronous image loading written in Swift. It is a lightweight and fast image loader for iOS.
Features
- Simple methods with UIImageView Category.
- Control Loader to resume, suspend and cancel with URL.
- A module for cache can be set by yourself and default cache (Disk) uses disk spaces and un-uses memory.
- Loading images is handled by ImageLoader, not UIImageView.
- After image view start loading another image, previous loading task is possible to live with caching.
- Support
NSURL,StringandNSURLComponentsbyURLLiteralConvertible - Optimize to use memory when image is set.
- Support image type .jpeg, .png
- Comprehensive Unit Test Coverage
Requirements
- iOS 8.0+
- Xcode 7.0+ Swift 2.0
| ImageLoader | Xcode | Swift |
|---|---|---|
| 0.13.+ | 9.0+ | 4.0 |
| 0.12.+ | 8.1+ | 3.0 |
| 0.11.+ | 8.0+ | 3.0 |
| 0.10.0 | 8.0+ | 2.3 |
| 0.9.x | 7.3.1 | 2.2 |
If your project's target need to support iOS5.x or 6.x, use ImageLoader. It's A lightweight and fast image loader for iOS written in Objective-C.
Installation
CocoaPods
pod 'ImageLoader'
Carthage
To integrate ImageLoader into your Xcode project using Carthage, specify it in your Cartfile:
github "hirohisa/ImageLoaderSwift" ~> 0.6.0
Usage
ImageLoader
load
ImageLoader.request(with: url, onCompletion: { _ in })
UIImageView
imageView.load.request(with: url)
or
imageView.load.request(with: url, onCompletion: { _ in })
License
ImageLoader is available under the MIT license.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…