This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // RXAsynchronousOperation.h | |
| // | |
| // Copyright 2013 Andreas Grosam | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| Objective: | |
| Asynchronously transform or process an array of items - one after the | |
| other and return the result of each transform in an array. | |
| Synopsis: | |
| void transform_each(NSArray* inArray, unary_async_t task, completion_t completion); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // SimpleGetHTTPRequest.h | |
| // | |
| #import <Foundation/Foundation.h> | |
| typedef void (^completionHandler_t) (id result); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <Foundation/Foundation.h> | |
| #include <dispatch/dispatch.h> | |
| @interface Operation : NSOperation | |
| @property (nonatomic, readwrite) BOOL isExecuting; | |
| @property (nonatomic, readwrite) BOOL isFinished; | |
| @property (nonatomic, readwrite) BOOL terminating; | |
| @end | |
| @implementation Operation { |
NewerOlder