Using Objective-C
If your application plans to use Classes or APIs of the Capture SDK from Objective-C code, you may encounter issues with classes not being found. This is because our public Swift classes/enums/protocols are prefixed with SBL when exposed to Objective-C. The main reason for this is to prevent namespace collisions with your App’s class names. Since classes imported from Swift can be specified with their full namespace, only those imported from Objective-C are prefixed.
For example, the CaptureConfiguration
swift class can be accessed as:
- In Swift :
CaptureConfiguration
orSensibillCapture.CaptureConfiguration
- In Objective-C:
SBLCaptureConfiguration