Skip to content

Instantly share code, notes, and snippets.

View Sidetalker's full-sized avatar

Kevin Sullivan Sidetalker

View GitHub Profile

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

@Sidetalker
Sidetalker / ProgressMaskText.swift
Last active February 15, 2025 09:30
ProgressBar with masked text in SwiftUI
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