SimplePlayer is a minimalist iOS music player application built with Swift. It provides a clean, user-friendly interface for playing music with basic playback controls.
- 🎵 Play/Pause functionality
- ⏭️ Skip to next track
- 📱 Clean and intuitive user interface
- 🔄 Automatic playlist looping
- 📊 Real-time display of current song and artist information
- Swift
- UIKit
- AVFoundation
- Interface Builder / Storyboard
- Auto Layout
- Clone this repository
- Open
iOS101-PreWork.xcodeprojin Xcode - Add your MP3 files to the project:
- Rename them as
song1.mp3,song2.mp3, andsong3.mp3 - Add them to the project navigator
- Ensure "Copy items if needed" is selected
- Rename them as
- Update the song information in
PlayerManager.swiftto match your audio files - Build and run the project
- iOS 13.0+
- Xcode 12.0+
- Swift 5.0+
ViewController.swift: Main view controller handling UI interactionsPlayerManager.swift: Singleton class managing audio playbackSong.swift: Model structure for song informationMain.storyboard: UI layout and design
- Volume control
- Shuffle functionality
- Progress bar for tracking playback
- Previous track button
- Playlist management
- Album artwork display
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Ahnaf Labib
- This project was created as part of the iOS 101 Pre-work
- Thanks to CodePath for the project guidelines and support