{"id":22042800,"url":"https://github.com/silence0201/ios-category","last_synced_at":"2025-05-08T01:22:21.906Z","repository":{"id":37335892,"uuid":"67045211","full_name":"silence0201/iOS-Category","owner":"silence0201","description":"iOS 工具分类整理","archived":false,"fork":false,"pushed_at":"2020-08-29T12:22:12.000Z","size":38599,"stargazers_count":40,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-16T19:36:59.362Z","etag":null,"topics":["category","cocoapods","hash","ios","json"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/silence0201.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-31T14:32:37.000Z","updated_at":"2024-04-26T09:22:28.000Z","dependencies_parsed_at":"2022-08-18T03:55:52.057Z","dependency_job_id":null,"html_url":"https://github.com/silence0201/iOS-Category","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silence0201%2FiOS-Category","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silence0201%2FiOS-Category/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silence0201%2FiOS-Category/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silence0201%2FiOS-Category/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silence0201","download_url":"https://codeload.github.com/silence0201/iOS-Category/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252979608,"owners_count":21835089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["category","cocoapods","hash","ios","json"],"created_at":"2024-11-30T12:13:31.205Z","updated_at":"2025-05-08T01:22:21.849Z","avatar_url":"https://github.com/silence0201.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iOS-Category\n\n![Language](https://img.shields.io/badge/language-objc-orange.svg)\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n[![CocoaPods](http://img.shields.io/cocoapods/v/SICategory.svg?style=flat)](http://cocoapods.org/?q=SICategory) \n[![CocoaPods](http://img.shields.io/cocoapods/p/SICategory.svg?style=flat)](http://cocoapods.org/?q=SICategory)\n\n功能强大的iOS开发分类\n\n主要包括一下内容:\n#### [Foundation](Classes/Foundation)\n* [NSArchiver](Classes/Foundation/NSArchiver):利用key实现快速归档和解档\n* [NSArray](Classes/Foundation/NSArray):数组的Block操作,JSON解析,Plist解析,安全访问\n* [NSBundle](Classes/Foundation/NSBundle):快速获取与App相关的信息\n* [NSData](Classes/Foundation/NSData):数据缓存,编码和界面,Hash加密,加密和解密\n* [NSDate](Classes/Foundation/NSDate):日期快速访问,日期的相关计算,日期格式化\n* [NSDictionary](Classes/Foundation/NSDictionary):字典Block操作,JSON解析,Plist解析,安全访问,URL处理,字典合并\n* [NSFileManager](Classes/Foundation/NSFileManager):与文件相关操作的方法封装\n* [NSLog](Classes/Foundation/NSLog):增强的日志功能\n* [NSNotificationCenter](Classes/Foundation/NSNotificationCenter):自动移除监听,线程操作\n* [NSNumber](Classes/Foundation/NSNumber):数字显示格式化,罗马数字转换,小数处理\n* [NSObject](Classes/Foundation/NSObject):AOP处理,Block,GCD封装,简单模型转换,快速增加关联,快速序列化,快速copy,反射以及Runtime方法封装\n* [NSString](Classes/Foundation/NSString):APP信息获取,判断是否存在,Emoji判断,Hash处理,JSON编码,MIME,路径快速获取,PinYin处理,快速生成二维码,检查是否符合,字符串Size,URLCode格式化\n* [NSTimer](Classes/Foundation/NSTimer):Block方法封装\n* [NSURL](Classes/Foundation/NSURL):URL查询转化\n\n#### [UIKit](Classes/UIKit)\n* [UIApplication](Classes/UIKit/UIApplication):App相关信息获取,权限判断,键盘Frame\n* [UITabBarController](Classes/UIKit/UITabBarController):UITabBar隐藏\n* [UIBarButtonItem](Classes/UIKit/UIBarButtonItem):Block封装操作\n* [UIButton](Classes/UIKit/UIButton):设置背景,Block封装操作,点击相应范围处理,倒计时快速实现, Indicator快速添加\n* [UIColor](Classes/UIKit/UIColor):增添更多颜色,颜色操作\n* [UIControl](Classes/UIKit/UIControl):Block封装,设置延时相应\n* [UIDevice](Classes/UIKit/UIDevice):CPU信息获取,存储信息获取,网络信息获取,设备信息获取\n* [UIFont](Classes/UIKit/UIFont):加载字体方法封装,字体快速创建,字体特征获取\n* [UIGestureRecognizer](Classes/UIKit/UIGestureRecognizer):手势Block封装\n* [UIImage](Classes/UIKit/UIImage):截屏,用颜色构造方法,压缩,加效果,Fix,Gif,导出,合并,修改,旋转\n* [UILabel](Classes/UIKit/UILabel):获取内容Size,设置间距\n* [UINavigationController](Classes/UIKit/UINavigationController):Stack管理, Transitions添加\n* [UIScreen](Classes/UIKit/UIScreen):屏幕信息获取\n* [UIScrollView](Classes/UIKit/UIScrollView):下拉放大效果,PageNumber快速获取,滚动实现\n* [UITableView](Classes/UIKit/UITableView):设置Cell样式,修改数据源\n* [UIView](Classes/UIKit/UIView):快速添加动画,Block封装,灵活的添加border,快速获取约束信息,快速寻找,Frame便捷操作,圆角设置,截屏, Toast\n* [UIViewController](Classes/UIKit/UIViewController):快速Alert,PopView, TopWarningView\n* [UINavigationBar](Classes/UIKit/UINavigationBar):快速设置简单的外观\n\n### [EXTObj](Classes/EXTObj)\nlibextobjc currently includes the following features:\n\n * **Safe categories**, using EXTSafeCategory, for adding methods to a class without overwriting anything already there (identifying conflicts for you).\n * **Concrete protocols**, using EXTConcreteProtocol, for providing default implementations of the methods in a protocol.\n * **Simpler and safer key paths**, using EXTKeyPathCoding, which automatically checks key paths at compile-time.\n * **Compile-time checking of selectors** to ensure that an object declares a given selector, using EXTSelectorChecking.\n * **Easier use of weak variables in blocks**, using `@weakify`, `@unsafeify`, and `@strongify` from the EXTScope module.\n * **Scope-based resource cleanup**, using `@onExit` in the EXTScope module, for automatically cleaning up manually-allocated memory, file handles, locks, etc., at the end of a scope.\n * **Algebraic data types** generated completely at compile-time, defined using EXTADT.\n * **Synthesized properties for categories**, using EXTSynthesize.\n * **Block-based coroutines**, using EXTCoroutine.\n * **EXTNil, which is like `NSNull`, but behaves much more closely to actual `nil`** (i.e., doesn't crash when sent unrecognized messages).\n * **Lots of extensions** and additional functionality built on top of `\u003cobjc/runtime.h\u003e`, including extremely customizable method injection, reflection upon object properties, and various functions to extend class hierarchy checks and method lookups.\n\n### [Manager](Classes/Manager)\n * [SIKeyboardShortcutManager](Classes/Manager/SIKeyboardShortcutManager.h):\u0010虚拟机快捷键管理\n * [SIAuthorizationManager](Classes/Manager/SIAuthorizationManager.h):认证管理\n * [SITouchIDManager](Classes/Manager/SITouchIDManager.h):TouchID管理\n * [SIBluetoothManager](Classes/Manager/SIBluetoothManager.h):蓝牙信息管理\n * [SIMediatorManager](Classes/Manager/SIMediatorManager.h):中间层管理\n * [SIKeyboardManager](Classes/Manager/SIKeyboardManager.h):键盘管理\n * [SIIAppPurchaseManager](Classes/Manager/SIIAppPurchaseManager.h):内购管理\n * [SIAppVersionManager](Classes/Manager/SIAppVersionManager.h):版本管理\n * [SIDownloadManager](Classes/Manager/SIDownloadManager.h):下载管理\n\n### [Macros](Classes/Macros)\n* [SIWarningMacro](Classes/Macros/SIWarningMacro.h) : 忽略⚠️\n* [SIViewMacro](Classes/Macros/SIViewMacro.h):ViewMacro\n* [SIUtilsMacro](Classes/Macros/SIUtilsMacro.h): UtilsMacro\n* [SIShortcutsMacro](Classes/Macros/SIShortcutsMacro.h):ShortcutsMacro\n* [SISharedInstanceMacro](Classes/Macros/SISharedInstanceMacro.h):SharedInstanceMacro\n* [SIMathMacro](Classes/Macros/SIMathMacro.h):SIMathMacro\n* [SILogMacro](Classes/Macros/SILogMacro.h):LogMacro\n* [SIFRCMacro](Classes/Macros/SIFRCMacro.h):FRCMacro\n* [SIDeviceMacro](Classes/Macros/SIDeviceMacro.h):DeviceMacro\n* [SICoreGraphicsMacro](Classes/Macros/SICoreGraphicsMacro.h):CoreGraphicsMacro\n* [SIARCMacro](Classes/Macros/SIARCMacro.h):ARCMacro\n* [SIRuntimeMacro](Classes/Macros/SIRuntimeMacro):RuntimeMacro\n* [SIColorMacro](Classes/Macros/SIColorMacro.h):ColorMacro\n* [SICollectionMacro](Classes/Macros/SICollectionMacro):CollectionMacro\n* [SIGCDMacro](Classes/Macros/SIGCDMacro.h):GCDMacro\n* [SINotificationMacro](Classes/Macros/SINotificationMacro.h):NotificationMacro\n* [SIExceptionMacro](Classes/Macros/SIExceptionMacro.h):ExceptionMacro\n* [SIAutoLayoutMacro](Classes/Macros/SIAutoLayoutMacro.h):AutoLayoutMacro\n\n## 使用说明\n\n#### 手工导入\n所有的分类独立,可以按照需求进行导入 \n如果想要全部导入只需要将`Classes`中文件拉入项目中即可\n\n#### Pod导入\n使用全部功能\n\n\tpod 'SICategory', '~\u003e 1.0'\n\t\n只使用`UIKit`相关分类\n\t\n\tpod 'SICategory/SIUIKit', '~\u003e 1.0'\n\t\n只使用`Foundation`相关分类\n\n\tpod 'SICategory/SIFoundation', '~\u003e 1.0'\n\t\n只使用`EXTObj `\n\n\tpod 'SICategory/EXTObj', '~\u003e 1.0'\n\t\n只使用`Manager `\n\n\tpod 'SICategory/Manager', '~\u003e 1.0'\n\t\n只使用`SIMacros `\n\n\tpod 'SICategory/SIMacros', '~\u003e 1.0'\n\n\n\t\n\n### 使用\n导入头文件:\n\n使用全部:\n\t\n\t#import \"SICategory.h\" \n\t\n使用`Foundation`部分:\n\n\t#import \"SIFoundation.h\"\n\t\n使用`UIKit`部分\n\n\t#import \"SIUIKit.h\"\n\t\n使用`EXTObjc`部分:\n\n\t#import \"EXTObjc.h\"\n\t\n使用`SIManager`部分\n\n\t#import \"SIManager.h\"\n\t\n使用`SIMacros`部分:\n\n\t#import \"SIMacros.h\"\n\t\n\t\n## iOS-Category\niOS-Category is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilence0201%2Fios-category","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilence0201%2Fios-category","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilence0201%2Fios-category/lists"}