How to Make an App for Beginners – Lesson 5 (Swift Programming Basics)

Learn how to make an app even if you have no programming experience!

This is a 10 part video series designed for beginners in mind to teach the fundamental skills for making apps on iOS.

In this lesson, you’ll learn the basics of the Swift programming language starting with variables, constants and data types. These will form the building blocks for learning Swift programming!

You can download the Cheatsheet and Worksheet from here:

This video series uses the latest and greatest from Apple (Xcode 9, Swift 4, iOS 11) and will teach a beginner with no programming experience how to make iPhone apps. I’m creating these videos with the assumption that the student has no prior knowledge and is starting from scratch.

The lesson plan for the How To Make an App series 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!


CodeWithChris is dedicated to teaching beginners and non-programmers all about how to make an app. 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 4, Xcode 9 and app building from my course and materials!

Here’s just a sample of the success stories my students have sent in:


MrPenguini says:

Hey Chris, amazing video btw, but right now im using XCODE 9.2, and for some reason when I make a error it does not tell me whats wrong with like urs does in this video. It just has the normal red stop sign in the top right. How can I fix this??

Thanks in advance

Michael Kim says:

Hey Chris! Thank you for the awesome video. This is my first time learning any type of coding. One problem I have is that I see the line numbers on the xCode but certain lines are not showing the line numbers. So basically hen the code executes, the line numbers for valid statements disappear. Do you know how to fix this? I am using xCode 9.1.

Thanks in advance.

Lucas Jackson says:

If you want more on the swift language btw, he has a 19 part series on that, which goes into much more detail

Nair Byad says:

First time coding since Fortran and COBOL a long time ago! Managed many IT projects, but want to build a solution myself. You are a good educator. Not sure how deep your classes go, but they are just what I need now. Great stuff.

Rahul Singh says:

Most of the viewer are aware of the programming language i think…
I know very well about C…

MrMacflame says:

Can you make more videos about simple stuff and interface? How easily to make an app that looks like Health app (where it has 4 big cells with Sleep, Food etc. Please eplain how to do this!

Kery says:

good details! looking forward for the next lesson.


Jim Josh says:

import UIKit
// The start of the video is just the lesson 2 again
var imprtnt = “skip to another part of the timeline”
var ans = “I learned HTML before”

carlos fernandez says:

Hi Chris can you explain the different kind of data types but between like float , float16 , float 32 etc when use each of those different types . thanks like always good job best teacher

Bryan Morris says:

Hi Chris, Thanks a ton for Lesson 5. Enjoyed the basics of Swift Language. Although I had some prior knowledge of variable, constant and data types as I have done basic Java and C++ already. 
Anyways, thanks for the refresher. Waiting for the next lesson to come out.

What I wanted to know was – can I have access to all the lessons so that I could accelerate my learning? Please do let me know. 


Tjon Tan says:

Thank you Chris! This really helped me to understand Swift better and actually enjoy it! Appreciate it! Keep up with the good work 🙂

SuperBolt says:

my.firstLang = .swift

SkullCrusher XD says:


Adam Rydén says:

You are truly a great teacher! Love your videos

Viktor Ohlin says:

Hi Chris, first of all thank you a ton for these videos, you are amazing! This is my first time programming in swift and its my first “serious” take to really dive into programming at all. You help me a lot and your “worksheets” are fun and very well formed. Thanks to you I really get the “thinking” of programming and your explanations are easy to understand even though english is just my second language. It’s very very generous of you to make this accessible for free and i’m very greatful for that. I would love to follow these kind of videos in even more advanced courses later on, and yes i would pay for it! Please keep up the good work, cheers!

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!