Delete some unused code.

This commit is contained in:
Brent Simmons committed 2025-11-18 22:18:47 -08:00
1 parent eff37dfd22
commit bef756a6fb
2 files changed
-41

No files matched your search

@@ -1,20 +0,0 @@
//
// NonIntrinsicButton.swift
// NetNewsWire-iOS
//
// Created by Maurice Parker on 8/25/19.
// Copyright © 2019 Ranchero Software. All rights reserved.
//
import Foundation
import UIKit
final class NonIntrinsicButton: UIButton {
// Prevent autolayout from messing around with our frame settings
override var intrinsicContentSize: CGSize {
return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
}
}
@@ -1,21 +0,0 @@
//
// RoundedProgressView.swift
// NetNewsWire
//
// Created by Maurice Parker on 10/29/19.
// Copyright © 2019 Ranchero Software. All rights reserved.
//
import UIKit
final class RoundedProgressView: UIProgressView {
override func layoutSubviews() {
super.layoutSubviews()
subviews.forEach { subview in
subview.layer.masksToBounds = true
subview.layer.cornerRadius = bounds.height / 2.0
}
}
}