- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
import SwiftUI | |
struct ProgressBarConfig { | |
let height: CGFloat = 50 | |
let width: CGFloat = 300 | |
let cornerRadius: CGFloat = 25 | |
let initialProgress: CGFloat = 0.3 | |
let backgroundColor: Color = Color.gray.opacity(0.3) | |
let foregroundColor: Color = .blue |