Created
May 24, 2014 03:38
-
-
Save loganwright/78f02ffe20907f35b758 to your computer and use it in GitHub Desktop.
C-Type Struct With Objective-C Objects
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
typedef void (^CompletionBlock)(void); | |
typedef struct { | |
SEL selector; | |
__unsafe_unretained id object; | |
__unsafe_unretained NSArray * arguments; | |
__unsafe_unretained CompletionBlock completionBlock; | |
} ExecutableOperationStruct ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment