你沒看錯冠骄!極致框架2.0最終版來啦
更新內(nèi)容
V2.0 最終版(2021-7-5)
1 EFUtils: 轉(zhuǎn)換工具添加了新的方法伪煤,添加了編碼為 base64字符串和解碼為 NSData的方法,UI工具添加了新的方法凛辣,取消了 DES加解密方法抱既。
2 EFBase:
2.1 EFBaseViewController: 自定義返回與自定義取消方案改進,獲取位置添加了新的方法扁誓,獲取照片添加了新的方法防泵,添加了獲取錄音權(quán)限的方法,添加了嵌入式 tableView的支持蝗敢,可以像 EFBaseTableViewController中自帶的 tableView一樣使用捷泞,添加了數(shù)據(jù)刷新與分頁和無數(shù)據(jù)顯示的聯(lián)動顯示效果,輸入聚焦方案改進寿谴。
2.2 EFBaseTableViewController: 自定義返回與自定義取消方案改進肚邢,獲取位置添加了新的方法,獲取照片添加了新的方法拭卿,添加了獲取錄音權(quán)限的方法,添加了數(shù)據(jù)刷新與分頁和無數(shù)據(jù)顯示的聯(lián)動顯示效果贱纠,輸入聚焦方案改進峻厚。
2.3 EFBaseModalDialogViewController: 彈出式對話框基類,目前提供了最常用的三種彈出式對話框谆焊。
2.4 EFBaseWebViewController: UIWebView替換為 WKWebView惠桃。
2.5 BaseDataModel: 添加了自動歸解檔的支持。
3 EFUIKit:
3.1 EFNavigationBar: 取消了漸變色背景辖试,深淺模式現(xiàn)在對應(yīng)主題色辜王,除了按鈕、標題顏色罐孝,現(xiàn)在也作用于背景色呐馆。
3.2 EFModalDialog: 提供了最常用的三種彈出式對話框:列表單選或者多選、日期(時間可選)選擇莲兢、最多兩級的級聯(lián)選項汹来。
3.3 EFButton: 提供了邊框续膳、圓角、漸變背景自定義收班,內(nèi)容水平居中坟岔、圖標居左、圖標居上多種顯示風(fēng)格摔桦。
3.4 EFView: 提供了邊框社付、圓角、陰影效果自定義邻耕。
3.5 EFImageView: 提供了邊框鸥咖、圓角、陰影效果赊豌、圖像填充方式自定義扛或。
3.6 EFLabel: 提供了邊框、圓角自定義碘饼,添加了通過 NSString實例化的方法熙兔,添加了文字顯示不全時,點擊以浮動提示方式顯示全部文字的效果艾恼,默認不啟用住涉。
3.7 EFTextField: 提供了邊框、圓角钠绍、占位文字顏色舆声、文字顯示位置偏移量自定義。
4 AFHTTPTool: AFHTTPConfig 錯誤碼升級為狀態(tài)碼柳爽,獲取 AFHTTPSessionManager時不再要求提供授權(quán)媳握,改由各請求處理。
5 EFFMDBTool: 基于 BaseDataModel的模型sqlite自動存取磷脯。
6 演示 App同步更新蛾找,通過導(dǎo)航的深淺風(fēng)格改變主題色。
7 適配了 iOS14系統(tǒng)赵誓,項目通過 Xcode12成功編譯打毛。V2.0 Definitive Edition
1 EFUtils: The conversion utils gets new methods to encode NSData to Base64 strings and decode NSData from them. New methods for UI utils. The DES encryption and decryption method is removed.
2 EFBase:
2.1 EFBaseViewController: Custom back and custom cancel solution improvements, new methods for request locations, new methods for select photos, new method for request recording permission, and embedded tableView is supported, just use like the EFBaseTableViewController own tableView, data refresh and pageable with display no data view during animations, solution of input focus improvement.
2.2 EFBaseTableViewController: Custom back and custom cancel solution improvements, new methods for request locations, new methods for select photos, new method for request recording permission, data refresh and pageable with display no data view during animations, solution of input focus improvement.
2.3 EFBaseModalDialogViewController: Modal dialog base class, now provides the most commonly used three modal dialog.
2.4 EFBaseWebViewController: Replace UIWebView with WKWebView.
2.5 BaseDataModel: Added support for archive and unarchive automatic .
3 EFUIKit:
3.1 EFNavigationBar: The gradient background is removed. The navigation style is applied by the theme color. In addition to the bar button item and title color, it also applied to the background color.
3.2 EFModulalDialog: It provides the three most commonly used modal dialogs: list option with single or multiple selection, select date(or date and time), and level-able options up to two levels.
3.3 EFButton: Customized border, corner radius, and gradient background. it provides a lot of display styles such as horizontal content center, icon on the left and icon on the top.
3.4 EFVIEW: Customized border, corner radius or shadow.
3.5 EFImageView: Customized border, corners radius or shadow, and image content mode.
3.6 EFlabel: Customized border, corners radius, it provides a lot of methods to init label with NSString, and display all text in pop-over view when the text is not displayed completely just simply by a single tap.
3.7 EFTextField: Customized border, corner radius, placeholder text color, and text display position offset.
4 AFHTTPTool: The AFHTTPConfig error code is upgraded to status code, and authorization is no longer required when get AFHTTPSessionManager, just handle by each request instead.
5 EFFMDBTool: Read from or save to sqlite automatic just by models based on BaseDataModel.
6 The demo App is upgraded at the same time, and the navigation style is applied by the theme color.
7 Compatible with iOS 14, and the project is successfully compiled by Xcode12.
趕緊到原文下載源碼吧。溫馨提示:通過瀏覽器訪問來打開鏈接俩功。
許可
- 本文采用 BY-NC-SA 許可協(xié)議幻枉。即:署名——轉(zhuǎn)載請注明出處;非商業(yè)使用诡蜓;相同方式傳播——再分發(fā)的文章許可與原文相同熬甫。