AliyunTemplateLoader
@interface AliyunTemplateLoader : NSObject
* A class that defines the loader for a template API_AVAILABLE(3.27.0)
-
* Initializer, load template for task path
Declaration
Objective-C
- (instancetype)initWithTaskPath:(NSString *)taskPath;
Parameters
taskPath
The template folder
Return Value
AliyunTemplateLoader
-
* Get task path
Declaration
Objective-C
- (NSString *)getTaskPath;
Return Value
The current task path
-
* Get template
Declaration
Objective-C
- (AliyunTemplate *)getTemplate;
Return Value
The current template
-
* Update the template id
Declaration
Objective-C
- (BOOL)loadProject:(AliyunResourceImport *)resImport completed:(void (^)(NSError *))completedHandler;
Parameters
resImport
The project’s resource importer
completedHandler
completed callback
Return Value
Yes or no