CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

MRWorker 1.1.0

MRWorker 1.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Marc Ransome.



MRWorker 1.1.0

MRWorker is a tiny experimental Objective-C library intended for running command-line programs asynchronously and observing their output.

A simple example:

MRWorkerOperation *operation = [MRWorkerOperation workerOperationWithLaunchPath:@"/bin/ls" arguments:@[@"-al", @"/"] outputBlock:^(NSString *output) {
    // buffer/process program output
    ...
} completionBlock:^(int terminationStatus) {
    // respond to program termination
    ...
}

[[MRWorker sharedWorker] addOperation:operation];

Contributions

If you would like to contribute to the project, fork the repository, make your code changes, then submit a pull request with a brief description of your feature or bug fix.

License

MRWorker is provided under the terms of the MIT License.

Contact

Email me at [email protected] or tweet @marcransome.