CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Feb 2016 |
Maintained by Javi Lorbada.
$ git clone [email protected]:JaviLorbada/JLTMDbClient.git
.xcworkspace
file to see the example:$ open JLTMDbClient.xcworkspace
Run JLTMDbClientTests target to see different cases on how to use the API.
"A TMDb user account is required to request an API key. Commercial users are approved on a per application basis. As always, you must attribute TMDb as the source of your data. Please be sure to read the API FAQ"
#import <JLTMDbClient.h>
[[JLTMDbClient sharedAPIInstance] setAPIKey:@"API_KEY"];
[[JLTMDbClient sharedAPIInstance] GET:kJLTMDbMoviePopular withParameters:nil andResponseBlock:^(id response, NSError *error) {
if(!error){
fetchedData = response;
NSLog(@"Popular Movies: %@",fetchedData);
}
}];
xctool
, which can be installed with Homebrew:$ brew update
$ brew install xctool --HEAD
"JLTMDBClientTests requires xctool 0.1.14 or above"
XCPretty
, which can be installed:$ gem install xcpretty
"XCPretty requires Ruby 1.8.7 or above."