kamalupasena /
CountDownTimerSwift
This is a simple and beautiful countdown timer project done using swift
38/100 healthLoading repository data…
ptsimpso / repository
A simple countdown timer component for iOS apps written in Swift.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A simple countdown timer component for iOS apps written in Swift. Just clone or download the repo and drag the PSTimer.swift file into your project.
The CountdownTimer class initializer takes a UILabel, as well as the minutes and seconds that the timer should start the countdown from. Make sure to adhere to the CountdownTimerDelegate protocol and implement the countdownEnded() function in order to get notified when the countdown finishes. Example:
class CustomViewController: UIViewController, CountdownTimerDelegate {
@IBOutlet weak var timeLabel: UILabel!
var timer: CountdownTimer!
override func viewDidLoad() {
// Timer will start at 15:00
timer = CountdownTimer(timerLabel: timeLabel, startingMin: 15, startingSec: 0)
timer.delegate = self
}
func countdownEnded() -> Void {
// Handle countdown finishing
}
}
You can start and stop the timer with:
timer.start() // Begins countdown
timer.pause() // Pauses countdown
timer.reset() // Pauses countdown and resets to the initial time
MIT all the way.
Selected from shared topics, language and repository description—not editorial ratings.
kamalupasena /
This is a simple and beautiful countdown timer project done using swift
38/100 healthnostrapollo /
A simple macOS menu bar app that shows your next calendar meeting with a countdown timer
63/100 healthVVnx /
macOS menu bar app to monitor Claude Code & OpenAI Codex usage and rate limits — 5-hour / weekly quotas with reset countdowns, at a glance
sanju-naik-zz /
A simple countdown timer component for iOS apps written in Swift.
42/100 healthvulcanshen /
A circle coundown view using swift
47/100 healthsimonwhitaker /
A simple countdown timer app for macOS
29/100 health