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.