Skip to content

bugfreeX/AsyncTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AsyncTask

Example usage:

[AsyncTask launchPath:@"/sbin/ping" currentDirectoryPath:nil arguments:@[@"github.com"] outputBlock:^(NSString *outString) {
    NSLog(@"OUT:%@",outString);
} errBlock:^(NSString *errString) {
    NSLog(@"ERR:%@",errString);
} onLaunch:^{
    NSLog(@"Launch");
} onExit:^{
    NSLog(@"Exit");
}];

Screenshot AsyncTask

License

View the LICENSE file for more info.

Releases

No releases published

Packages

No packages published