摘要: /** * swift3.0 单例样式 * 使用方法:let mark = SingelClass.shared */ class SingelClass: NSObject { static let shared = SingelClass() // 重载并私有 private override init() { // 初始化一些内容 ... 阅读全文
posted @ 2017-02-15 18:01 MaricoSun 阅读(1498) 评论(0) 推荐(0) 编辑
摘要: // // XCache.swift // UITablViewTest // // Created by Marcio on 2017/2/14. // Copyright © 2017年 Marcio. All rights reserved. // import UIKit class XCache: NSObject { /** * 读取缓存大小 ... 阅读全文
posted @ 2017-02-15 17:17 MaricoSun 阅读(2371) 评论(0) 推荐(0) 编辑
摘要: // // XGIFView.swift // UITablViewTest // // Created by Marico on 2017/2/14. // Copyright © 2017年 Marico. All rights reserved. // import UIKit import ImageIO import QuartzCore /** * MD5字符转换需要一... 阅读全文
posted @ 2017-02-15 15:01 MaricoSun 阅读(2342) 评论(0) 推荐(0) 编辑