mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
18 lines
599 B
Objective-C
18 lines
599 B
Objective-C
#import "TGPhotoEditorTabController.h"
|
|
|
|
#import <LegacyComponents/LegacyComponentsContext.h>
|
|
|
|
@class PGPhotoEditor;
|
|
@class TGSuggestionContext;
|
|
@class TGPhotoEditorPreviewView;
|
|
|
|
@interface TGPhotoCaptionController : TGPhotoEditorTabController
|
|
|
|
@property (nonatomic, copy) void (^captionSet)(NSString *caption, NSArray *entities);
|
|
|
|
@property (nonatomic, strong) TGSuggestionContext *suggestionContext;
|
|
|
|
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context photoEditor:(PGPhotoEditor *)photoEditor previewView:(TGPhotoEditorPreviewView *)previewView caption:(NSString *)caption;
|
|
|
|
@end
|