FOCUS is an iOS Pomodoro timer app built with SwiftUI.
Unlike a regular Pomodoro timer, FOCUS uses the physical action of placing the iPhone face down to start a focus session. This helps users stay away from their phone and reduce distractions while studying or working.
FOCUS is designed for people who struggle with phone distractions while studying or working.
Instead of simply showing a countdown timer, the app uses the physical action of placing the iPhone face down as the start signal for a focus session. This turns the phone from a distraction into part of the focus routine.
Many people start a Pomodoro timer but still keep their phone nearby.
Even while the timer is running, notifications, messages, and the habit of checking the phone can easily break concentration.
A normal timer app can measure focus time, but it does not strongly prevent the user from touching the phone.
FOCUS solves this problem with Sensor Mode.
When the user places the iPhone face down, the focus timer starts automatically.
This creates a simple physical rule:
If the phone stays face down, the focus session continues.
By making the user physically put the phone away from view, FOCUS helps reduce small distractions and encourages deeper focus.
FOCUS combines Pomodoro time management with motion-based interaction.
Using CoreMotion, the app detects when the iPhone is placed face down and uses that physical action to start a focus session. This makes the timer feel less like a passive countdown and more like an intentional focus ritual.
- Face-Down Focus Start — Automatically starts the timer when the iPhone is placed face down
- Focus & Break Timer — Configurable focus, break, and long break durations
- Sensor Mode — Uses device motion detection to support hands-off focus sessions
- Alarm — Choose from 21 system sounds with a preview button
- Vibration — Four intensity levels: Off / Light / Strong / Max
- Session Tracking — Tracks completed sets and sensor-paused time per day
- Landscape Support — Adapts layout for both portrait and landscape orientations
- Persistent Settings — Saves user preferences across app launches
| Setting | Default | Range |
|---|---|---|
| Focus | 25 min | 1–60 min |
| Break | 5 min | 1–30 min |
| Long Break | 20 min | 10–30 min |
| Long Break Every | 4 sets | 2–8 sets |
| Target Sets | 4 sets | 1–10 sets |
- SwiftUI
- CoreMotion
- AVFoundation
- UserDefaults
- iOS 17+
- Xcode 15+
PomodoroTimer/
├── ContentView.swift # Main UI + Settings sheet
├── FocusTimerViewModel.swift # Timer logic & state
├── MotionManager.swift # Face-down detection via CoreMotion
├── SoundManager.swift # Haptics, alarm sounds, vibration levels
├── SessionHistoryStore.swift # Daily set completion persistence
└── TimerFormatting.swift # Time formatting helpers