A Cocoa OSX App to help you download WWDC2014 videos
-
WWDC2014 videos category browse/search
-
Preference:download path setting
-
Download video selection,download progress indicator
-
Social share:twitter & weibo
We are iOSTools,a studio determined to develop the best iOS/OSX tools for developers!
##Usage in WWDCBO.m file,use local html path to test,in practice you must modify url as a real remote wwdc 2014 videos http url.
- (void)parseWWDCDownloadLink
{
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
NSURL * url = [NSURL URLWithString:@"https://developer.apple.com/videos/wwdc/2014/"];
//NSString * string = [[NSString alloc]initWithContentsOfURL:url];
//NSString *webContent = [[NSString alloc] initWithContentsOfURL:url usedEncoding:NULL error:NULL];
NSString *path = [[NSBundle mainBundle] pathForResource:@"wwdc" ofType:@"html"];
NSString *webContent = [NSString stringWithContentsOfFile:path usedEncoding:NULL error:NULL];
}
});
//parse finished notify
}
modify url
- (void)parseWWDCDownloadLink
{
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
//modify it as real videos url
NSURL * url = [NSURL URLWithString:@"https://developer.apple.com/videos/wwdc/2014/"];
NSString *webContent = [[NSString alloc] initWithContentsOfURL:url usedEncoding:NULL error:NULL];
.....
}
});
//parse finished notify
}
limit Max Concurrent Downloads Count
WWDCStateManager.m
- (void)addDownload:(NSDictionary*)downloadItem
{
[[TCBlobDownloadManager sharedInstance] setMaxConcurrentDownloads:5];
}
Browse
Download Selection
Download Path Setting
##Development experience We use SQLite+ Design database,Generate FMDB-Based Model & DAO class; iOSXKit A Fast Mac App Development Tool, can quickly generate OSX UI Wapper class. Only take 4 days complete basic WWDC2014 Demo App.
Available under MIT license