iOS常用第三方庫
一、推薦使用的第三方庫
1:基于響應(yīng)式編程思想的oc
地址:https://github.com/ReactiveCocoa/ReactiveCocoa
2:hud提示框
地址:https://github.com/jdg/MBProgressHUD
3:XML/HTML解析
地址:https://github.com/topfunky/hpple
4:有文字輸入時,能根據(jù)鍵盤是否彈出來調(diào)整自身顯示內(nèi)容的位置
地址:https://github.com/michaeltyson/TPKeyboardAvoiding
5:狀態(tài)欄提示框
地址:https://github.com/jaydee3/JDStatusBarNotification
6:block工具包。將很多需要用delegate實現(xiàn)的方法整合成了block的形式
地址:https://github.com/zwaldowski/BlocksKit
7:圖片加載
地址:https://github.com/rs/SDWebImage
8:正則表達式
地址:https://github.com/wezm/RegexKitLite
9:Masonry代碼布局 (MyLinearLayout一個布局類庫)
地址:https://github.com/SnapKit/Masonry
10:彈出窗
地址:https://github.com/sberrevoets/SDCAlertView
11:Button的樣式
地址:https://github.com/mattlawer/BButton
12:驗證網(wǎng)絡(luò)連接狀態(tài)
地址:https://github.com/tonymillion/Reachability
13:自動計算表格行高
地址:https://github.com/forkingdog/UITableView-FDTemplateLayoutCell
14:動畫效果的啟動頁
地址:https://github.com/IFTTT/JazzHands
15:iOS快速簡單集成國內(nèi)三大平臺分享
地址:https://github.com/xumeng/XMShareModule
16:五項能力值展示的五邊形
地址:https://github.com/dsxNiubility/SXFiveScoreShow
17:自動識別網(wǎng)址號碼郵箱和表情的label
地址:https://github.com/molon/MLEmojiLabel
18:IM對話功能的封裝
地址:https://github.com/ZhipingYang/UUChatTableView
19:字典轉(zhuǎn)模型框架
地址:https://github.com/CoderMJLee/MJExtension
20:下拉上拉刷數(shù)據(jù)
地址:https://github.com/CoderMJLee/MJRefresh
21:表格行左右劃動菜單
地址:https://github.com/MortimerGoro/MGSwipeTableCell
22:圖文混搭
地址:https://github.com/zhouande/TLAttributedLabel
23:可以簡單展示在UINavigationBar下方,類似Music app的播放列表視圖,彈出菜單視圖
地址:https://github.com/DrummerB/BFNavigationBarDrawer
24:比如篩選、模糊、優(yōu)化、蒙版、調(diào)整大小、旋轉(zhuǎn)以及保存等等。同時還提供了一個UIImageView子類從URL異步加載圖片,并在下載完畢時展示圖片。
地址:https://github.com/Nyx0uf/NYXImagesKit
25:底部TabBar
地址:https://github.com/robbdimitrov/RDVTabBarController
26:表情面版
地址:https://github.com/ayushgoel/AGEmojiKeyboard
27:記錄框架
地址:https://github.com/CocoaLumberjack/CocoaLumberjack
28:IOS與javascript交互
地址:https://github.com/marcuswestin/WebViewJavascriptBridge
29:圖表統(tǒng)計展示
地址:https://github.com/kevinzhow/PNChart
30:appStore評分
地址:https://github.com/arashpayan/appirater
31:iOS-Categories 擴展類大全
地址:https://github.com/shaojiankui/IOS-Categories
32:掃描二維碼,仿微信效果,帶有掃描條
地址:https://github.com/JxbSir/JxbScanQR
33:動效彈出視圖(彈出窗里面為文字,可以定義彈出的方向,及顯示的時間)--AMPopTip
地址:https://github.com/andreamazz/AMPopTip
34:基于Masonry自動計算行高擴展
地址:https://github.com/632840804/HYBMasonryAutoCellHeight
35:模仿新浪微博彈出菜單
地址:https://github.com/wwdc14/HyPopMenuView
36:搜索歷史標(biāo)簽
地址:https://github.com/zhiwupei/SearchHistory
37:快速集成新手引導(dǎo)的類庫
地址:https://github.com/StrongX/XSportLight
38:設(shè)置頁面的封裝
地址:https://github.com/renzifeng/ZFSetting
39:帶箭頭的彈出視圖插件
地址:https://github.com/xiekw2010/DXPopover
40:下拉菜單插件
地址:https://github.com/dopcn/DOPDropDownMenu/
41:表格空白提示插件
地址:https://github.com/dzenbot/DZNEmptyDataSet
42:給任意UIView視圖四條邊框加上陰影,可以自定義陰影的顏色、粗細程度、透明程度以及位置(上下左右邊框)
地址:https://github.com/Seitk/UIView-Shadow-Maker
43:不錯的日期時間插件
地址:https://github.com/CoderXL/UUDatePicker
44:底部彈出選擇
地址:https://github.com/skywinder/ActionSheetPicker-3.0
45:比較不錯的引導(dǎo)頁面插件
地址:https://github.com/ealeksandrov/EAIntroView
46:兩個APP跳轉(zhuǎn)的插件
地址:https://github.com/usebutton/DeepLinkKit
47:本地存取NSUserDefaults插件
地址:https://github.com/gangverk/GVUserDefaults
48:NSArray 和 NSDictionary關(guān)于LINQ的操作方式,封裝一些常用的操作
地址:https://github.com/ColinEberhardt/LinqToObjectiveC
49:可以監(jiān)控網(wǎng)絡(luò)請求的內(nèi)容
地址:https://github.com/coderyi/NetworkEye
50:時間幫助插件,可以快速獲取時間,比較,增加等操作
地址:https://github.com/MatthewYork/DateTools
51: 不錯的鏈?zhǔn)絼幼?/p>
地址:https://github.com/jhurray/JHChainableAnimations
52:彈出層視圖,背景效果(可以自定義視圖的內(nèi)容)
地址:https://github.com/HJaycee/JCAlertView
53:圓形進度條的顯示,中間可顯示值
地址:https://github.com/mdinacci/MDRadialProgress
54:很帥的數(shù)據(jù)加載動畫(可以用于數(shù)據(jù)列表加載的展現(xiàn))
地址:https://github.com/NghiaTranUIT/FeSpinner
55:一個開源的AFnetworking上層的封裝(猿題庫等運用)
地址:https://github.com/yuantiku/YTKNetwork
56:CBStoreHouseRefreshControl:一個效果很酷炫的下拉刷新控件
地址:https://github.com/coolbeet/CBStoreHouseRefreshControl
57:AFNetworking-RACExtensions:針對ReactiveCocoa的AF封裝
地址:https://github.com/CodaFi/AFNetworking-RACExtensions
58:模糊效果(毛玻璃)
地址:https://github.com/nicklockwood/FXBlurView
二、基本流程使用的第三方庫

