SwiftLint: Fix force_cast

This commit is contained in:
Marc Rousavy
2021-02-25 14:07:46 +01:00
parent 4d7b8a01f5
commit c6ccae0cf2
2 changed files with 12 additions and 14 deletions

View File

@@ -92,6 +92,7 @@ final class CameraView: UIView {
/// Convenience wrapper to get layer as its statically known type.
var videoPreviewLayer: AVCaptureVideoPreviewLayer {
// swiftlint:disable force_cast
return layer as! AVCaptureVideoPreviewLayer
}