Back to Blog

Learn Swift in 24 hours

Learning to code is difficult, but it doesn't have to be hard. This course will teach you the basics of the Swift programming language so that you can start building iPhone apps! You do not need any prior coding experience in order to complete this course.

Swiftful Thinking courses are purposefully structured to make learning as easy as possible.The videos in this course are recorded in a very specific order so that the knowledge naturally aggregates. This will help you lock in what you've learned... while you continue learning!



How this course works 

This is a free course hosted on YouTube. There are 18 videos in this series, which are approximately 20 minutes each. You can view the full playlist here or continue below. 

Imagine - by this time tomorrow - you can confidently say that you know Swift!

Let's jump in...





This first set of videos will introduce you to writing basic Swift code. We will start with some syntax and then talk about Swift's type-safety features. For this part of the course, I highly recommend writing your code the exact same way that I write it in the videos. I will be using the camelCase naming convention, which is the industry standard format for writing Swift code.





Now that we understand how to write basic Swift code, it's time to start writing real logic. The following videos will introduce you to conditional statements and how to create functions to run your code.





Now that we know how to use these basic types within conditional logic, we can start to learn more complex types, including Optionals and Tuples. 





Swift is an Object-Oriented Programming Language (OOP), which basically means that we can create classes and objects in our code. In the following videos, we will learn how to create our own custom objects. However, in order to fully understand how they will work, we first need to talk about memory management and the fundamentals of OOP.





Now that we can create our own objects, we can start to use them in our app's logic. First, however, we need to learn how to pass these new objects around our code. In Swift, we have special object types that can hold multiple objects simultaneously, the most common of these types are Arrays, Sets, and Dictionaries.





We also have special logic that we can use to edit or modify these new types. We will now dive into for-loops and learn how to iterate over our data sets and write conditional logic for each item in the set. First, we will write the code ourselves, and afterward, we will look at some convenience methods already provided to us by Apple.





We will now wrap up the course with a very brief look into Protocols in Swift. Specifically, we're going to talk about the SwiftUI View protocol because it will start appearing a lot as we start to build real screens.





That's it... you did it! You know how to code in Swift!


I hope this FREE course was worth your time and helped you on your journey to becoming an expert iOS developer! If you enjoyed it, please don't forget to follow us on YouTube!



Join our Discord:

View source code:

Support The Channel:



Join over 2,000 iOS Engineers in our Discord! We are a community focused on helping each other learn Swift and build amazing iOS applications.

Join Discord

Stay updated!

Add your email to get updates on new content & discounts to upcoming courses!