Skip to content

Commit

Permalink
Merge pull request #19 from austinoneil/master
Browse files Browse the repository at this point in the history
Update Transition guide.md
  • Loading branch information
Cerovec committed Feb 9, 2016
2 parents e3616e0 + e4a611b commit c2221b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Transition guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

`PPZXingRecognizerResult` which holds the results of ZXing scanning

- `PPScanningResult` had getters for `data`, `rawData`, `uncertain` and `type` properties. Each new class has equivalent `data`, `rawData` and `uncertain` properties. New classes (except PDF417 and USDL) have `barcodeType` property with the same function. PDF417 and USDL classes don't have type since they are always obtained by scanning PFDF417 barcode.
- `PPScanningResult` had getters for `data`, `rawData`, `uncertain` and `type` properties. Each new class has equivalent `data`, `rawData` and `uncertain` properties. New classes (except PDF417 and USDL) have `barcodeType` property with the same function. PDF417 and USDL classes don't have type since they are always obtained by scanning PFDF417 barcode. To get data in `PPUsdlRecognizerResult`, you will need to do `NSString* message = [[result getAllStringElements] valueForKey:@"pdf417"];`, assuming that `result` is the `PPUsdlRecognizerResult` instance.

- For easier integration new classes have new getters `stringUsingGuessedEncoding` which guesses the encoding string inside barcode data. Use this if you know data is textual, but you don't know the exact encoding of the string.

Expand All @@ -68,4 +68,4 @@
- All calls to `resumeScanning` replace with `resumeScanningAndResetState:YES`.
- All calls to `resumeScanningWithoutStateReset` replace with `resumeScanningAndResetState:NO`

- Remove all references to `updateScanningRegion` method since it's now being called automatically in `setScanningRegion` setter.
- Remove all references to `updateScanningRegion` method since it's now being called automatically in `setScanningRegion` setter.

0 comments on commit c2221b5

Please sign in to comment.