Programming in Swift: Fundamentals

Oct 19 2021 Swift 5.5, iOS 15, Xcode 13

Part 2: Beginning Collections

12. Challenge: Tuples

Episode complete

Play next episode

Save for later
About this episode
See versions

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 11. Tuples Next episode: 13. Arrays

Update Notes: The student materials have been reviewed and are updated as of October 2021.

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a Professional subscription.

It’s time for your next challenge!

let specialDate = (6, 3, 2019, "WWDC")
let namedSpecialDate = (month: 6, day: 3, year: 2019, name: "WWDC")
let (_, keynoteDay, _, keynoteDescription) = namedSpecialDate
var iPhoneDay = (month: 9, day: 10, year: 2019, name: "iPhone Day") = "Time to buy a new iPhone"