WTURLImageView:使用具有各种功能的 AFNetworking 获取图像的 UIImageView

时间:2024-06-22 22:04:53
【文件属性】:

文件名称:WTURLImageView:使用具有各种功能的 AFNetworking 获取图像的 UIImageView

文件大小:38KB

文件格式:ZIP

更新时间:2024-06-22 22:04:53

Objective-C

WTURLImageView 介绍 WTURLImageView 是 UIImageView 的子类,它使用 AFNetworking 从 Internet 加载图像,具有以下功能 自动调整图像大小 以不同的纵横比显示图像 使用 GVCache 的磁盘缓存 活动指标 占位符和失败的图像 加载图像时的各种过渡动画 视频演示 用法 最简单的调用: [imageView setURL:url]; 调用选项: [imageView setURL:url fillType:fillType options:options placeholderImage:placeholderImage failedImage:failedImage diskCacheTimeoutInternal:diskCacheTimeInterval]; 您可以在其中设置不同的填充


【文件预览】:
WTURLImageView-master
----.gitignore(70B)
----WTURLImageView.podspec(737B)
----LICENSE.md(1KB)
----WTURLImageViewDemo.xcodeproj()
--------project.pbxproj(18KB)
----WTURLImageViewDemo()
--------WTAppDelegate.h(390B)
--------main.m(358B)
--------WTAppDelegate.m(2KB)
--------Default@2x.png(16KB)
--------placeholder.png(4KB)
--------placeholder@2x.png(5KB)
--------WTViewController.h(610B)
--------WTURLImageViewDemo-Info.plist(1KB)
--------WTURLImageViewDemo-Prefix.pch(449B)
--------Default.png(6KB)
--------Default-568h@2x.png(18KB)
--------WTViewController.m(4KB)
--------en.lproj()
----WTURLImageViewDemo.xcworkspace()
--------contents.xcworkspacedata(178B)
----WTURLImageView()
--------WTURLImageView.m(19KB)
--------WTURLImageView.h(5KB)
----README.md(3KB)
----PodFile(127B)

网友评论