VKApiBase Class Reference

Inherits from VKObject : NSObject
Declared in VKApiBase.h
VKApiBase.m

Overview

Basic class for all API-requests builders (parts)

– getMethodGroup

Return group name for current methods builder

- (NSString *)getMethodGroup

Return Value

name of methods group, e.g. users, wall, etc.

Discussion

Return group name for current methods builder

Declared In

VKApiBase.h

– prepareRequestWithMethodName:parameters:

Builds request and return it for configure and loading

- (VKRequest *)prepareRequestWithMethodName:(NSString *)methodName parameters:(NSDictionary *)methodParameters

Parameters

methodName

Selected method name

methodParameters

Selected method parameters

Return Value

request to configure and load

Discussion

Builds request and return it for configure and loading

Declared In

VKApiBase.h

– prepareRequestWithMethodName:parameters:modelClass:

Builds request and return it for configure and loading

- (VKRequest *)prepareRequestWithMethodName:(NSString *)methodName parameters:(NSDictionary *)methodParameters modelClass:(Class)modelClass

Parameters

methodName

Selected method name

methodParameters

Selected method parameters

modelClass

Class of model, based on VKApiObject, for model parsing

Return Value

request to configure and load

Discussion

Builds request and return it for configure and loading

Declared In

VKApiBase.h