Skip to content

Latest commit

 

History

History
122 lines (85 loc) · 2.99 KB

File metadata and controls

122 lines (85 loc) · 2.99 KB

🧘‍♂️ iBreathe

Mindful Breathing App for Apple Watch + iPhone
Guided breathing with haptics & synced session logs.

Platform Built with SwiftUI WatchConnectivity


📋 Table of Contents


🎯 Features

  • Smooth inhale/exhale animation with haptic cues
  • Choose from 1, 3, or 5-minute sessions
  • Pause/resume mid-session
  • Session logs saved on Watch & automatically synced to iPhone
  • View session history on both devices

🔧 Tech Highlights

  • SwiftUI for watchOS and iOS UI
  • WatchConnectivity (WCSession) for cross-device sync
  • Codable + FileManager for lightweight local persistence
  • MVVM architecture and shared SessionLog model

📸 Screenshots

⌚ Watch App

  • Home Screen
  • History
  • Inhale Phase
  • Exhale Phase

📱 iPhone App

  • iPhone History

🧪 Setup & Run

⚠️ Note: Watch→iPhone sync only works on real paired devices. Simulators can test UI but not connectivity.

  1. Clone the repo:

    git clone https://github.com/codeanurag/iBreathe.git
    cd iBreathe
  2. Organize files:

    iBreathe/
      ├── docs/
      │   ├── screen1.png
      │   ├── screen2.png
      │   ├── screen3.png
      │   ├── screen4.png
      │   └── screen5.png
      ├── iBreathe.xcodeproj
      └── README.md
    
  3. Open in Xcode:

    open iBreathe.xcodeproj
  4. Select your iPhone + Apple Watch target, build & run.

  5. Start a breathing session on the Watch — logs will sync to iPhone automatically. View them in the “View Synced Logs” screen.


🚀 Roadmap

Planned Feature Status
HealthKit integration ✅ Done
Custom inhale/exhale durations ✅ Done

📞 Support

Have questions or need help?


❤️ Credits & License

Built with 💡 by @codeanurag.

Licensed under the MIT License — see LICENSE for details.