getsling / itunessearch Goto Github PK
View Code? Open in Web Editor NEWBlock based iTunes store communication for iOS and Mac OS X
License: MIT License
Block based iTunes store communication for iOS and Mac OS X
License: MIT License
The docs say there is an example project, but it appears to be a blank viewController with no code in there.
Hi,
When I run any of the get commands, it returns successfully, but the result array is null, for example running
[[ItunesSearch sharedInstance] getTrackWithName:@"Welcome to the Jungle" artist:@"Guns N Roses" album:@"Appetite for Destruction" limitOrNil:nil successHandler:^(NSArray *result) {
NSLog(@"Success: %@", result);
} failureHandler:^(NSError *error) {
NSLog(@"Failure: %@", error);
}];
returns
Success: (null)
Do you have any idea why?
I've been having a problem with getting itunessearch with it not returning either success or failure blocks. There aren't any examples in the project, so I'm not sure if the problem was syntax or a bug, or something with Xcode 7.0.
[ItunesSearch sharedInstance].affiliateToken = affToken;
[ItunesSearch sharedInstance].countryCode=countryCode;
[[ItunesSearch sharedInstance] getTrackWithName:songTitle artist:artistName album:newAlbumName limitOrNil:@1 successHandler:^(NSArray *result) {
NSLog(@"result: %@", result);
} failureHandler:^(NSError *error) {
NSLog(@"error: %@", error);
}];
The URL it creates is valid, and I can manually enter that into a browser and see the json it returns. However, neither the success or failure block is executed here (result remains undefined). Any ideas would be appreciated!
Hi @gangverk .. I'm a graphic disigner. I would like to know if you are interested that I make a logo for your project? If you allowed me, i"ll make logo for your project and it's free. Thanks. Best Regard
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.