Overview
Mindra is a macOS productivity timer designed to help you stay focused and productive. Built entirely with Swift and SwiftUI, it features beautiful animations, customizable timers, and native macOS integration.
Key Features
Beautiful Design
The app features a clean, minimalist interface that stays out of your way while you work. The timer is displayed in a floating window that you can position anywhere on your screen.
Sound Notifications
Get notified when your timer completes with pleasant sound notifications. Choose from a variety of built-in sounds or use your own.
Customizable Timers
Create and save multiple timer presets for different tasks:
- Pomodoro (25 minutes)
- Short break (5 minutes)
- Long break (15 minutes)
- Custom durations
Technical Implementation
Mindra is built using modern macOS development technologies:
- Swift 5.9: Latest Swift features for clean, performant code
- SwiftUI: Declarative UI framework for beautiful animations
- AppKit Integration: Native macOS features and system integration
- UserDefaults: Persistent timer presets and settings
Architecture
The app follows the MVVM (Model-View-ViewModel) pattern, ensuring clean separation of concerns and testability.
class TimerViewModel: ObservableObject {
@Published var remainingTime: TimeInterval = 0
@Published var isRunning: Bool = false
func start() {
// Timer logic
}
}
What I Learned
Building Mindra taught me a lot about:
- SwiftUI animations and state management
- macOS window management and floating windows
- Audio playback and notifications on macOS
- App distribution and notarization
Future Plans
I'm planning to add more features:
- Menu bar integration
- Statistics and productivity insights
- iCloud sync between devices
- Shortcuts integration
Try It Out
You can download Mindra for free and start being more productive today!