常见工具总结

xiaoxiao2021-02-28  93

常见工具总结


日志类

CocoaLumberjack 支持OC & Swift, 分级别的一个日志系统,最主要的是支持写入文件,然后导出文件就可以查看日志信息。

DebugWindow 支持OC,一个轻量级的基于Window的调试工具

HCDeviceConsole 支持OC, 这也是一个很轻量级的Log工具,就引入两个文件,然后一句话开启服务,就可以把所有的NSLog日志都输出到Window上。

网络类

AFNetworking 这个是OC版本的,其Swift版本叫Alamofire

Alamofire 这个是AFNetworking的Swift版本,很好用

数据解析

SwiftyJSON The better way to deal with JSON data in Swift. 承接解析Alamofire返回来的JSON数据,好用的不得了。算是绝配。

ObjectMapper 模型数据转换工具 JSON –> Model, Model –> JSON, ObjectMapper + Alamofire

布局

SnapKit A Swift Autolayout DSL for iOS & OS X (http://snapkit.io) Masonry OC版本的, 也是由SnapKit人马维护的的。

LayoutKit LayoutKit is a fast view layout library for iOS, macOS, and tvOS. http://layoutkit.org, 这是LinkedIn维护的一个框架

SDAutoLayout 一行代码搞定自动布局!支持Cell和Tableview高度自适应,Label和ScrollView内容自适应,致力于做最简单易用的AutoLayout库。

TableViewCell

UITableView-FDTemplateLayoutCell 百度ForkingDog团队维护的一个基于Tableview的cell布局,性能效果特别好。
Refresh

MJRefresh An easy way to use pull-to-refresh. 暂时只支持OC

DGElasticPullToRefresh Swift版本 Elastic pull to refresh for iOS developed in Swift

CRRefresh Swift版本 CRRefresh an easy way to use pull-to-refresh, If you want to customize its UI style, you just need conform the specified protocol. We will not regularly updated some nice dynamic effect, at the same time also welcome to write to me.

ScrollView
WRCycleScrollView Swift版本, 无限循环轮播
Slide Menu
SlideMenuControllerSwift iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift.
Message Tips

SwiftMessages A very flexible message bar for iOS written in Swift.

SwiftNotice GUI library for displaying various popups (HUD), written in pure Swift.

PKHUD A Swift based reimplementation of the Apple HUD (Volume, Ringer, Rotation,…) for iOS 8.

Progress

KYCircularProgress Flexible progress bar written in Swift.

MBProgressHUD 只支持OC

SVProgressHUD A clean and lightweight progress HUD for your iOS and tvOS app. https://github.com/SVProgressHUD/ Support both OC and Swift

NJKWebViewProgress UIWebView progress interface, Support Objective-C

Charts

PNChart A simple and beautiful chart lib used in Piner and CoinsMan for iOS in Objective-C

XYPieChart A simple and animated Pie Chart for your iOS app in Objectiv-C

Graph Graph is a semantic database that is used to create data-driven applications. http://graphswift.com
Database

fmdb A Cocoa / Objective-C wrapper around SQLite

canDB.swift A framework that works like a nonSQL database but runs on top of sqlite(FMDB)

AlertView

SCLAlertView Beautiful animated Alert View. Written in OC SCLAlertView-Swift Beautiful animated Alert View. Written in Swift

Harpy Notify users when a new version of your app is available and prompt them to upgrade. http://www.sabintsev.com Siren Swift 版本 Notify users when a new version of your app is available and prompt them to upgrade. http://sabintsev.com/Siren

ios-custom-alertview Custom UIAlertView. Continue adding images and UIViews to dialogs in iOS7+. Support OC

Presentr Swift wrapper for custom ViewController presentations on iOS

Animation

RollerCoasterAnimation iOS开发进阶 - CAKeyframeAnimation实现过山车动画

Spring A library to simplify iOS animations in Swift. http://designcode.io

Hero Elegant transition library for iOS & tvOS

Material Material Design library used to create beautiful applications. http://materialswift.com

转载请注明原文地址: https://www.6miu.com/read-71137.html

最新回复(0)