Ctrl B

@CtrlBGames
2 Followers
61 Following
9 Posts
Hobby account for learning to code stuff.
Soonhttps://ctrlbgames.itch.io/
Day 4 – 100 Days of SwiftUI

Follow the 100 Days of SwiftUI and learn to build apps for free.

Hacking with Swift
Day 3 – 100 Days of SwiftUI

Follow the 100 Days of SwiftUI and learn to build apps for free.

Hacking with Swift

@twostraws Hello.

Thanks for the course. Im on day three and have hit a little hiccup. On this page https://www.hackingwithswift.com/quick-start/beginners/how-to-store-ordered-data-in-arrays

There is a code snippet that says

let presidents = ["Bush", "Obama", "Trump", "Biden"]
let reversedPresidents = presidents.reversed()
print(reversedPresidents)

I get this returned.

ReversedCollection<Array<String>>(_base: ["Bush", "Obama", "Trump", "Biden"])

What am i doing wrong?

Thanks
#100DaysOfSwiftUI

How to store ordered data in arrays - a free Swift for Complete Beginners tutorial

Learn Swift coding for iOS with these free tutorials

Hacking with Swift
Day 2 – 100 Days of SwiftUI

Follow the 100 Days of SwiftUI and learn to build apps for free.

Hacking with Swift
Day 1 – 100 Days of SwiftUI

Follow the 100 Days of SwiftUI and learn to build apps for free.

Hacking with Swift
A year after I started this account it’s finally time to get going. Let’s start off nice and easy on Day 0. An hour long video to watch. #100DaysOfSwiftUI
Hello Mastodon.