In CRS-IUA, there are several classes that allow re-usability.

ATGBarcodeScannerView is generic and in ATGMobileClient. It processes the barcode scanning code but allows custom handling of successful and failed scans through the use of delegates.

ATGManualBarcodeInputView which is the same as the scanner one but with text vs barcode input. We use these classes in ATGScanAndGoViewController (in MobileCommerce project) and implement success and fail methods.

ATGScanAndGoViewController also leverages ATGCommerceManager to fetch the SKU corresponding to a barcode and to add items to the shopping cart.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices