Skip to content

Instantly share code, notes, and snippets.

typedef id (^ActivitySourceWrapperExecuteBlock)(UIActivityViewController* activityViewController,NSString* activityType);
@interface ActivitySourceWrapper : NSObject<UIActivityItemSource>
@property id placeholder;
-(id)initWithBlock:(ActivitySourceWrapperExecuteBlock)block;
-(id)initWithBlock:(ActivitySourceWrapperExecuteBlock)block withPlaceholder:(id)placeholder;
@end