Last active
December 20, 2015 05:21
-
-
Save saiday/057d09313ec1785b5be5 to your computer and use it in GitHub Desktop.
block example
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 (^GetImageSucess)(UIImage *image); | |
| typedef void (^Failure) (NSError *error); | |
| @interface BlockExample : NSObject | |
| - (void)performComputation:(AudioBufferList *)bufferListInOut completionHandler:(void(^)(NSArray *fftData, BOOL isEnd))completion; | |
| - (void)fetchImage:(NSURL *)imageURL sucess:(GetImageSucess)sucess failure:(Failure)failure; | |
| @end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment