MainOrNot

MainOrNot

Learn Swift 6 Concurrency with realtime thread visualization

2 followers

Stop guessing which thread your Swift code runs on. MainOrNot shows you in real-time with 🟢 Main / 🔴 Background indicators as you learn. 13 interactive examples covering Swift 6.2 concurrency from basics to actors. Execute code live, see thread execution instantly, understand async/await patterns by watching them run. Includes Swift 6.2's new Approachable Concurrency & Default Actor Isolation flags, learn the future of Swift today. 6 languages.
Free
Launch tags:Open Source•Education•Developer Tools
Launch Team
Flowstep
Flowstep
Generate real UI in seconds
Promoted

What do you think? …

Joey Barbier
Maker
📌
Hey Product Hunt! 👋 I built MainOrNot because I was tired of debugging async code without knowing if I was accidentally blocking the main thread. Swift Concurrency is powerful but abstract - you write `async/await` and hope it works. I wanted to SEE what's happening. So I created an app where every line of code shows you: 🟢 Main thread or 🔴 Background thread. In real-time. 13 examples from "What's a Task?" to "How do Actors isolate state?" - all executable, all visualized. Plus Swift 6.2's new compilation modes that most tutorials don't cover yet. It's open source on GitHub because learning tools should be free and improvable by the community. What's your biggest pain point learning Swift Concurrency? Would love to hear what examples you'd want to see added.