TMDBRequest Class Reference
Inherits from | NSOperation |
---|---|
Declared in | TMDBRequest.h TMDBRequest.m |
+ requestWithURL:completionBlock:
Creates and returns a new request operation, and adds it to the operation queue.
+ (instancetype)requestWithURL:(NSURL *)url completionBlock:(TMDBRequestCompletionBlock)block
Discussion
Creates and returns a new request operation, and adds it to the operation queue.
Declared In
TMDBRequest.h
– initWithURL:completionBlock:
Instantiates a new request operation. You are responsible for adding it to the operation queue.
- (instancetype)initWithURL:(NSURL *)url completionBlock:(TMDBRequestCompletionBlock)block
Discussion
Instantiates a new request operation. You are responsible for adding it to the operation queue.
Declared In
TMDBRequest.h
requestCompletionBlock
The completion block passed during initialization.
@property (nonatomic, copy, readonly) TMDBRequestCompletionBlock requestCompletionBlock
Discussion
The completion block passed during initialization.
Declared In
TMDBRequest.h