How To Make a YouTube Video App – Ep 08 – Custom class detail view controller

[ad_1]
How to Make a YouTube Video App
Lesson 8
In this series, I’ll show you guys how to build a video app that plays YouTube videos!

In this lesson, we add the UIElements to the video detail view controller. Before we can do that though, we need also need to create a custom sub class of the UIViewController which I show you how to do in this video.

Related Videos and links:

Xcode project, source code and video download:

The How To Make a YouTube Video App Playlist:

The Start Here Series Playlist:

I actually built this app for myself about a year ago and it was built with Objective-C but we’re going to build it again using Swift together.

You’ll learn how to use a tableview (like a scrollable list), display custom table cells, slide out menu, display images, embed and play YouTube videos, navigate between two screens and more!

Warning:
It’s going to be a little challenging for those who are completely new to iPhone app development so I recommend that you watch my “How To Make An iPhone App With No Programming Experience” series of videos first. That playlist is 17 lessons long but it’ll give you the foundation and explain the terminology and object oriented programming concepts that I’m going to be using in the building of this YouTube Video App.

That playlist can be found on my site here:

For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you’ll find a community of like minded learners! Learning something new is always more fun with other people!

Youtube:
Website:

CodeWithChris is dedicated to teaching beginners and non-programmers all about building iOS apps. On the site, you’ll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift, Objective-C, Xcode and app building from my course and materials!

Intro & Outro music
“Heartbreaker” by Jahzzar (


Posted

in

by

Tags:

Comments

5 responses to “How To Make a YouTube Video App – Ep 08 – Custom class detail view controller”

  1. Ravy Chheng Avatar

    Is there a way to make the video automatically play? In my app, I want to click on a table view cell and go straight into the full screen youtube video. Then when Video is done, I need it to go back to the table view. Is there anyway you can do this?

  2. Ibra Aldosari Avatar

    if anyone still having the WebView gap issue use this function in the VideoDetailsViewController:

    override func viewWillLayoutSubviews() {
    super.viewWillLayoutSubviews();
    webView.scrollView.contentInset = UIEdgeInsetsZero;
    }

  3. Andrea Operti Avatar

    @CodeWithChris I am still experience the gap problem between the webView and the top layout guide…how can I fix it, please? I have already tried both of the methods you have explained in this video

  4. FlyteWizard Avatar

    Hello,

    I seem to be missing the "back button" did I miss something ??
    Any help would be appreciated.

  5. Fabian Boulegue Avatar

    a great way to create the 2 view and organize it would be a StackView, this would help to let it work way better on all screen sizes :-)!

Leave a Reply

Your email address will not be published. Required fields are marked *