commit | author | age
|
dcdc07
|
1 |
// |
W |
2 |
// WAClassGenerator.h |
|
3 |
// WASdkIntfUI |
|
4 |
// |
|
5 |
// Created by wuyx on 16/3/3. |
|
6 |
// Copyright © 2016年 GHW-T-01. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
@interface WAClassGenerator : NSObject |
537198
|
12 |
// |
H |
13 |
+(NSMutableArray*)generatorAllModule; |
dcdc07
|
14 |
+(NSArray*)getCompsWithModule:(NSString *const)module; |
W |
15 |
//根据module生成实例数组 |
|
16 |
+(NSMutableArray*)generatorWithModule:(NSString *const)module; |
|
17 |
//根据module和父类class生成实例数组 |
|
18 |
+(NSMutableArray*)generatorWithModule:(NSString *const)module superClass:(Class)superClass; |
|
19 |
//根据module和platform生成实例并回调 |
|
20 |
+(void)generatorWithModule:(NSString *const)module platform:(NSString *const)platform block:(void (^)(NSObject* obj,NSError* error))block; |
|
21 |
//根据module和platform生成实例 |
|
22 |
+(NSObject*)generatorWithModule:(NSString *const)module platform:(NSString *const)platform; |
|
23 |
//根据module,platform和父类class生成实例 |
|
24 |
+(NSObject*)generatorWithModule:(NSString *const)module platform:(NSString *const)platform superClass:(Class)superClass; |
|
25 |
//判断模块是否存在 |
|
26 |
+(BOOL)isExistWithModule:(NSString*)module; |
|
27 |
//判断某个模块的某个渠道是否存在 |
|
28 |
+(BOOL)isExistWithPlatform:(NSString*)platform module:(NSString*)module; |
|
29 |
@end |