Simple iOS YouTube video player app using YouTube Data API and SwiftUI.
YouTubePlayerView provided by Swift-YouTube-Player.
SwiftUI implementation of the YouTubePlayer: Implementing a YouTube Player in SwiftUI.
- SwiftUI
- MVVM Architecture
- Networking
- Web images
- Error handling
- Pagination / Infinite scroll
Install the project dependencies using Cocoapods.
SimpleYoutubeApp % pod install
- Create the configuration file
Config
.
- Add your YouTube API key.
- Verify you have
YOUTUBE_API_KEY
in theInfo.plist
file.
- Add the
Config
file to your build configurations.