Tencent / LKImageKit

A high-performance image framework, including a series of capabilities such as image views, image downloader, memory caches, disk caches, image decoders and image processors.
Other
2.08k stars 287 forks source link

- [LKImageRequest generateIdentify] 判断 processorList 元素个数为 0 后是否应该进行 return? #38

Open PipeDog opened 3 years ago

PipeDog commented 3 years ago

源码为

- (void)generateIdentify
{
    if (self.processorList.count == 0)
    {
        self.identifier = self.keyForLoader;
        // return; ???
    }
    self.identifier = [NSString stringWithFormat:@"%@:%@", self.keyForLoader, [LKImageProcessorManager keyForProcessorList:self.processorList]];
}