SkillAgentSearch skills...

Uiwebimageview

Subclass of UIImageView for asychronous image loading.

Install / Use

/learn @twoism/Uiwebimageview
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

= UIWebImageView

This subclass of UIImageView provides asynchronous loading of web images. By using the initWithFrame:frame andUrl:url animated:animated initializer and reserved space for the image with an ActivityIndicator will be created.

== Example Usage

Create a NSString for the URL you want to load, initialize UIWebImage and add it to your view.

NSString *url = [[NSString alloc] initWithString:@"http://farm2.static.flickr.com/1204/789803401_0017756904.jpg"]; UIWebImageView *webImage = [[UIWebImageView alloc] initWithFrame:CGRectMake(0,0,300,300) andUrl:url animated:YES]; [[self view] addSubview:webImage];

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated6y ago
Forks1

Languages

Objective-C

Security Score

60/100

Audited on Aug 13, 2019

No findings