1. 程式人生 > >iOS 熱門高效開源庫集錦,收藏備用

iOS 熱門高效開源庫集錦,收藏備用

根據 vfl bad 擴展 rev 史記 url 圓形 jsb

一、推薦使用的第三方庫

1:基於響應式編程思想的ReactiveCocoa

地址:https://github.com/ReactiveCocoa/ReactiveCocoa

2:iOS解耦與組件化開發神器-FFRouter

地址:https://github.com/imlifengfeng/FFRouter

3:XML/HTML解析

地址:https://github.com/topfunky/hpple

4:有文字輸入時,能根據鍵盤是否彈出來調整自身顯示內容的位置

地址:https://github.com/michaeltyson/TPKeyboardAvoiding

5:狀態欄提示框

地址:https://github.com/jaydee3/JDStatusBarNotification

6:block工具包。將很多需要用delegate實現的方法整合成了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:驗證網絡連接狀態

地址:https://github.com/tonymillion/Reachability

13:自動計算表格行高

地址:https://github.com/forkingdog/UITableView-FDTemplateLayoutCell

14:動畫效果的啟動頁

地址:https://github.com/IFTTT/JazzHands

15:iOS快速簡單集成國內三大平臺分享

地址:https://github.com/xumeng/XMShareModule

16:五項能力值展示的五邊形

地址:https://github.com/dsxNiubility/SXFiveScoreShow

17:自動識別網址號碼郵箱和表情的label

地址:https://github.com/molon/MLEmojiLabel

18:IM對話功能的封裝

地址:https://github.com/ZhipingYang/UUChatTableView

19:字典轉模型框架

地址:https://github.com/CoderMJLee/MJExtension

20:下拉上拉刷數據

地址: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:比如篩選、模糊、優化、蒙版、調整大小、旋轉以及保存等等。同時還提供了一個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:圖表統計展示

地址: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:搜索歷史標簽

地址:https://github.com/zhiwupei/SearchHistory

37:快速集成新手引導的類庫

地址:https://github.com/StrongX/XSportLight

38:設置頁面的封裝

地址: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:比較不錯的引導頁面插件

地址:https://github.com/ealeksandrov/EAIntroView

46:兩個APP跳轉的插件

地址:https://github.com/usebutton/DeepLinkKit

47:本地存取NSUserDefaults插件

地址:https://github.com/gangverk/GVUserDefaults

48:NSArray 和 NSDictionary關於LINQ的操作方式,封裝一些常用的操作

地址:https://github.com/ColinEberhardt/LinqToObjectiveC

49:可以監控網絡請求的內容

地址:https://github.com/coderyi/NetworkEye

50:時間幫助插件,可以快速獲取時間,比較,增加等操作

地址:https://github.com/MatthewYork/DateTools

51: 不錯的鏈式動作

地址:https://github.com/jhurray/JHChainableAnimations

52:彈出層視圖,背景效果(可以自定義視圖的內容)

地址:https://github.com/HJaycee/JCAlertView

53:圓形進度條的顯示,中間可顯示值

地址:https://github.com/mdinacci/MDRadialProgress

54:很帥的數據加載動畫(可以用於數據列表加載的展現)

地址: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

二、基本流程使用的第三方庫

基本流程使用的第三方輪子
Reachability
Masonry
SnapKit
AFNetworking
Alamofire
YTKNetwork
YYModel
Mantle
JSONModel
SwiftyJSON
MBProgressHUD
SVProgressHUD
JGProgressHUD
FMDB
Realm
上述是有重復同一功能的,而如何選擇呢,這個我們可以根據項目的具體情況來確定。

二、列表相關的輪子

列表相關的輪子
MJRefresh
EGOTableViewPullRefresh:(這個不更新了,但剛開始用就是它,有感情)
SVPullToRefresh
DZNEmptyDataSet
CHTCollectionViewWaterfallLayout
UICollectionViewLeftAlignedLayout
UITableView+FDTemplateLayoutCell
SWTableViewCell
RETableViewManager: 自定義TableView 多種類型的展示。
其他還有很多類似功能的,這是我個人從中選擇的幾個,後續添加中......

三、圖片相關的輪子

圖片相關的輪子
YYWebImage
SDWebImage
MWPhotoBrowser
IDMPhotoBrowser
HUPhotoBrowser
QBImagePicker
CTAssetsPickerController
FastImageCache:加載圖片速度的優化,很厲害
PS:簡友CoderKo1o加: PYPhotoBrowser (圖片瀏覽,功能完善中···)

此處Browser 和 Picker 功能是有些重復的,還是看項目需求來選擇吧。

四、其他可能用的輪子

4-1、偏工具類的輪子

IQKeyboardManager:零行代碼解決鍵盤上移的問題

PNChart:各種圖表的展示

Charts:Swift Charts
MMDrawerController:側邊欄的 Controller
RESideMenu: QQ 側邊欄的效果
ENSwiftSideMenu: 簡潔版的側滑菜單
UUChatTableView:聊天對話的時候,可以參考
JSQMessagesViewController:也是聊天對話的,個人認為更適合
SAMKeychain: 保存keychain的
AESCrypt-ObjC: AES 加密/解密
BabyBluetooth: 一個易使用的藍牙庫
BluetoothKit: 讓我們更容易的操作藍牙的封裝庫,Swift
Mobileplayer-ios: Swift 媒體播放器
PDTSimpleCalendar: 日歷
PYSearch: 搜索類中,有熱門標簽、歷史記錄標簽。
VTMagic : 類似網易、騰訊等應用的菜單分頁組
DLSlieView:也是類似網易上部選擇導航的效果
HMSegmentedControl:選擇 (可以和DLSlieView比較一下)
GUITabPagerViewController: 也是上部 tabBar 點擊或滑動的效果
WMPageController: 同上頂部導航VC 切換
SDCycleScrollView: 循環輪播
SCLAlertView: 自定義的UIAlertView,更漂亮哦
Shimmer:具有閃爍效果的第三方控件
TTTAttributedLabel: 富文本的Label
JSBadgeView:類似系統的 Badge,購物車時常用
JVFloatLabeledTextField: 特殊效果的textField
TextFieldEffects: 有標註的textFiled
VBFPopFlatButton: 各種稀奇古怪的動畫button
FXBlurView:對視圖進行模糊操作
4-2、不一定常用,但很有意思的一些動畫輪子

CBStoreHouseRefreshControl:刷新時,不一樣的動畫
LTMorphingLabel:很cool 的文字展示
ZLSwipeableView : 不一樣的翻頁效果
Animated-tab-bar: 有動畫的tabBar
Hamburger-button : 變換的 Button,個人比較喜歡
Folding-cell:點擊Cell 時,有折疊的動畫效果,很贊
4-3、另外一些第三方庫

JSPatch:熱修復,為項目動態添加模塊,或替換項目原生代碼動態修復 bug
ReactiveCocoa: 函數響應式編程,使用 MVVM 搭
RxSwift:Swift 函數響應式編程框架。
BlocksKit: blocks 包,喜歡用 block的非常適合,學習 block 的好庫。
JKCategories:iOS 中常用到的 Category ,可以好好學習
YYKit:龐大、豐富的 iOS 組件,也是學習的好地方。
CocoaAsyncSocket:異步 socket 通訊類庫
GPUImage:圖片過濾
AsyncDisplayKit:將圖像解碼、布局以及渲染操作放在後臺線程,帶來更好的用戶交互體驗的框架。
PromiseKit : 一個用來出來異步的編程框架(Swift)
收藏

iOS 熱門高效開源庫集錦,收藏備用