You've already forked hotpocket
BTHLABS-58: Share Extension in Apple Apps
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// HPShareExtensionHelper.h
|
||||
// HotPocket
|
||||
//
|
||||
// Created by Tomek Wójcik on 27/09/2025.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class HPSharedItemsContainer;
|
||||
|
||||
typedef void (^HPShareExtensionHelperHandleItemsCompletionHandler)(NSURL * _Nullable url);
|
||||
|
||||
@interface HPShareExtensionHelper : NSObject
|
||||
|
||||
@property NSExtensionContext *context;
|
||||
@property HPSharedItemsContainer *items;
|
||||
|
||||
-(instancetype)initWithContext:(NSExtensionContext *)context;
|
||||
|
||||
-(void)processItems:(HPShareExtensionHelperHandleItemsCompletionHandler)completionHandler;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user