Build Your Swift Skills – Lesson 5 – Optionals

[ad_1]
Think of optionals simply as variables that might contain nil. The only hard part is remember all of the syntax that goes along with declaring optionals, unwrapping them and checking if contain nil before using them.

That will come with time! I highly recommend you download the worksheet to get some extra practice with them. It will help you remember the syntax without having to memorize anything!

Learning more effectively by doing the lesson worksheet:

My Courses:

Twitter:

Reddit:

———————————-
About this video series:

This 7 part video series is the next step from the War Card game (which can be found here:

You’ll continue building your skills with Swift and learn some critical concepts that will enable you to build more complex apps and express more complex logic with your Swift code.

———————————-

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.

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:


Posted

in

by

Tags:

Comments

3 responses to “Build Your Swift Skills – Lesson 5 – Optionals”

  1. Max T Avatar

    Great explanation. Thanks

  2. Rylan Evans Avatar

    This is the best explanation of optionals I've heard. Good job. Thank you, Chris!

Leave a Reply

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