Published on March 21, 2017 by CodeWithChris

This Learn Swift series is designed for beginners with NO programming experience. It uses the latest version of Swift 3 and Xcode 8.

In this lesson you’ll learn about optionals which often confuses people who are just new to learning Swift!

If you’ve ever wanted to learn Swift programming and build your own apps, this is it! Hands on training with PDF lesson notes and cheat sheet… Follow along! It’s the best way to learn!

I’ll be in the comments to help you along as you learn about Swift concepts such as variables, data types, if statements, loops, classes and more!

Swift Programming Syntax Cheat Sheet
codewithchris.leadpages.co/yt-learnswift-cheatsheet/

Swift Language Guide:
developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Inheritance.html#//apple_ref/doc/uid/TP40014097-CH17-ID193

Swift Open Source:
www.swift.org

PC Users:

This free Swift tutorial series is best paired with my How To Make An App with No Programming Experience series which can be found 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!

My Website: codewithchris.com
My Courses: codewithchris.com/learn-how-to-build-iphone-apps-with-a-proven-framework/

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 3, Xcode 8 and app building from my course and materials!

Intro & Outro music
“Heartbreaker” by Jahzzar (www.betterwithmusic.com/)

Leave a Reply

33 Comments on "Learn Swift for Beginners – Ep 13 – Optionals"

Notify of
avatar

Mohammed Seif
Guest
Mohammed Seif
3 days 1 hour ago

thank you man for your effort, you style is very simple to understand, I hope you keep up the good work and complete this series, help us beginners learn how to code
thanks a lot man, may Allah reward you for that good deed 🙂

Hunter T
Guest
Hunter T
26 days 20 hours ago

Thanks, Chris

Samuel Farmer
Guest
Samuel Farmer
27 days 18 hours ago

Another great video. Just could not grasp what optionals were or why someone would use them before watching this. Now I do. Hope you continue to post great videos like this!

CodeWithChris
Guest
CodeWithChris
27 days 8 hours ago

I will as long as you keep watching 🙂

Cavin Albert Belga
Guest
Cavin Albert Belga
29 days 22 hours ago

Thank you for your tutorials! it helps a lot 🙂

Riccy Gee
Guest
Riccy Gee
1 month 6 days ago

Great video as usual Chris. For the newbies, you could also use guard statements as an alternative to avoid the nasty if/let nests of doom. Guards can be extremely useful when you need your object to have a value. For example..let post = BlogPost()post.title = "Hey your title is here!"func foo() {guard let actualTitle = post.title else { print("No title here buddy") return } print(actualTitle)}foo()*console prints Hey your title is here!*

Riccy Gee
Guest
Riccy Gee
22 days 20 hours ago

Of course, keep up the great work!

CodeWithChris
Guest
CodeWithChris
27 days 7 hours ago

Thanks for the feedback and showing others Riccy! I'm still getting used to incorporating guard into my own coding habits. Here's a good article for anyone who's interested in learning more about when to use guard vs if: www.natashatherobot.com/swift-when-to-use-guard-vs-if/

Kapil Soni
Guest
Kapil Soni
1 month 7 days ago

Wow Burden of this optional is clear now. Now i can force unwrapp my idea to creat app. hahah! Thanks Chris

CodeWithChris
Guest
CodeWithChris
27 days 6 hours ago

Hey Kapil, thanks for watching as always!

Bayar Berg
Guest
Bayar Berg
1 month 7 days ago

thank you Chris you're awesome

CodeWithChris
Guest
CodeWithChris
27 days 6 hours ago

You're awesome too for learning with me haha 🙂

The Pretty Unicorn
Guest
The Pretty Unicorn
1 month 8 days ago

Thanks! Clear and easy to understand as usual!

CodeWithChris
Guest
CodeWithChris
27 days 5 hours ago

Thanks for learning with me!

Steve Lee
Guest
Steve Lee
1 month 8 days ago

I made a suggestion on some other channel I think to post a video on optionals and his greatness answered lol

CodeWithChris
Guest
CodeWithChris
27 days 5 hours ago

That's awesome 🙂 What a coincidence!

elev8ENG
Guest
elev8ENG
1 month 8 days ago

Your gift box analogy is great! I'll think of optionals this way from now on. Keep up the good work Chris!

CodeWithChris
Guest
CodeWithChris
1 month 8 days ago

Awesome! Thanks for watching! 🙂

wpDiscuz