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 solely!
We additionally welcome you to go to the SwiftUI Research Corridor to collaborate on this problem. Ask questions, join with different builders, and share your creations.
Start the problem
To get began, decide a yr, period, or shade scheme. Then, snap a display out of your app and take it again to these glory days. In case you want a lift (or a problem), use a random quantity generator to decide on a yr between 1984 and 2013 — or open up a Swift Playground:
print("Reimagine your app's interface prefer it's from the yr (myCoolRetroYear)!") let myCoolRetroYear = Int.random(in: 1984..<2013)
Wherever you land, take into consideration the Apple Design Languages distinguished throughout that period. In case you’re newer to SwiftUI, experiment with Xcode Previews to see how a lot code the instruments will write for you. When you’ve got extra expertise, take this opportunity to mess around. (And we love a reboot: In case you joined us for the unique 2021 SwiftUI Throwback Problem, be happy to resurrect your 2021 venture.)
Share your time-machine masterpiece on Twitter with the hashtag #WWDC22Challenges, or share your work within the SwiftUI Research Corridor. And when you’d like to debate different SwiftUI subjects, be a part of the group at occasions all through the rest of the week at WWDC22.
Discover #WWDC22Challenges on social media