SkillAgentSearch skills...

WWDC2014

A Cocoa OSX App to help you download WWDC2014 videos

Install / Use

/learn @iosxtools/WWDC2014
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

<p><a href="https://github.com/AFNetworking/AFNetworking">AFNetworking</a></p> <p><a href="https://github.com/tracy-e/OCGumbo">OCGumbo</a></p> <p><a href="https://github.com/larcus94/LBProgressBar">LBProgressBar</a></p> <p><a href="https://github.com/thibaultCha/TCBlobDownload">TCBlobDownload</a></p> <p><a href="https://github.com/phranck/CNUserNotification">CNUserNotification</a></p>

License

Available under MIT license

View on GitHub
GitHub Stars158
CategoryContent
Updated1y ago
Forks30

Languages

Objective-C

Security Score

65/100

Audited on Dec 7, 2024

No findings