/iOS-youtube-app

Simple iOS YouTube video player app using YouTube API and SwiftUI

Primary LanguageSwift

SwiftUI - YouTube video player

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.

Features

  • SwiftUI
  • MVVM Architecture
  • Networking
  • Web images
  • Error handling
  • Pagination / Infinite scroll

Screenshots

Search Video player

Setup

Dependencies

Install the project dependencies using Cocoapods.

SimpleYoutubeApp % pod install

Configuration file

  1. Create the configuration file Config.

Step 1

Step 1_1

  1. Add your YouTube API key.

Step 2

  1. Verify you have YOUTUBE_API_KEY in the Info.plist file.

Step 3

  1. Add the Config file to your build configurations.

Step 4