UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

DAY 2

Complex data types


Lynch’s Law says “when the going gets tough, everyone leaves.” Anyone can complete the first day of a course, but it takes diligence to come back for day 2 – well done for sticking with it!

Today you have eleven one-minute videos to watch, and you’ll meet things like arrays, dictionaries, and enums. As before, if you want to dive deeper into each topic there is optional further reading, but you don’t need to read that unless you want to. Regardless, there’s a short test to help make sure you’ve understood what was taught.

  1. Arrays
  2. Sets
  3. Tuples
  4. Arrays vs sets vs tuples
  5. Dictionaries
  6. Dictionary default values
  7. Creating empty collections
  8. Enumerations
  9. Enum associated values
  10. Enum raw values
  11. Complex types: Summary

Need help? Tweet me @twostraws!

 

BUILD THE ULTIMATE PORTFOLIO APP Most Swift tutorials help you solve one specific problem, but in my Ultimate Portfolio App series I show you how to get all the best practices into a single app: architecture, testing, performance, accessibility, localization, project organization, and so much more, all while building a SwiftUI app that works on iOS, macOS and watchOS.

Get it on Hacking with Swift+

Sponsor Hacking with Swift and reach the world's largest Swift community!

100 Days of Swift


The 100 Days of Swift is a free collection of videos, tutorials, tests, and more to help you learn Swift faster. Click here to learn more, or watch the video below.

Back to 100 Days of Swift

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.