上述是有重復(fù)同一功能的,而如何選擇呢,這個我們可以根據(jù)項目的具體情況來確定。
二、列表相關(guān)的輪子

- MJRefresh
- EGOTableViewPullRefresh:(這個不更新了,但剛開始用就是它,有感情)
- SVPullToRefresh
- UITableView+FDTemplateLayoutCell
- SWTableViewCell
- RETableViewManager: 自定義TableView 多種類型的展示。
其他還有很多類似功能的,這是我個人從中選擇的幾個,后續(xù)添加中......
三、圖片相關(guān)的輪子

- FastImageCache:加載圖片速度的優(yōu)化,很厲害
PS:簡友CoderKo1o加: PYPhotoBrowser (圖片瀏覽,功能完善中···)
此處Browser 和 Picker 功能是有些重復(fù)的,還是看項目需求來選擇吧。
四、其他可能用的輪子
4-1、偏工具類的輪子
IQKeyboardManager:零行代碼解決鍵盤上移的問題
PNChart:各種圖表的展示
Charts:Swift Charts
MMDrawerController:側(cè)邊欄的 Controller
RESideMenu: QQ 側(cè)邊欄的效果
ENSwiftSideMenu: 簡潔版的側(cè)滑菜單
UUChatTableView:聊天對話的時候,可以參考
JSQMessagesViewController:也是聊天對話的,個人認為更適合
SAMKeychain: 保存keychain的
AESCrypt-ObjC: AES 加密/解密
BabyBluetooth: 一個易使用的藍牙庫
BluetoothKit: 讓我們更容易的操作藍牙的封裝庫,Swift
Mobileplayer-ios: Swift 媒體播放器
PYSearch: 搜索類中,有熱門標(biāo)簽、歷史記錄標(biāo)簽。
- VTMagic : 類似網(wǎng)易、騰訊等應(yīng)用的菜單分頁組
- DLSlieView:也是類似網(wǎng)易上部選擇導(dǎo)航的效果
- HMSegmentedControl:選擇 (可以和DLSlieView比較一下)
- GUITabPagerViewController: 也是上部 tabBar 點擊或滑動的效果
- WMPageController: 同上頂部導(dǎo)航VC 切換
- SDCycleScrollView: 循環(huán)輪播
- SCLAlertView: 自定義的UIAlertView,更漂亮哦
- Shimmer:具有閃爍效果的第三方控件
- TTTAttributedLabel: 富文本的Label
- JSBadgeView:類似系統(tǒng)的 Badge,購物車時常用
- JVFloatLabeledTextField: 特殊效果的textField
- TextFieldEffects: 有標(biāo)注的textFiled
- VBFPopFlatButton: 各種稀奇古怪的動畫button
- FXBlurView:對視圖進行模糊操作
4-2、不一定常用,但很有意思的一些動畫輪子
- CBStoreHouseRefreshControl:刷新時,不一樣的動畫
- LTMorphingLabel:很cool 的文字展示
- ZLSwipeableView : 不一樣的翻頁效果
- Animated-tab-bar: 有動畫的tabBar
- Hamburger-button : 變換的 Button,個人比較喜歡
- Folding-cell:點擊Cell 時,有折疊的動畫效果,很贊
4-3、另外一些第三方庫
- JSPatch:熱修復(fù),為項目動態(tài)添加模塊,或替換項目原生代碼動態(tài)修復(fù) bug
- ReactiveCocoa: 函數(shù)響應(yīng)式編程,使用 MVVM 搭
- RxSwift:Swift 函數(shù)響應(yīng)式編程框架。
- BlocksKit: blocks 包,喜歡用 block的非常適合,學(xué)習(xí) block 的好庫。
- JKCategories:iOS 中常用到的 Category ,可以好好學(xué)習(xí)
- YYKit:龐大、豐富的 iOS 組件,也是學(xué)習(xí)的好地方。
- CocoaAsyncSocket:異步 socket 通訊類庫
- GPUImage:圖片過濾
- AsyncDisplayKit:將圖像解碼、布局以及渲染操作放在后臺線程,帶來更好的用戶交互體驗的框架。
- PromiseKit : 一個用來出來異步的編程框架(Swift)