Swift 必備開發庫 (高級篇)
本文投稿文章,作者:s print( 簡書 )
1、CryptoSwift
swift加密庫, 支持md5,sha1,sha224,sha256...
github地址: https://github.com/krzyzanowskim/CryptoSwift
2、Kingfisher
Kingfisher 是一個異步下載和緩存圖片的庫 類似于SDWebImage
只不過它是純Swift的實現
github地址: https://github.com/onevcat/Kingfisher
3、PeekPop
3DTouch動畫組件
Peek和Pop是iPhone 6S和6S+上新增的一個很棒的iOS特性,可以很方便地使用3D touch來預覽內容。
github地址: https://github.com/marmelroy/PeekPop
4、AlamofireObjectMapper
將Alamofire JSON響應數據 轉為swift對象
github地址: https://github.com/tristanhimmelman/AlamofireObjectMapper
5、RxAlamofire
為Alamofire提供 函數響應式(FRP)調用接口
以優雅的方式使用Alamofire進行網絡請求
github地址: https://github.com/RxSwiftCommunity/RxAlamofire
6、PromiseKit
異步編程類庫 提供了很多實用的異步函數 讓異步編程更簡單
github地址: https://github.com/mxcl/PromiseKit
7、EZSwiftExtensions
對Swift標準庫, Foundation, UIKit 提供了很多高級擴展函數
包括以下內容:
NSObject
Bool
Int
Double
String
NSAttritedString
Array
Dictioanry
NSDate
NSTimer
CGRect
UIViewController
UIView
UITextView
UILabel
UIImageView
UIImage
Block Objects
UIDevice
NSUserDefauts
NSURL
EZ function and variables
github地址: https://github.com/goktugyil/EZSwiftExtensions
8、Aspects
swift面向切面編程(AOP)庫 【Method Swizzling】
github地址: https://github.com/steipete/Aspects
9、PermissionScope
權限管理庫 提供申請權限授權操作
githubd地址: https://github.com/nickoneill/PermissionScope
10、Alamofire
網絡操作庫 基本都知道
github地址: https://github.com/Alamofire/Alamofire
來自: http://www.cocoachina.com/swift/20160525/16437.html