
objc.api-header.mustache Maven / Gradle / Ivy
#import
#import "NIKApiInvoker.h"
{{#imports}}#import "{{import}}.h"
{{/imports}}
{{newline}}
{{#operations}}
@interface {{classname}}: NSObject {
@private
NSOperationQueue *_queue;
NIKApiInvoker * _api;
}
@property(nonatomic, readonly) NSOperationQueue* queue;
@property(nonatomic, readonly) NIKApiInvoker* api;
-(void) addHeader:(NSString*)value forKey:(NSString*)key;
{{#operation}}
/**
{{{summary}}}
{{#notes}}
{{{notes}}}
{{/notes}}
{{#allParams}}
@param {{paramName}} {{description}}
{{/allParams}}
*/
-(void) {{nickname}}WithCompletionBlock {{^allParams}}:{{/allParams}}{{#allParams}}{{#secondaryParam}} {{paramName}}{{/secondaryParam}}:({{{dataType}}}) {{paramName}} {{#hasMore}}{{newline}} {{/hasMore}}{{/allParams}}
{{#returnBaseType}}{{#hasParams}}{{newline}} completionHandler: {{/hasParams}}(void (^)({{returnType}} output, NSError* error))completionBlock;{{/returnBaseType}}
{{^returnBaseType}}{{#hasParams}}{{newline}} completionHandler: {{/hasParams}}(void (^)(NSError* error))completionBlock;{{/returnBaseType}}
{{newline}}
{{/operation}}
{{/operations}}
@end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy