diff --git a/AltStore/News/NewsCollectionViewCell.swift b/AltStore/News/NewsCollectionViewCell.swift index d9c4b276..3fae6638 100644 --- a/AltStore/News/NewsCollectionViewCell.swift +++ b/AltStore/News/NewsCollectionViewCell.swift @@ -8,7 +8,7 @@ import UIKit -class NewsCollectionViewCell: UICollectionViewCell +final class NewsCollectionViewCell: UICollectionViewCell { @IBOutlet var titleLabel: UILabel! @IBOutlet var captionLabel: UILabel! diff --git a/AltStore/News/NewsViewController.swift b/AltStore/News/NewsViewController.swift index 0cf77a9c..347d605f 100644 --- a/AltStore/News/NewsViewController.swift +++ b/AltStore/News/NewsViewController.swift @@ -14,7 +14,7 @@ import Roxas import Nuke -private class AppBannerFooterView: UICollectionReusableView +private final class AppBannerFooterView: UICollectionReusableView { let bannerView = AppBannerView(frame: .zero) let tapGestureRecognizer = UITapGestureRecognizer(target: nil, action: nil) @@ -41,7 +41,7 @@ private class AppBannerFooterView: UICollectionReusableView } } -class NewsViewController: UICollectionViewController +final class NewsViewController: UICollectionViewController { private lazy var dataSource = self.makeDataSource() private lazy var placeholderView = RSTPlaceholderView(frame: .zero)