build: Fix swiftlint warnings
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
73c708d902
commit
a8226b35d2
@@ -7,7 +7,7 @@ extension NSTableView {
|
||||
func dequeueReusableCell<T: NSView>() -> T {
|
||||
let identifier = NSUserInterfaceItemIdentifier(NSStringFromClass(T.self))
|
||||
if let cellView = makeView(withIdentifier: identifier, owner: self) {
|
||||
//swiftlint:disable:next force_cast
|
||||
// swiftlint:disable:next force_cast
|
||||
return cellView as! T
|
||||
}
|
||||
let cellView = T()
|
||||
|
||||
Reference in New Issue
Block a user