From be38c72d44cd551dc6448e1e7f85f42ae7774346 Mon Sep 17 00:00:00 2001 From: Gregory John Casamento Date: Fri, 8 Nov 2024 20:53:05 -0500 Subject: [PATCH] Complete NSOperation documentation, quick change --- Headers/Foundation/NSOperation.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Headers/Foundation/NSOperation.h b/Headers/Foundation/NSOperation.h index eeeb54f76..20fc27643 100644 --- a/Headers/Foundation/NSOperation.h +++ b/Headers/Foundation/NSOperation.h @@ -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