mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-18 01:01:11 +00:00
22 lines
627 B
Objective-C
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
|