Challenge: Prototype with SwiftUI

Swiftui icon on blue background

While SwiftUI is a powerful framework, one of its key features is its simplicity. Designers with very little knowledge of code can easily create prototypes with human-readable syntax and interactive Xcode Previews. As we say goodbye to WWDC21, we invite you to say “hello, world” with a brilliant SwiftUI-based prototype.

Begin the challenge

What’s an app you’d love to build right now? Take charge of SwiftUI and Xcode Previews and turn that idea into a prototype: Explore what interfaces you can create with Xcode Preview, and let the tools write the code for you. (And pick up a little SwiftUI code knowledge along the way.)

Start fresh with a new Xcode project, or explore prototyping a new view in SwiftUI for your existing app. Need support, or want help from the community in prototyping? For those participating in the Digital Lounges, we’re hosting a Challenge Study Hall in the #swiftui-study-hall channel from 11 a.m. – 2 p.m. PDT on Friday. You can also share prototyping projects in progress in the Developer Forums using the tag “WWDC21-Challenges,” or on social media using the hashtag #WWDC21Challenges.
Already working on a prototype in UIKit or AppKit? Explore creating a new view in SwiftUI.

Register for the Digital Lounges

Visit the SwiftUI Digital Lounge (Requires registration)

Explore WWDC21 Challenges on the Developer Forums

Explore #WWDC21Challenges on social media

Share your new SwiftUI views with us over the summer. We can’t wait to see what you can build with SwiftUI and Xcode Previews, and to hear about what you learn!

Resources

Code-Along: Build a great Mac app in SwiftUI



  • WWDC20

Introduction to SwiftUI

Explore SwiftUI tutorials

Read the WWDC21 Challenges Terms and Conditions