Quanhua Guan

Results 5 issues of Quanhua Guan

timer not set to nil after invalidated, result in memory leak! ``` - (void)update { CGFloat animationProggress = self.animationProggress + DAUpdateUIFrequency / self.stateChangeAnimationDuration; if (animationProggress >= 1.) { self.animationProggress =...

When more and more data cache in DiskCache, the startup can cost a lot of time, and before that we can not get data from disk cache.

enhancement

使用`NSUserDefaults.standardUserDefaults`来存储缓存数据个人觉得不合理. 由于请求数据可能很大, 比如一个很长的列表, 一旦数据量累计, 不仅速度堪忧, 而且会影响到其他使用`standardUserDefaults`的模块. 退一步说, 即使要使用`NSUserDefaults`, 也应该是创建一个独占的`NSUserDefaults`.

https://github.com/jpush/jverify-flutter-plugin/blob/e6d43f0bb54dd1d9be98c710c7853536d7b897aa/ios/jverify.podspec#L21