iOS之常用框架简单说明

版权声明:本文为博主原创文章,转载请说明出处:http://blog.csdn.net/amberoot https://blog.csdn.net/amberoot/article/details/81627270
网络框架
CocoaAsyncSocket

· GitHub地址:https://github.com/robbiehanson/CocoaAsyncSocket/

· 特点:易用、强大的socket(TCP\UDP)第三方。

SwiftHttp

· GitHub地址:https://github.com/daltoniam/SwiftHTTP 

· 特点:基于NSURLSession,简单API、内置JSON请求序列化、上传\下载带有进度、支持简单队列(Queue)、支持参数编码。

AFNetworking

· GitHub地址:https://github.com/AFNetworking/AFNetworking

· 特点:用swift不方便;支持ARC、支持HTTPS、只支持异步请求。

Alamofire

· GitHub地址:https://github.com/Alamofire/Alamofire

· 特点:专为swift设计的网络框架;

MKNetworkKit

· GitHub地址:https://github.com/MugunthKumar/MKNetworkKit

· 特点:高度轻量、不支持上传进度、支持HTTPS需要插件

 

数据交换格式
NSXML · 特点:iOS自带的解析XML框架,采用SAX模式解析。
KissXML

· GitHub地址:https://github.com/robbiehanson/KissXML

· 特点:基于libxml,使用简单。

TBXML

· GitHub地址:https://github.com/codebots-ltd/TBXML

· 特点:采用DOM模式解析,适用于轻量数据。

数据持久化
Core Data · 特点:苹果提供的数据持久化技术,底层是SQLite数据库。    
Realm

· GitHub地址:https://github.com/realm/realm-cocoa

· 特点:一个跨平台的移动数据库,支持Android和iOS;使用简单;

SQLite  
音视频框架
IJKPlayer

· GitHub地址:https://github.com/Bilibili/ijkplayer

· 特点:基于FFmpeg,能播放如rtsp等多种格式的流媒体。

· 我制作的framework(支持rtsp):https://download.csdn.net/download/amberoot/10555321

   

               

视图框架
Charts

· GitHub地址:https://github.com/danielgindi/Charts

· 特点:十分强大的图表框架,能制作折线图、柱状图、饼状图、组合图等。

ImageHelper

· GitHub地址:https://github.com/melvitax/ImageHelper

· 特点:swift的图片处理框架。

       

服务端框架
Perfect

· GitHub地址:https://github.com/PerfectlySoft/Perfect

· 特点:swift服务端框架;

   
自动布局框架
SnapKit

· GitHub地址:https://github.com/SnapKit/SnapKit

· 特点:swift自动布局框架;简化代码写约束;容易适配多种屏幕;

   

 

缓存框架
AwesomeCache

· GitHub地址:https://github.com/aschuch/AwesomeCache

· 特点:swift写的;基于NSCache;轻量;没有明确区分内存(Memory)和磁盘(Disk );

Cache

· GitHub地址:https://github.com/hyperoslo/Cache

· 特点:采用swift4 Codable;默认磁盘缓存;通过DiskConfig和MemoryConfig可多种选择;支持清空到期对象;线程安全;默认同步操作,也支持异步API;内存缓存使用NSCache, 磁盘缓存使用文件管理。

Track

· GitHub地址:https://github.com/maquannene/Track

· 特点:swift写的;线程安全;支持LRU,可以通过限制容量,过期时间和内存使用情况来清除最近最少使用的对象;支持内存缓存和磁盘缓存;支持同步和异步操作;

   

       

SQL框架
OHMySQL

· GitHub地址:https://github.com/oleghnidets/OHMySQL

· 特点:能直连MySQL数据库

   

 

                               

猜你喜欢

转载自blog.csdn.net/amberoot/article/details/81627270
今日推荐