項目經常使用第三方庫 Swift版

第三方庫對應的Swift版本

  • AFNetworking -> Alamofire 21570 支持Carthage
  • ShareSDK,支付寶SDK,微信SDK(第三方支付,分享,登陸) ->monkeyKing 1800 支持Carthage
  • Masonry -> SnapKit 8700 支持Carthage
  • IQKeyboardManager 有swift版本 支持Carthage
  • DZNEmptyDataSet 有swift版本 支持Carthage
  • 下拉刷新 -> ESPullToRefresh,DGElasticPullToRefresh 2531 PullToBounce 1477 不支持Carthage
  • 圖片異步下載 ->Kingfisher 6974 支持Carthage
  • 彈出框 -> PKHUD 1934 KRProgressHUD(比較好看) SwiftSpinner 1417
  • 手勢側滑 ->ENSwiftSideMenu 1648 SideMenu 824
  • 全局斷網提示Reachability -> Reachability.swift 支持Carthage
  • json轉模型 -> json2swift HandyJSON ObjectMapper 支持Carthage
  • UIDevice 對應DeviceKit

沒對應的Swift版本

  • 友盟統計,推送SDK 沒有swift版本 能夠集成
  • 融雲SDK 沒有swift版本 能夠集成
  • 推流SDK,播放器SDK 沒有swift版本
  • bugtags 沒有swift版本, 支持swift3
  • OHHTTPStubs 模仿返回數據,和返回時間

Swift獨有的庫

  • Moya:這是一個基於Alamofire的更高層網絡請求封裝抽象層。支持Carthage
  • IBAnimatable 基於storyboard 開發動畫 5838 支持Carthage
  • 日誌組件 -> XCGLogger 2121
  • MVVM -> RxSwift 7543 支持Carthage
  • JSON 處理 SwiftyJSON 支持Carthage
  • DynamicJSON 像JavaScript同樣處理JSON
  • IBAnalyzer xib,storyboard問題分析庫
  • Dotzu 實時顯示日誌,網絡請求,設備信息
  • DebugMan 調試工具,封裝了Dotzu,Sandboxer,JxbDebugTool,SWHttpTrafficRecorder
  • SwiftLint 強制swift語法規範
  • SwiftyStoreKit 權限請求庫
  • Then 數據初始化的語法糖
  • 照片選擇庫ImagePicker,Fusuma, DKImagePickerController(正在使用,可是不能編輯圖片)
  • InputKit智能限制textfield輸入
  • 行爲測試框架Quick
  • Nimble截圖測試框架封裝的facebook的FBSnapShotTestCase
  • Stryng: String操做的語法糖庫
  • GRDB.swift 數據庫操做庫
  • SwiftyMocky 測試代碼生成框架,測試框架,基於Sourcery
  • Notes manager for macOS swift編寫的macos筆記本
  • SwiftFormat Swift代碼格式化插件(pod 'SwiftFormat/CLI')
  • Stylist: Define UI styles in a hot-loadable external yaml or json file
  • Yams: yaml解析器
  • SwiftEventBus 對通知的封裝
  • Komponents 仿React界面組件庫
  • HGPlaceholders 是一個顯示項目中任何 UITableView/UICollectionView 佔位符和空狀態的庫
  • Bartinter 根據導航欄背後的內容自動改變導航欄顏色
  • CVCalendar 日曆控件

項目中使用的第三方庫

pod 'SnapKit',   4
pod 'ObjectMapper',  4
pod 'Kingfisher', 4
pod 'MBProgressHUD', '~> 1.0.0'
pod 'MJRefresh', '~> 3.1.12'
pod 'FSPagerView' 4
pod 'TZStackView', helkarli/TZStackView分支 -> 4
pod 'SwiftDate', 4
pod 'SKPhotoBrowser'  4
pod 'Then'
pod 'TagListView', '~> 1.3.0'   4
# my libraries
pod 'StaticCellKit', '~> 0.0.3'
pod 'MMNavigationController', '~> 0.0.5'
pod 'MMSegmentedControl', '~> 0.0.9'
pod 'VerificationCodeButton', '~> 0.0.1'
# 照片選取
pod 'DKImagePickerController'    4
pod R.swift
pod Alamofire
pod AlamofireObjectMapper
複製代碼

Xcode工具

  • Injection注入工具git

    1 代碼實時顯示github

    2 TDD實時運行數據庫

  • XcodeGen 根據文件結構和配置生成xcode工程macos

  • quicktype-xcode 將xcode擴展把json轉化成swift代碼json

效率工具

Sourcery 能夠和VSCode一塊兒使用,獲取全部的types,以及tyeps的屬性,基於sourceKit stencil swift的模板代碼工具swift

管理工具

接口管理工具YApi API-Mocker (利用sourcery讀取類屬性來自動生成假數據)api

開源項目

SwiftLanguageWeatherxcode

相關文章
相關標籤/搜索