From 83b9d5c682b21d88133f24da0f94dd56bd79e687 Mon Sep 17 00:00:00 2001 From: 单军华 Date: Thu, 19 Jul 2018 13:38:55 +0800 Subject: [PATCH] change --- screendisplay/Pods/YYCache/README.md | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 171 insertions(+), 0 deletions(-) diff --git a/screendisplay/Pods/YYCache/README.md b/screendisplay/Pods/YYCache/README.md new file mode 100755 index 0000000..46623b5 --- /dev/null +++ b/screendisplay/Pods/YYCache/README.md @@ -0,0 +1,171 @@ +YYCache +============== + +[](https://raw.githubusercontent.com/ibireme/YYCache/master/LICENSE) +[](https://github.com/Carthage/Carthage) +[](http://cocoapods.org/?q= YYCache) +[](http://cocoapods.org/?q= YYCache) +[](https://www.apple.com/nl/ios/) +[](https://travis-ci.org/ibireme/YYCache) + +High performance cache framework for iOS.<br/> +(It's a component of [YYKit](https://github.com/ibireme/YYKit)) + +Performance +============== + + + + + +You may [download](http://www.sqlite.org/download.html) and compile the latest version of sqlite and ignore the libsqlite3.dylib in iOS system to get higher performance. + +See `Benchmark/CacheBenchmark.xcodeproj` for more benchmark case. + + +Features +============== +- **LRU**: Objects can be evicted with least-recently-used algorithm. +- **Limitation**: Cache limitation can be controlled with count, cost, age and free space. +- **Compatibility**: The API is similar to `NSCache`, all methods are thread-safe. +- **Memory Cache** + - **Release Control**: Objects can be released synchronously/asynchronously on main thread or background thread. + - **Automatically Clear**: It can be configured to automatically evict objects when receive memory warning or app enter background. +- **Disk Cache** + - **Customization**: It supports custom archive and unarchive method to store object which does not adopt NSCoding. + - **Storage Type Control**: It can automatically decide the storage type (sqlite / file) for each object to get + better performance. + + +Installation +============== + +### CocoaPods + +1. Add `pod 'YYCache'` to your Podfile. +2. Run `pod install` or `pod update`. +3. Import \<YYCache/YYCache.h\>. + + +### Carthage + +1. Add `github "ibireme/YYCache"` to your Cartfile. +2. Run `carthage update --platform ios` and add the framework to your project. +3. Import \<YYCache/YYCache.h\>. + + +### Manually + +1. Download all the files in the YYCache subdirectory. +2. Add the source files to your Xcode project. +3. Link with required frameworks: + * UIKit + * CoreFoundation + * QuartzCore + * sqlite3 +4. Import `YYCache.h`. + + +Documentation +============== +Full API documentation is available on [CocoaDocs](http://cocoadocs.org/docsets/YYCache/).<br/> +You can also install documentation locally using [appledoc](https://github.com/tomaz/appledoc). + + +Requirements +============== +This library requires `iOS 6.0+` and `Xcode 7.0+`. + + +License +============== +YYCache is provided under the MIT license. See LICENSE file for details. + + +<br/><br/> +--- +������������ +============== +��������� iOS ���������������<br/> +(������������ [YYKit](https://github.com/ibireme/YYKit) ������������) + +������ +============== + +iPhone 6 ������������������������������������ (������������): + + +iPhone 6 ������������������������������������ (������������): + + +��������� SQLite ������[������](http://www.sqlite.org/download.html)������������������ SQLite������������ iOS ��������� libsqlite3.dylib������������������ 1.5���3 ��������������������� + +������������������������������ `Benchmark/CacheBenchmark.xcodeproj`��� + + +������ +============== +- **LRU**: ������������ LRU (least-recently-used) ��������������� +- **������������**: ��������������������������������������������������������������������������������������� +- **���������**: API ��������� `NSCache` ������������, ������������������������������������ +- **������������** + - **������������������**: ���������������(release) ��������������������������������������������������������������������������������������� + - **������������**: ������������������������ App ������������������������������������������������������ +- **������������** + - **������������**: ������������������������������������������������������������������������������ NSCoding ������������������ + - **������������������**: ������������������������������������������������ (SQLite/������) ��������������������������������������������������������������� + + +������ +============== + +### CocoaPods + +1. ��� Podfile ��������� `pod 'YYCache'`��� +2. ������ `pod install` ��� `pod update`��� +3. ������ \<YYCache/YYCache.h\>��� + + +### Carthage + +1. ��� Cartfile ��������� `github "ibireme/YYCache"`��� +2. ������ `carthage update --platform ios` ��������������� framework ������������������������ +3. ������ \<YYCache/YYCache.h\>��� + + +### ������������ + +1. ������ YYCache ������������������������������ +2. ��� YYCache ���������������������(������)������������������ +3. ��������������� frameworks: + * UIKit + * CoreFoundation + * QuartzCore + * sqlite3 +4. ������ `YYCache.h`��� + + +������ +============== +������������ [CocoaDocs](http://cocoadocs.org/docsets/YYCache/) ������������ API ��������������������� [appledoc](https://github.com/tomaz/appledoc) ��������������������� + + +������������ +============== +��������������������� `iOS 6.0` ��� `Xcode 7.0`��� + + +��������� +============== +YYCache ������ MIT ��������������������� LICENSE ��������� + + +������������ +============== +[YYCache ���������������������������](http://blog.ibireme.com/2015/10/26/yycache/) + + -- Gitblit v1.8.0