mirror of
https://github.com/yattee/yattee.git
synced 2025-11-12 21:28:42 +00:00
Fix all SwiftLint violations across codebase
Resolves 130+ violations including deployment target checks, code style issues, and formatting inconsistencies. Adds SwiftLint disable comments for compiler-required availability checks while maintaining deployment target compliance. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -12,10 +12,6 @@ import Foundation
|
||||
wantsLayer = true
|
||||
}}
|
||||
|
||||
override init(frame frameRect: CGRect) {
|
||||
super.init(frame: frameRect)
|
||||
}
|
||||
|
||||
override func makeBackingLayer() -> CALayer {
|
||||
player.avPlayerBackend.playerLayer
|
||||
}
|
||||
@@ -28,12 +24,13 @@ import Foundation
|
||||
final class PlayerLayerView: UIView {
|
||||
var player: PlayerModel { .shared }
|
||||
|
||||
private var layerAdded = false
|
||||
|
||||
// swiftlint:disable:next unneeded_override
|
||||
override init(frame: CGRect) {
|
||||
super.init(frame: frame)
|
||||
}
|
||||
|
||||
private var layerAdded = false
|
||||
|
||||
@available(*, unavailable)
|
||||
required init?(coder _: NSCoder) {
|
||||
fatalError("init(coder:) has not been implemented")
|
||||
|
||||
Reference in New Issue
Block a user