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 |
|
12 |
+(NSArray*)getCompsWithModule:(NSString *const)module; |
|
13 |
//根据module生成实例数组 |
|
14 |
+(NSMutableArray*)generatorWithModule:(NSString *const)module; |
|
15 |
//根据module和父类class生成实例数组 |
|
16 |
+(NSMutableArray*)generatorWithModule:(NSString *const)module superClass:(Class)superClass; |
|
17 |
//根据module和platform生成实例并回调 |
|
18 |
+(void)generatorWithModule:(NSString *const)module platform:(NSString *const)platform block:(void (^)(NSObject* obj,NSError* error))block; |
|
19 |
//根据module和platform生成实例 |
|
20 |
+(NSObject*)generatorWithModule:(NSString *const)module platform:(NSString *const)platform; |
|
21 |
//根据module,platform和父类class生成实例 |
|
22 |
+(NSObject*)generatorWithModule:(NSString *const)module platform:(NSString *const)platform superClass:(Class)superClass; |
|
23 |
//判断模块是否存在 |
|
24 |
+(BOOL)isExistWithModule:(NSString*)module; |
|
25 |
//判断某个模块的某个渠道是否存在 |
|
26 |
+(BOOL)isExistWithPlatform:(NSString*)platform module:(NSString*)module; |
|
27 |
@end |