Skip to content

Commit

Permalink
Fix swift lint unneeded_override
Browse files Browse the repository at this point in the history
  • Loading branch information
levieggertcru committed Jul 16, 2024
1 parent dd4ade7 commit ff65b93
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,4 @@ class LoadingArticleView: LoadingView {
required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}

override func setupLayout() {
super.setupLayout()
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ class ChooseYourOwnAdventureView: MobileContentPagesView {
pageNavigationView.gestureScrollingEnabled = false
}

override func setupBinding() {
super.setupBinding()
}

func languageTapped(index: Int) {
viewModel.languageTapped(index: index)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ class ToolView: MobileContentPagesView {
print("view didload: \(type(of: self))")
}

override func setupLayout() {
super.setupLayout()
}

override func setupBinding() {
super.setupBinding()

Expand All @@ -52,10 +48,6 @@ class ToolView: MobileContentPagesView {
}
}

override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
}

override func didConfigurePageView(pageView: MobileContentPageView) {
if let toolPageView = pageView as? ToolPageView {
toolPageView.setToolPageDelegate(delegate: self)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ class ToolTrainingTipView: UICollectionViewCell {

private var mobileContentView: MobileContentView?

override func awakeFromNib() {
super.awakeFromNib()
}

override func prepareForReuse() {
super.prepareForReuse()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ class LessonPageView: MobileContentPageView {
contentContainerView.backgroundColor = .clear
}

override func setupBinding() {
super.setupBinding()

}

// MARK: - MobileContentView

override func renderChild(childView: MobileContentView) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ class ToolPageView: MobileContentPageView {
setCallToActionHidden(hidden: true, animated: false)
}

override func setupBinding() {
super.setupBinding()
}

override func getPositionState() -> MobileContentViewPositionState {

let cardPosition: Int? = cardsView?.getCurrentCardPosition()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class TrainingTipView: MobileContentView, NibBased {
super.init(viewModel: viewModel, frame: CGRect(x: 0, y: 0, width: 100, height: 100))

loadNib()
setupLayout()
setupBinding()

tipButton.addTarget(self, action: #selector(handleTip(button:)), for: .touchUpInside)
Expand All @@ -32,10 +31,6 @@ class TrainingTipView: MobileContentView, NibBased {
fatalError("init(coder:) has not been implemented")
}

private func setupLayout() {

}

private func setupBinding() {

viewModel.trainingTipBackgroundImage.addObserver(self) { [weak self] (backgroundImage: UIImage?) in
Expand All @@ -58,13 +53,7 @@ class TrainingTipView: MobileContentView, NibBased {

// MARK: - MobileContentView

override func renderChild(childView: MobileContentView) {
super.renderChild(childView: childView)
}

override var heightConstraintType: MobileContentViewHeightConstraintType {
return .equalToSize(size: CGSize(width: 50, height: 50))
}

// MARK: -
}

0 comments on commit ff65b93

Please sign in to comment.