Swiftgram/LegacyComponents/TGPassportScanController.h
Ilya Laktyushin a1a0a604ea no message
2018-09-17 20:36:39 +01:00

22 lines
627 B
Objective-C

#import <LegacyComponents/LegacyComponents.h>
@class TGPresentation;
@class TGPassportMRZ;
@interface TGPassportScanControllerTheme : NSObject
@property (nonatomic, strong, readonly) UIColor *backgroundColor;
@property (nonatomic, strong, readonly) UIColor *textColor;
- (instancetype)initWithBackgroundColor:(UIColor *)backgroundColor textColor:(UIColor *)textColor;
@end
@interface TGPassportScanController : TGViewController
@property (nonatomic, copy) void (^finishedWithMRZ)(TGPassportMRZ *);
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context theme:(TGPassportScanControllerTheme *)theme;
@end