我找的瑣碎框架
1.HZExtend:應用快速開發架構集合了MVC和MVVM的特點https://github.com/GeniusBrother/HZExtend : 1.減少控制器壓力以及耦合 2.帶有請求狀態(請求中,請求后,無網絡)的網絡框架 3.無網仍有數據的緩存體系 4.與表映射能操作數據庫的Model 5.支持URL跳轉
2.HZURLManager:根據URL進行頁面跳轉:https://github.com/GeniusBrother/HZURLManager
3.HZMenuView:仿今日頭條的側邊欄,以UINavigationController為容器,且導航頁面時不關閉的側邊欄:https://github.com/GeniusBrother/HZMenuView
牛逼框架
1.AFNetworking
目前比較推薦的iOS網絡請求組件,默認網絡請求是異步,通過block回調的方式對返回數據進行處理。
2.FMDB
對sqlite數據庫操作進行了封裝,demo也比較簡單。
3.MBProgressHUD
也是iOS項目常用的一個組件,用于顯示過渡效果的,比如網絡請求之前顯示loading,網絡結束隱藏loading。建議封裝在BaseViewController中,所有ViewController繼承就能使用。
4.MJRefresh
這個是傳智播客李明杰老師的作品,自己的oc基礎就是看他的視頻半個周末就基本拿下了。MJRefresh主要用于刷新操作,提供了常用的刷新操作,還有刷新動畫,用著很好用。建議把方法封裝在BaseViewController中,這樣修改刷新操作時,就只需要改動一份。(之前用的舊版MJRefresh,只支持普通的刷新,不支持動畫,后來更新后版本變化比較大,舊的方法已經不推薦使用了,所以還是封裝基類中使用比較好,方便以后修改)
5.SDWebImage
也是iOS最常用的一個組件,用戶加載網絡圖片,可以緩存到本地。大概原理時,第一次加載后,會根據url加密作為文件名緩存在本地,如果再次加載圖片時,就直接從本地加載。用著也比較簡單。這里也分享遇到的一個問題,先從網絡加載一張小圖,然后小圖作為占位圖,再從網絡加載一張大圖。
6.RDVTabBarController
一個TabBar組件,可以方便設置底部菜單的文字圖片,點擊效果,小紅點提示等。
7.Toast
類似android的toast提示效果,封裝在BaseViewController中,需要的地方進行提示。
8.XMPPFramework
iOS唯一的xmpp類庫,作者在去年8月份添加了xep-0198協議支持(流管理,用于xmpp斷線重連),但是通過pod進行更新時,無法下載到最新版本,可能0198還沒有完善好,無法作為正式版。
9.TPKeyboardAvoiding
用戶鍵盤彈出自動計算高度,進行屏幕滾動操作。
10.AMR
做即時通訊的音頻處理,目前我們的即時通訊使用的錄音文件是m4a,便于web端的音頻播放。
11.TQRichTextView
用于做富文本視圖控件顯示,用于即時通訊的表情顯示,以及資源評論的富文本顯示。
12.CSGrowingTextView
用作即時通訊文本框和評論文本框使用,可以顯示多行輸入。
13.MJExtension
也是李明杰老師的作品,用于json轉model進行使用,有點類似于java中谷歌的Gson。轉換效率據說也很高,使用也比較簡單,只要前后臺約定好,json直接就轉成了model。一個工作多年的iOS朋友說,一個項目主要的是對model層的管理,他推薦的是Mantle。不過MJ這個更輕量級點,用著也更加簡單。
14.ASIHTTPRequest
也是一款網絡通信的第三方庫,但是很久很久沒有更新了.
15.Masonry
無論是sb還是xib中加約束都不爽,這個第三方還是不錯的.
16.IQKeyboardManager
管理彈出鍵盤的一款第三方庫,有時候輸入框彈出鍵盤后覆蓋了輸入框,用這個來很方便的管理. 庫里的demo很簡單,看了就懂.
17.QRCodeScan-master
掃描二維碼,可以從相冊讀取圖片來掃描,也可以通過字符串轉換成二維碼圖片.
18.Core Plot
Core Plot是一個開源的2D繪圖框架,具有高度可定制性,和Apple的技術緊密的整合,比如 Core Animation、Core Data 和 Cocoa Bindings。 可以繪制柱狀圖、折線圖、餅圖等多種圖形,提供Mac OS X和iOS下的組件庫,基本可以滿足你大部分的繪圖需求。
19.Crashlytics
Crashlytics是一款用于檢測你開發的應用,何時在客戶端設備上崩潰,并能找出其崩潰原因以及幫助開發者修復應用的工具。Crashlytics既免費又方便使用,另外,還內置一些基礎的分析功能,讓你無需總要依賴其他獨立的分析工具。
20.awesome-ios-ui
提供了一些UI效果,有動畫,有自定義的UI。文件共【96.2Mb】.效果不錯,可供大家學習,不建議使用
21. FlatUIKit
提供了一些常用的控件,如UISwitcgh,UISegmentedControl,AlertView 等
22.RNThemeManager 可用于我們學習iOS app主題的開發
MAThemeKit統一修改APP主題
23.MPColorTools 處理顏色的工具類
Colours
Chameleon 輕量級且強大的顏色工具,我們可以實用它來設置文本顏色和背景顏色。非常推薦的類庫
24.圖片瀏覽控件MWPhotoBrowser
實現了一個照片瀏覽器類似 iOS 自帶的相冊應用,可顯示來自手機的圖片或者是網絡圖片,可自動從網絡下載圖片并進行緩存??蓪D片進行縮放等操作。
下載:https://github.com/mwaterfall/MWPhotoBrowser
目前比較活躍的社區仍舊是Github,除此以外也有一些不錯的庫散落在Google Code、SourceForge等地方。由于Github社區太過主流,這里主要介紹一下Github里面流行的iOS庫。
25.圖像處理
GPUImage 無疑是這方面的集大成者了。用OpenGL ES2.0來實時處理圖片和視頻流,性能和功能都是頂尖的。
26.開發和調試工具
PonyDebugger 看上去是一個不錯的調試工具,可以在電腦瀏覽器上遠程調試iOS程序、查看試圖層次、網絡等等。CocoaLumberjack是個Log工具,號稱是可以提供企業級Log,使用者也挺多。
27.OC與JS交互 WKWebView
一:源代碼實例
1:快速搭建項目源代碼
地址:https://github.com/wujunyang/MobileProject
2:Coding.net客戶端
地址:https://coding.net/u/coding/p/Coding-iOS/git
3:高仿美團iOS版
地址:https://github.com/lookingstars/meituan
4:模仿網易新聞做的精仿網易新聞
地址:https://github.com/dsxNiubility/SXNews
5:支付寶高仿版
地址:https://github.com/gsdios/GSD_ZHIFUBAO
6:高仿百度傳課iOS版
地址:https://github.com/lookingstars/chuanke
7:模仿一元云購
地址:https://github.com/JxbSir/YiYuanYunGou
8:wordpress源代碼
地址:https://github.com/wordpress-mobile/WordPress-iOS
9:v2ex源代碼(文章類型,若報SVProgressHUD錯,則把Podfile中的SVProgressHUD移除)
地址:https://github.com/singro/v2ex
10:PHPHub客戶端(IOS8.0以上)
地址:https://github.com/Aufree/phphub-ios
11:如何優化UITableView中Cell加載圖片的實例
地址:https://github.com/allenhsu/UIScrollView-Samples/tree/master/LazyLoad
12:開源的IOS代碼集合
地址:https://github.com/dkhamsing/open-source-ios-apps
二:第三方插件
1:基于響應式編程思想的oc
地址:https://github.com/ReactiveCocoa/ReactiveCocoa
2:hud提示框
地址:https://github.com/jdg/MBProgressHUD
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代碼布局
地址: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 (或https://github.com/danielgindi/ios-charts)
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
59:UITableView展開效果的插件
地址:https://github.com/sakkaras/SKSTableView
60:ZIP壓縮及解壓插件ZipArchive
地址:https://github.com/ZipArchive/ZipArchive
61:自定義UIAlertView
地址:https://github.com/lmcd/LMAlertView
62:Facebook開源的動畫庫Pop
地址:https://github.com/facebook/pop
63:關于使用facebook動畫庫的實例集合
地址:https://github.com/schneiderandre/popping
64:iOS 應用視圖上添加簡單閃爍效果Shimmer
地址:https://github.com/facebook/Shimmer
65:ios數據持久化插件,使得Core Data使用起來更加的便捷容易
地址:https://github.com/magicalpanda/MagicalRecord
66:創建縮合的iOS應用程序標題欄
地址:https://github.com/bryankeller/BLKFlexibleHeightBar
67:PDF閱讀器核心庫
地址:https://github.com/vfr/Reader
68:STPopup使彈出框也有UINavigationController的效果
地址:https://github.com/kevin0571/STPopup
69:基于核心音頻,有助于進行實時,低延遲音頻處理和可視化的iOS和OSX音頻可視化框架
地址:https://github.com/syedhali/EZAudio
70:一個不錯的彈出Sheet,可以前進跟后退,適合多個頁面
地址:https://github.com/m1entus/MZFormSheetController
71:Aspect庫是對面向切面編程的實現,里面封裝了Runtime的方法
地址:https://github.com/steipete/Aspects
72:一個不錯在無輸入源的輸入框,如UITableViewCell等
地址:https://github.com/slackhq/SlackTextViewController
73:小紅點插件,用于提示未讀效果
地址:https://github.com/weng1250/WZLBadge
74:不錯的照片選擇器,視頻選擇器,支持單多選
地址:https://github.com/mwaterfall/MWPhotoBrowser
75:含10多種的轉場動畫效果
地址:https://github.com/ColinEberhardt/VCTransitionsLibrary
76:左右菜單顯示(類似QQ導航)
地址:https://github.com/romaonthego/RESideMenu
77:很贊的等待指示動畫(比系統自帶的帥)
地址:https://github.com/ninjaprox/DGActivityIndicatorView
78:KVOController一個簡單安全的 KVO(Key-value Observing, 鍵-值 觀察)工具, 提供簡單方便、線程安全的API
地址: https://github.com/facebook/KVOController
79:FormatterKit 收集了很多構思優秀的 NSFormatter 子類
地址:https://github.com/mattt/FormatterKit
三:輔助軟件
1:XCODE文檔注解插件VVDocumenter
地址:https://github.com/onevcat/VVDocumenter-Xcode
2:將JSON格式化輸出為模型的屬性
地址:https://github.com/EnjoySR/ESJsonFormat-Xcode
3:圖片提示插件
地址:https://github.com/ksuther/KSImageNamed-Xcode
4:圖片轉換插件
地址:https://github.com/rickytan/RTImageAssets
5: 測試模擬蘋果通知
地址:https://github.com/KnuffApp/Knuff
6: HOStringSense 可以在彈出框寫NSString,所見及所得
地址:https://github.com/holtwick/HOStringSense-for-Xcode
7:cocoapods-xcode-plugin pod相關的操作可以在xcode菜單進行
地址:https://github.com/kattrali/cocoapods-xcode-plugin
8:switch枚舉的時候會自動生成代碼
地址:https://github.com/stefanceriu/SCXcodeSwitchExpander
9:git中關于各個語言的gitignore
地址:https://github.com/github/gitignore
10:FLEX(Flipboard Explorer)是Flipboard官方發布的一組專門用于iOS開發的應用內調試工具
地址:https://github.com/Flipboard/FLEX
11:ponyDebugger是一個遠程調試工具包,通過使用 Chrome 開發者工具來調試 iOS 應用的網絡流量和數據存儲
地址:https://github.com/square/PonyDebugger
12: OC編碼風格規范
地址:https://github.com/NYTimes/objective-c-style-guide
@import url(http://www.shnenglu.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);