Problem: Throwback Thursday with SwiftUI – Uncover


Prepared so as to add some stylish retro styling to your SwiftUI views? On this problem, we’re inviting you to create a SwiftUI view that reimagines your app or idea clothed within the interfaces of the previous. Costume your UI up within the attractive grayscale of System 6, the linen of early iPhoneOS, or one other time interval completely!

We additionally welcome you to go to the SwiftUI Examine Corridor to collaborate on this problem. Ask questions, join with different builders, and share your creations.

Start the problem

To get began, choose a 12 months, period, or shade scheme. Then, snap a display screen out of your app and take it again to these glory days. In the event you want a lift (or a problem), use a random quantity generator to decide on a 12 months between 1984 and 2013 — or open up a Swift Playground:

print("Reimagine your app's interface prefer it's from the 12 months (myCoolRetroYear)!")
let myCoolRetroYear = Int.random(in: 1984..<2013)

Wherever you land, take into consideration the Apple Design Languages outstanding throughout that period. In the event you’re newer to SwiftUI, experiment with Xcode Previews to see how a lot code the instruments will write for you. When you have extra expertise, take this opportunity to mess around. (And we love a reboot: In the event you joined us for the unique 2021 SwiftUI Throwback Problem, be at liberty to resurrect your 2021 venture.)

Subsequent steps

Share your time-machine masterpiece on Twitter with the hashtag #WWDC22Challenges, or share your work within the SwiftUI Examine Corridor. And if you happen to’d like to debate different SwiftUI subjects, be a part of the crew at occasions all through the rest of the week at WWDC22.

Discover #WWDC22Challenges on social media

Learn the WWDC22 Challenges Phrases and Circumstances



Leave a Comment