This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //start scanning when the Scan button is pushed down (touch down) | |
| - (IBAction)startScanning:(id)sender { | |
| if(![self.session isRunning]) | |
| { | |
| [self.barcodeScanAreaView.layer addSublayer:_prevLayer]; | |
| [_session startRunning]; | |
| [self.barcodeScanAreaView bringSubviewToFront:_highlightView]; //isn't necessary at this point because the line gets removed before anyone sees it. Could be useful if there was a delay before shutting down the view and recording the scan | |
| } | |
| } | |
| //stop scanning when the button is pushed up (inside button) (touch up inside) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######################### | |
| # This gist is meant to be used to install everything needed to get up and running with the Ionic Framework on Windows using Chocolatey (http://chocolatey.org) | |
| # Read "How to use this Gist File" section below for instructions. | |
| ######################### | |
| ######################### | |
| # NOTE : for those familiar with Chocolatey, there are a couple of custom packages used as part of the install that are not published and are waiting on maintainers to make updates to their packages. | |
| ######################### |
NewerOlder