chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// TLScannerButton.h
|
||||
// TLChat
|
||||
//
|
||||
// Created by 李伯坤 on 16/2/25.
|
||||
// Copyright © 2016年 李伯坤. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
typedef NS_ENUM(NSUInteger, TLScannerType) {
|
||||
TLScannerTypeQR = 1, // 扫一扫 - 二维码
|
||||
TLScannerTypeCover, // 扫一扫 - 封面
|
||||
TLScannerTypeStreet, // 扫一扫 - 街景
|
||||
TLScannerTypeTranslate, // 扫一扫 - 翻译
|
||||
};
|
||||
|
||||
|
||||
@interface TLScannerButton : UIButton
|
||||
|
||||
@property (nonatomic, strong) NSString *title;
|
||||
|
||||
@property (nonatomic, strong) NSString *iconPath;
|
||||
|
||||
@property (nonatomic, strong) NSString *iconHLPath;
|
||||
|
||||
@property (nonatomic, assign) TLScannerType type;
|
||||
|
||||
@property (nonatomic, assign) NSUInteger msgNumber;
|
||||
|
||||
- (id)initWithType:(TLScannerType)type title:(NSString *)title iconPath:(NSString *)iconPath iconHLPath:(NSString *)iconHLPath;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user