All Downloads are FREE. Search and download functionalities are using the official Maven repository.

objc.api-header.mustache Maven / Gradle / Ivy

The newest version!
#import 
{{#imports}}#import "{{import}}.h"
{{/imports}}
#import "SWGObject.h"
{{newline}}

{{#operations}}
@interface {{classname}}: NSObject

-(void) addHeader:(NSString*)value forKey:(NSString*)key;
-(unsigned long) requestQueueSize;
+({{classname}}*) apiWithHeader:(NSString*)headerValue key:(NSString*)key;
+(void) setBasePath:(NSString*)basePath;
+(NSString*) getBasePath;
{{#operation}}
/**

 {{{summary}}}
 {{#notes}}
 {{{notes}}}
 {{/notes}}

 {{#allParams}}
 @param {{paramName}} {{description}}
 {{/allParams}}

 return type: {{returnType}}
 */
-(NSNumber*) {{nickname}}WithCompletionBlock {{^allParams}}:{{/allParams}}{{#allParams}}{{#secondaryParam}}     {{paramName}}{{/secondaryParam}}:({{{dataType}}}) {{paramName}} {{#hasMore}}
{{/hasMore}}{{/allParams}}
    {{#returnBaseType}}{{#hasParams}}
    completionHandler: {{/hasParams}}(void (^)({{returnType}} output, NSError* error))completionBlock;{{/returnBaseType}}
    {{^returnBaseType}}{{#hasParams}}
    completionHandler: {{/hasParams}}(void (^)(NSError* error))completionBlock;{{/returnBaseType}}

{{newline}}
{{/operation}}

{{/operations}}
@end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy