Complete NSOperation documentation, quick change

This commit is contained in:
Gregory John Casamento 2024-11-08 20:53:05 -05:00
parent fe5efb6aa2
commit be38c72d44

View file

@ -208,8 +208,19 @@ GS_EXPORT_CLASS
}
// Managing the blocks in the Operation
/**
* Creates and returns an NSBlockOperationObject and adds the block.
*/
+ (instancetype) blockOperationWithBlock: (GSBlockOperationBlock)block;
/**
* Adds the execution block to the NSOperationBlock.
*/
- (void) addExecutionBlock: (GSBlockOperationBlock)block;
/**
* Returns the block added to the NSOperationBlock.
*/
- (NSArray *) executionBlocks;
@end