2017-11-08 10:32:33 +08:00
|
|
|
//
|
|
|
|
// Created by Matthew Smith on 11/7/17.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import <MTBBarcodeScanner/MTBBarcodeScanner.h>
|
|
|
|
|
|
|
|
#import "BarcodeScannerViewControllerDelegate.h"
|
2018-08-12 00:17:35 +08:00
|
|
|
#import "ScannerOverlay.h"
|
2017-11-08 10:32:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
@interface BarcodeScannerViewController : UIViewController
|
|
|
|
@property(nonatomic, retain) UIView *previewView;
|
2018-08-12 00:17:35 +08:00
|
|
|
@property(nonatomic, retain) ScannerOverlay *scanRect;
|
2017-11-08 10:32:33 +08:00
|
|
|
@property(nonatomic, retain) MTBBarcodeScanner *scanner;
|
|
|
|
@property(nonatomic, weak) id<BarcodeScannerViewControllerDelegate> delegate;
|
|
|
|
|
2018-08-12 00:17:35 +08:00
|
|
|
|
|
|
|
-(id) initWithOptions:(NSDictionary *) options;
|
2018-08-10 06:37:10 +08:00
|
|
|
@end
|