ibireme/YYImage là dự án Objective-C với 1.8k sao. Image framework for iOS to display/encode/decode animated WebP, APNG, GIF, and more.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
// Get image type from image data
YYImageType type = YYImageDetectType(data);
if (type == YYImageTypePNG) ...
Installation
CocoaPods
Update cocoapods to the latest version.
Add pod 'YYImage' to your Podfile.
Run pod install or pod update.
Import <YYImage/YYImage.h>.
Notice: it doesn't include WebP subspec by default, if you want to support WebP format, you may add pod 'YYImage/WebP' to your Podfile.
Carthage
Add github "ibireme/YYImage" to your Cartfile.
Run carthage update --platform ios and add the framework to your project.
Import <YYImage/YYImage.h>.
Notice: carthage framework doesn't include WebP component, if you want to support WebP format, use CocoaPods or install manually.
Manually
Download all the files in the YYImage subdirectory.
Add the source files to your Xcode project.
Link with required frameworks:
UIKit
CoreFoundation
QuartzCore
AssetsLibrary
ImageIO
Accelerate
MobileCoreServices
libz
Import YYImage.h.
Notice: if you want to support WebP format, you may add Vendor/WebP.framework(static library) to your Xcode project.
FAQ
Q: Why I can't display WebP image?
A: Make sure you added the WebP.framework in your project. You may call YYImageWebPAvailable() to check whether the WebP subspec is installed correctly.
Q: Why I can't play APNG animation?
A: You should disable the Compress PNG Files and Remove Text Metadata From PNG Files in your project's build settings. Or you can rename your APNG file's extension name with apng.
Documentation
Full API documentation is available on CocoaDocs.
You can also install documentation locally using appledoc.
Requirements
This library requires iOS 6.0+ and Xcode 8.0+.
License
YYImage is provided under the MIT license. See LICENSE file for details.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/ibireme/YYImage là nguồn chính thức.
ibireme/YYImage có bao nhiêu sao?
ibireme/YYImage có 1.8k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/ibireme/YYImage. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
ibireme/YYImage có phải mã nguồn mở không?
Có — ibireme/YYImage phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/ibireme/YYImage.
ibireme/YYImage còn đang phát triển không?
Commit gần nhất trên ibireme/YYImage là 2.4 năm trước (theo timestamp GitHub). Repo có 511 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
ibireme/YYImage dùng license gì?
ibireme/YYImage phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
ibireme/YYImage là gì?
ibireme/YYImage (ibireme/YYImage) là dự án Objective-C trên GitHub. Theo mô tả gốc: Image framework for iOS to display/encode/decode animated WebP, APNG, GIF, and more.
ibireme/YYImage viết bằng ngôn ngữ gì?
ibireme/YYImage chủ yếu viết bằng Objective-C. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về YYImage?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về YYImage.