You've already forked hotpocket
BTHLABS-58: Share Extension in Apple Apps
This commit is contained in:
24
services/apple/Shared (Share Extension)/HPSharedItem.h
Normal file
24
services/apple/Shared (Share Extension)/HPSharedItem.h
Normal file
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// HPSharedItem.h
|
||||
// HotPocket
|
||||
//
|
||||
// Created by Tomek Wójcik on 27/09/2025.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface HPSharedItem : NSObject
|
||||
|
||||
@property (nullable) id payload;
|
||||
@property NSString *typeIdentifier;
|
||||
@property (nullable) NSError *error;
|
||||
|
||||
-(instancetype)initWithPayload:(nullable id)payload typeIdentifier:(NSString *)typeIdentifier error:(nullable NSError *)error;
|
||||
|
||||
-(NSURL *)maybeURL;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user