Inherits from EBRequest : NSObject
Declared in EBJSONRequest.h
EBJSONRequest.m

Overview

EBJSONRequest returns JSON or Custom objects in the completion block. For more information see property JSONObjectMapper

Tasks

Other Methods

  •   JSONObjectMapper

    Optional argument. If the parameter is not nil, the result of the mapping will be custom classes instead of NSDictionary and NSArrays.

    property

Other Methods

Properties

JSONObjectMapper

Optional argument. If the parameter is not nil, the result of the mapping will be custom classes instead of NSDictionary and NSArrays.

@property (nonatomic, retain) EBJSONObjectMapper *JSONObjectMapper

Discussion

Optional argument. If the parameter is not nil, the result of the mapping will be custom classes instead of NSDictionary and NSArrays.

Declared In

EBJSONRequest.h

Instance Methods

initWithURL:

Creates a new request with the specified URL. Not started until start is called.

- (id)initWithURL:(NSURL *)url

Parameters

url

URL for the request.

Discussion

Creates a new request with the specified URL. Not started until start is called.

Declared In

EBRequest.h

isRunning

Specifies whether the current request is running.

- (BOOL)isRunning

Discussion

Specifies whether the current request is running.

Declared In

EBRequest.h

start

Starts an asynchronous request

- (BOOL)start

Return Value

YES if the request could be started. NO otherwise.

Discussion

Starts an asynchronous request

Declared In

EBRequest.h

stop

Stops an asynchronous request.

- (void)stop

Discussion

Stops an asynchronous request.

Declared In

EBRequest.h