CocoaPods & podfile
CocoaPods 是 iOS 开发最流行的依赖管理工具。本文介绍 CocoaPods 的使用方法和 Podfile 配置技巧。
CocoaPods
pod --version check cocoapods version
pod update --verbose --no-repo-update
pod install --verbose --no-repo-update don’t update repository & display verbose
Podfile
1 | 什么是Podfile |
常用库
- Alamofire Elegant HTTP Networking in Swift
- Kingfisher A lightweight, pure-Swift library for downloading and caching images from the web.
- SnapKit A Swift Autolayout DSL for iOS & OS X
- SwiftyJSON The better way to deal with JSON data in Swift.
- HandyJSON A Handy Json Library for Swift which serials object to json and deserials json to object
- mmkv 高性能通用 key-value 组件
- Cache 图片等中型资源缓存
- WCDB.swift WCDB Swift 是一个易用、高效、完整的移动数据库框架,它基于 SQLite 和 SQLCipher 开发。
- ProgressHUD ProgressHUD is a lightweight and easy-to-use HUD for iOS.
- Mantis 图片裁切
- lottie natively render After Effects vector animations
- IQKeyboardManager Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView.
- ReachabilitySwift Replacement for Apple’s Reachability re-written in Swift with closures
- DSBridge A modern cross-platform JavaScript bridge
- ESTabBarController 高度自定义的TabBarController组件,支持lottie
- WXNavigationBar 类似微信一样的导航栏
- RxSwift Reactive Programming in Swift
- ReactiveCocoa Reactive extensions to Cocoa frameworks, built on top of ReactiveSwift
- NVActivityIndicatorView A collection of awesome loading animations
- animated-tab-bar Swift UI module library for adding animation to iOS tabbar items and icons.
- CryptoSwift CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift
- TextFieldEffects Custom UITextFields effects inspired by Codrops, built using Swift
- SwiftDate Parse, validate, manipulate, and display dates, time and timezones in Swift
- EFQRCode A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS
- Scan Kit可以实现远距离码或小型码的检测和自动放大,同时针对常见复杂扫码场景(如反光、暗光、污损、模糊、柱面)做了针对性识别优化,提升扫码成功率与用户体验。
server
- Perfect Server-side Swift. The Perfect core toolset and framework for Swift Developers.
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Jerome Xiong!
评论

