This is a basic app that I have created to shows the latest movies trailers based on different genres using SwiftUI.I have also integrated UIKit viewcontroller and views into SwiftUI project using UIViewControllerRepresentable and UIViewRepresentable.

This project was made for fun to try out Swift UI and see how it interacts with other layers of the application now that we don't have view controllers. We're all still learning. This project is merely my attempt to put something together based on the ideas put accross in WWDC videos and in the documentation.


In this Project I have used SwiftUI's basic concepts and views and also integrated UIKit's page Controller by using UIViewRepresentable and UIViewControllerRepresentable.


Task app will currently run from iOS 13+. This app is updated for Xcode 11+ . I'll be updating the code for upcoming updates also.


I have put an detailed article on Building Movie Trailer App UsingΒ SwiftUI in Medium.

More Updates

Follow me on Twitter or LinkedIn to get the latest update about features, code and more. Consider star the repo if you like it.

More references

  1. Interfacing with UIKit
  2. Creating and Combining Views
  3. Building Lists and Navigation
  4. Handling User Input


A simple app which shows the lastest movies trailers based on different genres developed using SwiftUI.

Movie_trailers_swiftui Info

⭐ Stars51
πŸ”— Source
πŸ•’ Last Update9 months ago
πŸ•’ Created3 years ago
🐞 Open Issues0
βž— Star-Issue RatioInfinity
😎 Authorshankarmadeshvaran