Barcode Spatial Grid Editor View

Defined in framework ScanditBarcodeCapture

SDCBarcodeSpatialGridEditorView
@interface SDCBarcodeSpatialGridEditorView : UIView

Added in version 7.1.0

BarcodeSpatialGridEditorView is best used in portrait.

+ viewWithFrame:grid:settings:error:
+ (nullable instancetype)viewWithFrame:(CGRect)frame
                                  grid:(SDCBarcodeSpatialGrid *)grid
                              settings:(SDCBarcodeSpatialGridEditorViewSettings *)settings
                                 error:(NSError **)error

Added in version 7.1.0

Initializes a SDCBarcodeSpatialGridEditorView. Pass the SDCBarcodeSpatialGrid to be edited and the SDCBarcodeSpatialGridEditorViewSettings to customize the interface.

Only accepts grids of 4 rows by 2 columns. Other grid dimensions will throw an error.

delegate
@property (nonatomic, weak) id<SDCBarcodeSpatialGridEditorViewDelegate> delegate

Added in version 7.1.0

Set this delegate to handle events from the SDCBarcodeSpatialGridEditorView. For example the signal from the user that the editing is finished or cancelled.