Swift 必备开发库 (高级篇)
<p style="text-align:center"><img src="https://simg.open-open.com/show/811dd5b7cc5a4965ab66fee9a164d350.jpg"></p> <h2>1、CryptoSwift</h2> <p>swift加密库, 支持md5,sha1,sha224,sha256...</p> <p>github地址: <a href="/misc/goto?guid=4959616324196754050" rel="nofollow,noindex">https://github.com/krzyzanowskim/CryptoSwift</a></p> <p><img src="https://simg.open-open.com/show/c0035b13bff527ae0189264e012a49a6.jpg"></p> <h2>2、Kingfisher</h2> <p>Kingfisher 是一个异步下载和缓存图片的库 类似于SDWebImage</p> <p>只不过它是纯Swift的实现</p> <p>github地址: <a href="/misc/goto?guid=4958872058774071441" rel="nofollow,noindex">https://github.com/onevcat/Kingfisher</a></p> <p><img src="https://simg.open-open.com/show/cceaec06b36c169ed505ccbeb0b097d5.jpg"></p> <h2>3、PeekPop</h2> <p>3DTouch动画组件</p> <p>Peek和Pop是iPhone 6S和6S+上新增的一个很棒的iOS特性,可以很方便地使用3D touch来预览内容。</p> <p>github地址: <a href="/misc/goto?guid=4959673672186343578" rel="nofollow,noindex">https://github.com/marmelroy/PeekPop</a></p> <p><img src="https://simg.open-open.com/show/7f2eb7b02e1f40e28aab6cacc54a5fe2.jpg"></p> <p><img src="https://simg.open-open.com/show/166162840b8980f35cae1e786c3bbee4.gif"></p> <h2>4、AlamofireObjectMapper</h2> <p>将Alamofire JSON响应数据 转为swift对象</p> <p>github地址: <a href="/misc/goto?guid=4959673672284525554" rel="nofollow,noindex">https://github.com/tristanhimmelman/AlamofireObjectMapper</a></p> <p><img src="https://simg.open-open.com/show/5bcd9d215f04cbe998181312a4baf950.jpg"></p> <h2>5、RxAlamofire</h2> <p>为Alamofire提供 函数响应式(FRP)调用接口</p> <p>以优雅的方式使用Alamofire进行网络请求</p> <p>github地址: <a href="/misc/goto?guid=4959673672367273633" rel="nofollow,noindex">https://github.com/RxSwiftCommunity/RxAlamofire</a></p> <p><img src="https://simg.open-open.com/show/4acab67dc428ec9557349bad5e265ce9.jpg"></p> <h2>6、PromiseKit</h2> <p>异步编程类库 提供了很多实用的异步函数 让异步编程更简单</p> <p>github地址: <a href="/misc/goto?guid=4958870678635630216" rel="nofollow,noindex">https://github.com/mxcl/PromiseKit</a></p> <p><img src="https://simg.open-open.com/show/892894045da9202089f4fa2a2dabfff4.jpg"></p> <p><img src="https://simg.open-open.com/show/022bb714a16e06069ac9b142d4b73422.jpg"></p> <h2>7、EZSwiftExtensions</h2> <p>对Swift标准库, Foundation, UIKit 提供了很多高级扩展函数</p> <p>包括以下内容:</p> <p>NSObject</p> <p>Bool</p> <p>Int</p> <p>Double</p> <p>String</p> <p>NSAttritedString</p> <p>Array</p> <p>Dictioanry</p> <p>NSDate</p> <p>NSTimer</p> <p>CGRect</p> <p>UIViewController</p> <p>UIView</p> <p>UITextView</p> <p>UILabel</p> <p>UIImageView</p> <p>UIImage</p> <p>Block Objects</p> <p>UIDevice</p> <p>NSUserDefauts</p> <p>NSURL</p> <p>EZ function and variables</p> <p>github地址: <a href="/misc/goto?guid=4959649070137678009" rel="nofollow,noindex">https://github.com/goktugyil/EZSwiftExtensions</a></p> <p><img src="https://simg.open-open.com/show/941238f3040fc03f86b086fefda760a0.jpg"></p> <p><img src="https://simg.open-open.com/show/652176da6298d4e022edaf5adaf99f14.jpg"></p> <h2>8、Aspects</h2> <p>swift面向切面编程(AOP)库 【Method Swizzling】</p> <p>github地址: <a href="/misc/goto?guid=4959630207627933220" rel="nofollow,noindex">https://github.com/steipete/Aspects</a></p> <p><img src="https://simg.open-open.com/show/20fc78530ce0a124aa592fa18d6e2fab.jpg"></p> <h2>9、PermissionScope</h2> <p>权限管理库 提供申请权限授权操作</p> <p>githubd地址: <a href="/misc/goto?guid=4958872895828933554" rel="nofollow,noindex">https://github.com/nickoneill/PermissionScope</a></p> <p><img src="https://simg.open-open.com/show/140f77ec8ab49a667900a9c404cf4df9.jpg"></p> <p><img src="https://simg.open-open.com/show/6df2cb88df18cbe95cf8fb2e8c1250e9.gif"></p> <h2>10、Alamofire</h2> <p>网络操作库 基本都知道</p> <p>github地址: <a href="/misc/goto?guid=4958851213782329914" rel="nofollow,noindex">https://github.com/Alamofire/Alamofire</a></p> <p><img src="https://simg.open-open.com/show/8b442ebce77d4d2af21ad9c324e17620.png"></p> <p> </p> <p>来自: <a href="/misc/goto?guid=4959673672596005666" rel="nofollow">http://www.cocoachina.com/swift/20160525/16437.html</a></p> <p> </p>
本文由用户 huang2012 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!