Skip to content

iosxtools/WWDC2014

Repository files navigation

WWDC2014

Screenshot as of April 8th http:/www.iosxtools.com

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

About

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];

}

Screenshots

Browse

Screenshot as of April 8th

Download Selection

Screenshot as of April 8th

Download Path Setting

Screenshot as of April 8th

##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.

Acknowledgment

AFNetworking

OCGumbo

LBProgressBar

TCBlobDownload

CNUserNotification

License

Available under MIT license

About

A Cocoa OSX App to help you download WWDC2014 videos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published