二维码扫描ViewController GEQRCodeView
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/lerosua/GEQRCodeView
软件介绍
GEQRCodeView 是一个简单的二维码扫描 ViewController。简单易用。在 iOS7 下使用 Apple 提供的 SDK 扫描二维码,快速。为了兼容 iOS6,又将 zbar 集成进来。根据版本不同切换不同的引擎。
使用
在将要打开二维码扫描的ViewController里继承QRReaderDelegate协议,并实现以下方法
#pragma mark - qrReader delegate- (void) qrReaderViewController:(UIViewController *)view didFinishPickingInformation:(NSString *)info{ [view dismissViewControllerAnimated:YES completion:^{ //todo... }];}- (void) qrReaderDismiss:(UIViewController *)view{ [view dismissViewControllerAnimated:YES completion:nil];}
打开二维码界面
GEQRViewController *viewController = [[GEQRViewController alloc] init]; viewController.delegate = self; [self presentViewController:viewController animated:YES completion:nil];
游戏人工智能编程案例精粹
巴克兰德 (Mat Buckland) / 罗岱 / 人民邮电出版社 / 2008年06月 / 55.00元
《游戏人工智能编程案例精粹》适合对游戏AI开发感兴趣的爱好者和游戏AI开发人员阅读和参考。一起来看看 《游戏人工智能编程案例精粹》 这本书的介绍吧!