Playlist Generator
1.0
|
00001 // 00002 // SpotifyURILookup.h 00003 // Playlist2 00004 // 00005 // Created by Max Woolf on 15/12/2011. 00006 // Copyright (c) 2011 __MyCompanyName__. All rights reserved. 00007 // 00008 00009 #import <Foundation/Foundation.h> 00010 00011 @interface SpotifyURILookup : NSURLConnection 00012 { 00013 //Input Values 00014 NSString *artistName; 00015 NSString *trackName; 00016 00017 //Connections 00018 NSURLConnection *spotifyConnection; 00019 } 00020 00021 //Methods 00022 //Override initialisation method with just the bits we need 00023 -(id)initWithTrackName:(NSString *)track artistName:(NSString *)artist delegate:(id)delegate; 00024 00025 //Package up GET request 00026 -(NSURLRequest *)getSpotifyURIRequest; 00027 00028 @end