Skip to content

Instantly share code, notes, and snippets.



Last active Dec 27, 2015
What would you like to do?
Returning a Class that complies to a given protocol
Class sportsFeedManager = (Class <RPSportsBoundryProtocol>)[RPInteractor sportsFeedManager];
[sportsFeedManager yahooSportsFeedWithCompletion:^(NSArray *sportsFeeds, NSError *error)
if (error)
// TODO: Handle the error;
// TODO: Handle a successful eresult;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment