refact: rename iOS class DoricResourceManager
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "DoricResourceLoader.h"
|
||||
|
||||
@interface DoricResourceLoaderManager : NSObject
|
||||
@interface DoricResourceManager : NSObject
|
||||
- (void)registerLoader:(id <DoricResourceLoader>)loader;
|
||||
|
||||
- (void)unRegisterLoader:(id <DoricResourceLoader>)loader;
|
@@ -17,13 +17,13 @@
|
||||
// Created by pengfei.zhou on 2021/10/22.
|
||||
//
|
||||
|
||||
#import "DoricResourceLoaderManager.h"
|
||||
#import "DoricResourceManager.h"
|
||||
|
||||
@interface DoricResourceLoaderManager ()
|
||||
@interface DoricResourceManager ()
|
||||
@property(nonatomic, strong) NSMutableDictionary <NSString *, id <DoricResourceLoader>> *loaders;
|
||||
@end
|
||||
|
||||
@implementation DoricResourceLoaderManager
|
||||
@implementation DoricResourceManager
|
||||
- (instancetype)init {
|
||||
if (self = [super init]) {
|
||||
_loaders = [NSMutableDictionary new];
|
||||
@@ -46,4 +46,4 @@ - (__kindof DoricResource *)load:(NSString *)identifier
|
||||
return [loader load:identifier withContext:context];
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
Reference in New Issue
Block a user