Skip to content

Commit

Permalink
show more videos in the youtube demo
Browse files Browse the repository at this point in the history
  • Loading branch information
icanzilb committed Jan 8, 2013
1 parent 3592796 commit 9be8308
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion JSONModelDemo_iOS/YouTubeViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ -(void)viewDidAppear:(BOOL)animated
//code executed in the background
//2
NSData* ytData = [NSData dataWithContentsOfURL:
[NSURL URLWithString:@"http://gdata.youtube.com/feeds/api/videos?q=pomplamoose&max-results=15&alt=json"]
[NSURL URLWithString:@"http://gdata.youtube.com/feeds/api/videos?q=pomplamoose&max-results=50&alt=json"]
];
//3
NSDictionary* json = [NSJSONSerialization
Expand Down
2 changes: 1 addition & 1 deletion JSONModelOSX/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ -(IBAction)actionYoutube:(id)sender
currentService = kServiceYoutube;
[self setLoaderVisible:YES];

[JSONHTTPClient getJSONFromURLWithString:@"http://gdata.youtube.com/feeds/api/videos?q=pomplamoose&max-results=15&alt=json"
[JSONHTTPClient getJSONFromURLWithString:@"http://gdata.youtube.com/feeds/api/videos?q=pomplamoose&max-results=50&alt=json"
completion:^(NSDictionary *json, JSONModelError *e) {

videos = [VideoModel arrayOfModelsFromDictionaries:
Expand Down

0 comments on commit 9be8308

Please sign in to comment.