Swiftgram/LegacyComponents/TGPhotoCaptionController.h
Ilya Laktyushin 888ce523da no message
2018-02-13 14:50:55 +04:00

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