-
你好!今天尝试用YYCache缓存一个模型!结果取的时候模型对象指针存在,但对应属性为空?于是就去这样设置下
```
//SelectShop.h
@interface SelectShop : NSObject
```
```
//SelectShop.m
@implementation SelectShop
-(instancetype)initWithCoder:(NSCoder *…
-
pod YYKit
可以用
pod YYModel
pod YYCache
pod YYImage
pod YYWebImage
pod YYText
pod YYKeyboardManager
pod YYDispatchQueuePool
pod YYAsyncLayer
pod YYCategories
代替吗?有什么不一样的地方?
-
```
Fetching external sources
-> Fetching podspec for `Demo` from `../../../Demo/Demo_test.podspec`
获取的 podspec 路径为 `../../../Demo/Demo_test.podspec`
-> Fetching podspec for `YYCache` from `ht…
-
YY大神说YYCache使用了LRU算法, 但是我阅读了下源码, 只发现了维护链表头为最近使用的节点, 但是没有发现对访问频率的统计???还是其它地方实现了等效的功能, 比较疑惑.
-
![image](https://user-images.githubusercontent.com/7099017/48388285-b15fe400-e733-11e8-89f9-e3f5dd164aee.png)
iPhone 6 Plus
iOS 9.2.1 (13D15)
YYCache 1.0.4版本
-
Especially for slower devices, the file system shuffling and the metadata loading can be really expensive.
To investigate the option of using NSURLCache as a disk cache, I created a sample app base…
-
我用YYCache缓存IM来的私信,在全剧队列里缓存。
代码片段:
YYCache *cache = [BaseController sharedCacheManager]; //返回一个static cache
NSMutableDictionary *userDataDic = [[NSMutableDictionary alloc]initWithDictionary:(NSD…
-
* carthage install method: [ ] .pkg, [x] homebrew, [ ] source
* `which carthage`: /usr/local/bin/carthage
* `carthage version`: 0.33.0
* `xcodebuild -version`: `Xcode 10.1 Build version 10B61`
* A…
-
大神,你好,我们的项目中用到了你的YYCache库,真的好用,但是控制台偶尔会报出这个错误,这是怎么回事呢?
-
看到你有个这个TIP。那么你的YYImage的缓存又有引用你的YYCache的。那么也是同理相对会提高1-3倍效率吗