Mark classes as final that can be marked as final.

This commit is contained in:
Brent Simmons
2025-01-25 11:01:12 -08:00
parent 48fc807f94
commit 5651764907
155 changed files with 172 additions and 172 deletions

View File

@@ -9,7 +9,7 @@
import UIKit
import RSCore
class MainTimelineTableViewCell: VibrantTableViewCell {
final class MainTimelineTableViewCell: VibrantTableViewCell {
private let titleView = MainTimelineTableViewCell.multiLineUILabel()
private let summaryView = MainTimelineTableViewCell.multiLineUILabel()

View File

@@ -8,7 +8,7 @@
import UIKit
class MainUnreadIndicatorView: UIView {
final class MainUnreadIndicatorView: UIView {
override func layoutSubviews() {
super.layoutSubviews()

View File

@@ -8,7 +8,7 @@
import UIKit
class MainTimelineDataSource<SectionIdentifierType, ItemIdentifierType>: UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> where SectionIdentifierType: Hashable, ItemIdentifierType: Hashable {
final class MainTimelineDataSource<SectionIdentifierType, ItemIdentifierType>: UITableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> where SectionIdentifierType: Hashable, ItemIdentifierType: Hashable {
override func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {
return true

View File

@@ -8,7 +8,7 @@
import UIKit
class MainTimelineTitleView: UIView {
final class MainTimelineTitleView: UIView {
@IBOutlet weak var iconView: IconView!
@IBOutlet weak var label: UILabel!

View File

@@ -8,7 +8,7 @@
import UIKit
class MainTimelineUnreadCountView: MainFeedUnreadCountView {
final class MainTimelineUnreadCountView: MainFeedUnreadCountView {
override var padding: UIEdgeInsets {
return UIEdgeInsets(top: 2.0, left: 9.0, bottom: 2.0, right: 9.0)

View File

@@ -13,7 +13,7 @@ import Account
import Articles
import WebKit
class TimelineViewController: UITableViewController, UndoableCommandRunner {
final class TimelineViewController: UITableViewController, UndoableCommandRunner {
private var numberOfTextLines = 0
private var iconSize = IconSize.medium