Implement show qrcode by core image generator instead of embed a web view.
This commit is contained in:
Charlie Qiu
2016-10-21 23:27:30 +08:00
parent 082c25f5e2
commit d2b8ca1c97
7 changed files with 59 additions and 70 deletions
+2 -2
View File
@@ -9,9 +9,9 @@
#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
@interface SWBQRCodeWindowController : NSWindowController <WebFrameLoadDelegate>
@interface SWBQRCodeWindowController : NSWindowController
@property (nonatomic, strong) IBOutlet WebView *webView;
@property (nonatomic, copy) NSString *qrCode;
@property (nonatomic, weak) NSImageView *imageView;
@end