SwiftUI Music Player Bar

preview_player
Показать описание
Create music player bar using SwiftUI

Hi there! 🖐🖐🖐

In this video, I'll show you how to use SwiftUI to create a music player.

Display track information.

Load and play a track.

Scrub through the music player.

Skip forward 10 seconds and back 10 seconds.

Text display effects.

#apple #swiftui #ios #swift #swifttutorial #jlcoder 

● Hire me:

● Support Us:

● My Macbook Specs:
Xcode Version: 15+
macOS Version: 14+

● Social Platforms:

● Timestamps
00:00 Introduction
00:41 Adding Images and mp3/JSON Files to the Project Folder
01:22 Adding a Background Image
02:27 Blurring the Background Image
02:45 Adding a Music Player
03:31 Creating Hexadecimal Color Codes
05:47 Adding Track Information: Cover Image, Track Name, Artist Name
08:30 Adding Previous - Play - Next Buttons
10:21 Adding a Progress Bar and Track Time
11:34 Creating a Gradient Color for the ProgressView
15:18 Adding a Model for Music Playback
19:16 Starting Playback
20:35 Retrieving Track Name and Artist Name
20:57 Getting Track Duration and Current Duration
23:10 Adding Seconds to the Progress Bar During Playback
23:57 Scrubbing Through the Progress Bar
29:13 Skipping Forward 10 Seconds and Backward 10 Seconds
31:05 Observing End of Track
32:34 Retrieving Lyrics and Displaying on UI
36:18 Creating a Lyrics Display Effect

Thanks for watching
Make sure to like and Subscribe For More Content !!!
Рекомендации по теме