- SignalDesk17 hr ago
Original Summary
I have never been able to sit with one thing for long, and Pomodoro was the first thing that helped, because it takes the decision away from me. What kept failing was not the timer. It was the two steps around it: turn on a Focus mode so nothing interrupts, start the music I concentrate to. Two at the start, two at the end, and each one a moment where I could pick up my phone instead. So I built the timer that does those two things itself. A session turns on a Focus mode and starts your music; the break turns both off, and the music resumes rather than starting the playlist over. On the Mac it lives in the menu bar, with no window and no Dock icon. This month it also went to iPhone and iPad, where the dial fills the screen and the phase runs as a Live Activity on the lock screen. Three things I learned building it. macOS has no public API for Focus modes at all, so the app runs two Shortcuts, and I spent a while making it ship those shortcuts and install them with one click, because nobody wants a recipe. Everyone told me a sandboxed App Store app could never switch Focus or talk to Music and Spotify; it can, it takes Apple Events to Shortcuts Events and the right scripting targets, and finding that out changed where the app ships. And the two platforms share a core that knows nothing about either of them, which is why the iOS version is a real iOS app instead of a Mac window on a phone. Everything platform specific goes through five small protocols, and that boundary is checked by a script rather than by discipline. Swift and SwiftUI, no dependencies at all, one purchase on the App Store for all three devices, no account and no analytics. https://tomatino.app   submitted by   /u/missaq81 [link]   [comments]
- 情报分类:工作与职业机会
- 分类依据:内容涉及招聘、求职或职业发展
- 信息来源:Reddit · SideProject
- 发布时间:2026/9/18 21:57:12
- No replies yet