NEW: Subscribe to Hacking with Swift+ and accelerate your learning! >>

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!

Yesterday we looked at simple data types – things that hold one value, like a single number or a single string of letters. Today we’re moving on to complex types, that hold multiple values or aren’t quite so straightforward.

At various points you might think “do I really need to know this?” And the answer is yes – if it’s here in this course, you absolutely need to know 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!

100 Days of SwiftUI


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

Back to 100 Days of SwiftUI

Link copied to your pasteboard.