BVCurationsFeedLoader Class Reference

Inherits from NSObject
Declared in BVCurationsFeedLoader.h

Overview

API helper class used for fetching a curations feed with desired parameters (BVCurationsFeedRequest)

– loadFeedWithRequest:completionHandler:withFailure:

Fetch a curations feed.
- (void)loadFeedWithRequest:(nonnull BVCurationsFeedRequest *)feedRequest completionHandler:(nonnull feedRequestCompletionHandler)completionHandler withFailure:(nonnull feedRequestErrorHandler)failureHandler

Parameters

feedRequest

The query string parameters object

completionHandler

Called on a successful response with an array of BVCurationsFeedItem objects. Called on main thread.

failureHandler

Called with a filled out NSError object for any error that does not yeild a valid Curations feed. Called on main thread.

Declared In

BVCurationsFeedLoader.h