iOS 异步图像加载 ImageLoaderSwift

码农软件 · 软件分类 · 图像(Image) · 2019-05-30 17:13:22

软件介绍

ImageLoader 是异步图片加载工具,特性:

  • UIImageView 类简单方法

  • 可以自己设置的缓存模块

  • 使用 ImageLoader 加载图像,不是 UIImageView

要求:

iOS 7.0+ Xcode 6.1

使用

let URL: NSURL = NSURL(string: "http://image")!
imageView.setImage(URL)

or

let URL: NSURL = NSURL(string: "http://image")!
imageView.setImage(URL, placeholder: nil, success: { _ in ...}, failure: { _ in ...})

or

let URL: NSURL = NSURL(string: "http://image")!
imageView.setImage(URL, placeholder: nil, completion: { _ in ... })


本文地址:https://www.codercto.com/soft/d/6889.html

Refactoring

Refactoring

Martin Fowler、Kent Beck、John Brant、William Opdyke、Don Roberts / Addison-Wesley Professional / 1999-7-8 / USD 64.99

Refactoring is about improving the design of existing code. It is the process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its int......一起来看看 《Refactoring》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

MD5 加密
MD5 加密

MD5 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具