{"id":13512056,"url":"https://github.com/ibireme/YYKit","last_synced_at":"2025-03-30T22:31:52.079Z","repository":{"id":7957655,"uuid":"9354478","full_name":"ibireme/YYKit","owner":"ibireme","description":"A collection of iOS components.","archived":false,"fork":false,"pushed_at":"2024-06-25T08:23:28.000Z","size":56960,"stargazers_count":13989,"open_issues_count":303,"forks_count":3693,"subscribers_count":600,"default_branch":"master","last_synced_at":"2024-10-29T09:42:51.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ibireme.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-04-10T19:47:33.000Z","updated_at":"2024-10-27T09:29:04.000Z","dependencies_parsed_at":"2022-07-12T15:03:14.356Z","dependency_job_id":"13d15eb3-91b4-4cf9-b4d5-c935b45fcddf","html_url":"https://github.com/ibireme/YYKit","commit_stats":{"total_commits":280,"total_committers":25,"mean_commits":11.2,"dds":"0.18214285714285716","last_synced_commit":"4e1bd1cfcdb3331244b219cbd37cc9b1ccb62b7a"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibireme%2FYYKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibireme%2FYYKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibireme%2FYYKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibireme%2FYYKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibireme","download_url":"https://codeload.github.com/ibireme/YYKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246273521,"owners_count":20750905,"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":[],"created_at":"2024-08-01T03:01:27.336Z","updated_at":"2025-03-30T22:31:52.058Z","avatar_url":"https://github.com/ibireme.png","language":"Objective-C","funding_links":[],"categories":["Objective-C","Foundation","[Objective-C](#objective-c)","Objective-C  Stars 1000以内排名整理","HarmonyOS","iOS","9. 其他与展望"],"sub_categories":["Windows Manager","YYKit","5. 参考材料","工具类"],"readme":"YYKit\n==============\n\n[![License MIT](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://raw.githubusercontent.com/ibireme/YYKit/master/LICENSE)\u0026nbsp;\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\u0026nbsp;\n[![CocoaPods](http://img.shields.io/cocoapods/v/YYKit.svg?style=flat)](http://cocoapods.org/pods/YYKit)\u0026nbsp;\n[![CocoaPods](http://img.shields.io/cocoapods/p/YYKit.svg?style=flat)](http://cocoadocs.org/docsets/YYKit)\u0026nbsp;\n[![Support](https://img.shields.io/badge/support-iOS%206%2B%20-blue.svg?style=flat)](https://www.apple.com/nl/ios/)\u0026nbsp;\n[![Build Status](https://travis-ci.org/ibireme/YYKit.svg?branch=master)](https://travis-ci.org/ibireme/YYKit)\n\n\nYYKit is a collection of iOS components.\n\nIt's so huge that I split it into several independent components:\n\n* [YYModel](https://github.com/ibireme/YYModel) — High performance model framework for iOS.\n* [YYCache](https://github.com/ibireme/YYCache) — High performance cache framework for iOS.\n* [YYImage](https://github.com/ibireme/YYImage) — Image framework for iOS to display/encode/decode animated WebP, APNG, GIF.\n* [YYWebImage](https://github.com/ibireme/YYWebImage) — Asynchronous image loading framework.\n* [YYText](https://github.com/ibireme/YYText) — Powerful rich text component for iOS.\n* [YYKeyboardManager](https://github.com/ibireme/YYKeyboardManager) — Access keyboard view and track keyboard animation.\n* [YYDispatchQueuePool](https://github.com/ibireme/YYDispatchQueuePool) — iOS utility class to manage global dispatch queue.\n* [YYAsyncLayer](https://github.com/ibireme/YYAsyncLayer) — iOS utility classes for asynchronous rendering and display.\n* [YYCategories](https://github.com/ibireme/YYCategories) — A set of useful categories for Foundation and UIKit.\n\n\nDemo Project\n==============\nSee `Demo/YYKitDemo.xcodeproj`\n\n\u003cimg src=\"https://raw.github.com/ibireme/YYKit/master/Demo/Snapshots/twitter.png\" width=\"320\"\u003e\u003cbr/\u003e\n\u003cimg src=\"https://raw.github.com/ibireme/YYKit/master/Demo/Snapshots/weibo.png\" width=\"320\"\u003e \u003cimg src=\"https://raw.github.com/ibireme/YYKit/master/Demo/Snapshots/weibo_compose.png\" width=\"320\"\u003e\n\n\nInstallation\n==============\n\n### CocoaPods\n\n1. Add `pod 'YYKit'` to your Podfile.\n2. Run `pod install` or `pod update`.\n3. Import \\\u003cYYKit/YYKit.h\\\u003e.\n\n\n### Carthage\n\n1. Add `github \"ibireme/YYKit\"` to your Cartfile.\n2. Run `carthage update --platform ios` and add the framework to your project.\n3. Import \\\u003cYYKit/YYKit.h\\\u003e.\n4. Notice: carthage framework doesn't include webp component, if you want to support webp, use CocoaPods or install manually.\n\n### Manually\n\n1. Download all the files in the `YYKit` subdirectory.\n2. Add the source files to your Xcode project.\n3. Add `-fno-objc-arc` compiler flag to `NSObject+YYAddForARC.m` and `NSThread+YYAdd.m`.\n4. Link with required frameworks:\n    * UIKit\n    * CoreFoundation\n    * CoreText\n    * CoreGraphics\n    * CoreImage\n    * QuartzCore\n    * ImageIO\n    * AssetsLibrary\n    * Accelerate\n    * MobileCoreServices\n    * SystemConfiguration\n    * sqlite3\n    * libz\n5. Add `Vendor/WebP.framework`(static library) to your Xcode project if you want to support WebP.\n6. Import `YYKit.h`.\n\n\nDocumentation\n==============\nFull API documentation is available on [CocoaDocs](http://cocoadocs.org/docsets/YYKit/).\u003cbr/\u003e\nYou can also install documentation locally using [appledoc](https://github.com/tomaz/appledoc).\n\n\nRequirements\n==============\nThis library requires `iOS 6.0+` and `Xcode 8.0+`.\n\nNotice\n==============\nI want to use the APIs as if it was provided by system, and I don't add prefix in\nthese categories. I do not recommend using the `YYKit` directly, you should try the separated components first.\n\nLicense\n==============\nYYKit is provided under the MIT license. See LICENSE file for details.\n\n\n\u003cbr/\u003e\u003cbr/\u003e\n---\n中文介绍\n==============\nYYKit 是一组功能丰富的 iOS 组件。\n\n为了尽量复用代码，这个项目中的某些组件之间有比较强的依赖关系。为了方便其他开发者使用，我从中拆分出以下独立组件：\n\n* [YYModel](https://github.com/ibireme/YYModel) — 高性能的 iOS JSON 模型框架。\n* [YYCache](https://github.com/ibireme/YYCache) — 高性能的 iOS 缓存框架。\n* [YYImage](https://github.com/ibireme/YYImage) — 功能强大的 iOS 图像框架。\n* [YYWebImage](https://github.com/ibireme/YYWebImage) — 高性能的 iOS 异步图像加载框架。\n* [YYText](https://github.com/ibireme/YYText) — 功能强大的 iOS 富文本框架。\n* [YYKeyboardManager](https://github.com/ibireme/YYKeyboardManager) — iOS 键盘监听管理工具。\n* [YYDispatchQueuePool](https://github.com/ibireme/YYDispatchQueuePool) — iOS 全局并发队列管理工具。\n* [YYAsyncLayer](https://github.com/ibireme/YYAsyncLayer) — iOS 异步绘制与显示的工具。\n* [YYCategories](https://github.com/ibireme/YYCategories) — 功能丰富的 Category 类型工具库。\n\n\n演示项目\n==============\n查看并运行 `Demo/YYKitDemo.xcodeproj`\n\n\u003cimg src=\"https://raw.github.com/ibireme/YYKit/master/Demo/Snapshots/twitter.png\" width=\"320\"\u003e\u003cbr/\u003e\n\u003cimg src=\"https://raw.github.com/ibireme/YYKit/master/Demo/Snapshots/weibo.png\" width=\"320\"\u003e \u003cimg src=\"https://raw.github.com/ibireme/YYKit/master/Demo/Snapshots/weibo_compose.png\" width=\"320\"\u003e\n\n\n安装\n==============\n\n### CocoaPods\n\n1. 在 Podfile 中添加  `pod 'YYKit'`。\n2. 执行 `pod install` 或 `pod update`。\n3. 导入 \\\u003cYYKit/YYKit.h\\\u003e。\n\n\n### Carthage\n\n1. 在 Cartfile 中添加 `github \"ibireme/YYKit\"`。\n2. 执行 `carthage update --platform ios` 并将生成的 framework 添加到你的工程。\n3. 导入 \\\u003cYYKit/YYKit.h\\\u003e。\n4. 注意: carthage framework 并没有包含 webp 组件。如果你需要支持 webp，可以用 CocoaPods 安装，或者手动安装。\n\n### 手动安装\n\n1. 下载 YYKit 文件夹内的所有内容。\n2. 将 YYKit 内的源文件添加(拖放)到你的工程。\n3. 为 `NSObject+YYAddForARC.m` 和 `NSThread+YYAdd.m` 添加编译参数 `-fno-objc-arc`。\n4. 链接以下 frameworks:\n    * UIKit\n    * CoreFoundation\n    * CoreText\n    * CoreGraphics\n    * CoreImage\n    * QuartzCore\n    * ImageIO\n    * AssetsLibrary\n    * Accelerate\n    * MobileCoreServices\n    * SystemConfiguration\n    * sqlite3\n    * libz\n5. 如果你需要支持 WebP，可以将 `Vendor/WebP.framework`(静态库) 加入你的工程。\n6. 导入 `YYKit.h`。\n\n\n文档\n==============\n你可以在 [CocoaDocs](http://cocoadocs.org/docsets/YYKit/) 查看在线 API 文档，也可以用 [appledoc](https://github.com/tomaz/appledoc) 本地生成文档。\n\n系统要求\n==============\n该项目最低支持 `iOS 6.0` 和 `Xcode 8.0`。\n\n\n注意\n==============\n我希望调用 API 时，有着和调用系统自带 API 一样的体验，所以我并没有为 Category 方法添加前缀。我已经用工具扫描过这个项目中的 API，确保没有对系统 API 产生影响，但即使这样没有前缀的 Category 也可能会带来其他麻烦。因此我不太推荐直接使用 `YYKit` 这个库，你应该先尝试一下上面那些拆分出来的独立组件。 \n\n\n许可证\n==============\nYYKit 使用 MIT 许可证，详情见 LICENSE 文件。\n\n\n相关文章\n==============\n[iOS 保持界面流畅的技巧\n](https://blog.ibireme.com/2015/11/12/smooth_user_interfaces_for_ios/) \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibireme%2FYYKit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibireme%2FYYKit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibireme%2FYYKit/lists"}