Previous episode: 08. Challenge: Optionals
Next episode: 10. Introduction
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
So when you started this part of the course, you already knew five Swift core concepts that you picked up from building bullseye. Let's review what you already know now. You've learn the basics of how to use Swift Playgrounds, you know how to make a new playground, how to add and navigate playground pages and how to use cool playground features like the results sidebar and debug console. You know how to add comments to your code as well. You've added single and multiline comments and learned a little about Playground markup and how to see it in a rendered or raw state. You've also learned how to comment out code with a keyboard shortcut, but here's another reminder not to leave the comment decode hanging around in your projects. You've also learned about another swift type called Booleans or bulls, which are values that are either true or false. Along with Booleans, you tried it a bunch of comparison operators such as less than and greater than that you can use to create those Boolean values. In addition, you used the logical operators and and or to find out if sets of Boolean values were all true or if at least one was true. You also revisited the concept of if statements and extended that to if else statements and learned about a really concise alternative, the turnery conditional operator. And finally, you learned about optionals, where he needed to have a value or no value, which is also represented as nil. You also learn how to safely unwrap optionals and how to use the F let construct. Now that was a lot of ground to cover, but hopefully you've been enjoying our deep dive into Swift and you're having some fun experimenting in the Swift Playground so far. Now if you wanna take your Swift skills to the next level, continue onto the next part where we'll refocus on some really useful ways to store data in your apps, collections. I'll see you in the next video.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.