SnoreBuddy is an iOS application that tracks and analyzes sleep data using Apple HealthKit. It provides insights into different sleep stages such as Awake, Core, REM, and Deep sleep.
- Fetches sleep data from Apple HealthKit.
- Analyzes sleep stages and calculates sleep metrics.
- Visualizes sleep data using SwiftUI charts.
- iOS 14.0+
- Xcode 12.0+
- Swift 5.0+
- Apple HealthKit
- Clone the repository:
git clone https://github.com/yourusername/SnoreBuddy.git
- Open the project in Xcode:
open SnoreBuddy.xcodeproj
- Build and run the project on a physical device with HealthKit enabled.
- Grant HealthKit permissions to the app.
- The app will automatically fetch and display sleep data.
- View detailed sleep analysis in the
DetailsView.
This project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/your-feature). - Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature/your-feature). - Open a pull request.
- Tanay Shah - tanayshah11
- Thanks to everyone whose code was used.
- Apple for providing HealthKit.
- SwiftUI for making UI development a breeze.