Move RoundedProgressView to UIKitExtras.

This commit is contained in:
Brent Simmons
2024-05-06 22:12:57 -07:00
parent e84d8ad1d7
commit 043b7841d8
2 changed files with 2 additions and 6 deletions

View File

@@ -1,20 +0,0 @@
//
// RoundedProgressView.swift
// NetNewsWire
//
// Created by Maurice Parker on 10/29/19.
// Copyright © 2019 Ranchero Software. All rights reserved.
//
import UIKit
class RoundedProgressView: UIProgressView {
override func layoutSubviews() {
super.layoutSubviews()
for subview in subviews {
subview.layer.masksToBounds = true
subview.layer.cornerRadius = bounds.height / 2.0
}
}
}