• Stars
    star
    295
  • Rank 140,902 (Top 3 %)
  • Language
    Objective-C
  • Created about 11 years ago
  • Updated over 10 years ago

Reviews

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

Repository Details

iOS UIImageView subclass - download image with different progress indicators

LASIImageView

iOS UIImageView subclass - download image with different progress indicators

Screenshots

How to use

Just add LASIImageView class files to the project and set the imageUrl property to download and display the image.

Progress indicator types

Three types of progress indicators are available (as in the screenshot above):

  • LProgressTypeAnnular
  • LProgressTypeCircle
  • LProgressTypePie

Appearance

It is possible to set shared appearance. Setting appearance for particular LASIImageView instance will override global appearance.

[[LASIImageView sharedProgressAppearance] setSchemeColor:[UIColor whiteColor]];
[[LASIImageView sharedASIImageViewAppearance] setDownloadFailedImageName:@"downloadFailed.png"];

Request settings

@property (assign, nonatomic) ASICachePolicy cachePolicy;
@property (assign, nonatomic) ASICacheStoragePolicy cacheStoragePolicy;
@property (weak, nonatomic) id <ASICacheDelegate> cacheDelegate;
@property (assign, nonatomic) NSUInteger secondsToCache;
@property (assign, nonatomic) NSUInteger timeOutSeconds;

Blocks

On request finished - success or fail blocks are called (LASIImageViewDownloadFinishedBlock or LASIImageViewDownloadFailedBlock)

More Repositories

1

LTransitionImageView

iOS Image View with transition between images
Objective-C
195
star
2

LBorderView

iOS UIView with dashed or solid line border
Objective-C
105
star
3

LGLinearFlow

iOS Collection View linear flow layout with zoom effect and variable page size; Swift 2.0 and ObjC
Objective-C
98
star
4

PyALPR

Raspberry Pi Automated License Plate Recognition
Python
86
star
5

iOS-OpenCV

iOS OpenCV Sample
84
star
6

Franko

Arduino - Self balancing robot
C++
66
star
7

LEffectLabel

iOS Text Label With Effect
Objective-C
62
star
8

MVVM-RxSwift

Example of MVVM and RxSwift
Swift
50
star
9

LPlaceholderTextView

UITextView subclass with placeholder text
Objective-C
41
star
10

LGDragDrop

iOS Drag&Drop in Objective-C and Swift 2.0
Objective-C
38
star
11

LGAudioPlayerLockScreen

iOS Swift audio player with lock screen controls
Swift
31
star
12

LRouteController

Simple class to get and draw route with optional waypoints using Google Maps SDK for iOS.
Objective-C
24
star
13

LFilterView

iOS Filter View - Checkbox and Radio
Objective-C
15
star
14

LTimer

iOS Timer
Objective-C
15
star
15

LargeDatasetSample

iOS Large Dataset Sample - Core Data and NSFetchedResultsController with search (like Contacts in Phone application)
Objective-C
11
star
16

PyOpenCV

Python + OpenCV Samples
Python
10
star
17

LHelper

iOS Helper Methods And Class Extensions
Objective-C
9
star
18

TurretPython

Face tracking turret project
Python
6
star
19

WordFinder

Graph theory - Objective C Breadth-first search example
Objective-C
6
star
20

ESP8266Light_iOS

Swift
4
star
21

LRover

Arduino Rover 2WD Robot
C++
4
star
22

TurretArduino

Face tracking turret project
Arduino
3
star
23

LTranslationsController

iOS Translations Controller handles application localization with remote localization files.
Objective-C
2
star
24

RxSwiftDelegateWrapper

Sample implementation of RxSwift Delegate Wrapper around AdMob banner and interstitial delegates
Objective-C
2
star
25

LGCDDataSource

iOS Data fetch and import into Core Data
Objective-C
1
star
26

LGDeferred

Deferred class based on PromiseKit, supports cancellation
Objective-C
1
star
27

LAbstractParser

iOS Abstract Parser
Objective-C
1
star
28

LGStackView

Control similar to UIStackView for iOS 8+
Swift
1
star