Created
July 16, 2014 23:09
-
-
Save phatduckk/a5d33c6e47963655a17b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.manager!.GET("https://itunes.apple.com/search", | |
parameters: ["term": searchBar.text], | |
success: { (operation: AFHTTPRequestOperation!,responseObject: AnyObject!) in | |
println("JSON: " + responseObject.description) | |
}, | |
failure: { (operation: AFHTTPRequestOperation!,error: NSError!) in | |
println("Error: " + error.localizedDescription) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment