iMusicPlayer is a lightweight, user-friendly music player application built for macOS and iOS platforms using SwiftUI. It provides a seamless music playback experience with essential features for managing and playing your music collection.
- Simple and Clean Interface: Modern UI design with intuitive controls
- Music Library Management: Easy import and organization of your music files
- Basic Playback Controls: Play, pause, next/previous track
- Background Playback: Continue playing music while using other apps
- System Integration: Support for system media controls and remote control
- Cross-Platform: Works on both macOS and iOS
- macOS 11.0+ or iOS 14.0+
- Xcode 13.0+ (for development)
- Swift 5.5+
- Clone the repository
- Open
iMusicPlayer.xcodeproj
in Xcode - Build and run the project
- Launch the app
- Import music files by clicking the "+" button
- Select a song from the list to start playing
- Use the player controls to manage playback
iMusicPlayer/
├── App/ # App entry point
├── Models/ # Data models
├── Services/ # Business logic services
├── ViewModels/ # View models for MVVM
├── Views/ # UI components
│ ├── Components/ # Reusable UI components
│ └── Screens/ # Main app screens
└── Utils/ # Utility functions
-
Music Management Service (SongService)
- Music file import
- Playlist management
- Music file persistence
-
Player Service (PlayerService)
- Audio playback control
- Background playback support
- System media controls integration
-
User Interface
- Song list view
- Player control interface
- Album artwork display
Contributions are welcome! If you'd like to contribute, please:
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details