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
taskPathThe 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
resImportThe project’s resource importer
completedHandlercompleted callback
Return Value
Yes or no
AliyunTemplateLoader Class Reference