NEW: Start my new Ultimate Portfolio App course with a free Hacking with Swift+ trial! >>

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!

 

Hacking with Swift is sponsored by Instabug

SPONSORED Catch bugs as soon as they happen and know exactly why a crash occurred. Instabug's SDK grabs all the logs they need to fix bugs, crashes and performance issues in minutes instead of days. Get screenshots, device details, network logs, repro steps, and tons of other critical insights needed to resolve issues and prioritize product backlogs straight from your dashboard. It only takes a minute to integrate!

Get started now

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.