/* * This file is part of the SDWebImage package. * (c) Olivier Poitrey <rs@dailymotion.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */#import <Foundation/Foundation.h>#import "SDWebImageCompat.h"/// A Image-Asset manager to work like UIKit/AppKit's image cache behavior/// Apple parse the Asset Catalog compiled file(`Assets.car`) by CoreUI.framework, however it's a private framework and there are no other ways to directly get the data. So we just process the normal bundle files :)@interfaceSDImageAssetManager:NSObject@property(nonatomic,strong,nonnull)NSMapTable<NSString*,UIImage*>*imageTable;+(nonnullinstancetype)sharedAssetManager;-(nullableNSString*)getPathForName:(nonnullNSString*)namebundle:(nonnullNSBundle*)bundlepreferredScale:(nonnullCGFloat*)scale;-(nullableUIImage*)imageForName:(nonnullNSString*)name;-(void)storeImage:(nonnullUIImage*)imageforName:(nonnullNSString*)name;@end