Challenge: Prototype with SwiftUI

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. In this challenge, 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? You can share prototyping projects in progress on the Developer Forums. Already working on a prototype in UIKit or AppKit? Explore creating a new view in SwiftUI.

Visit the Apple Developer Forums

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

Code along with us and build a Mac app from start to finish in SwiftUI.

View now

Introduction to SwiftUI

Explore the world of declarative-style programming: Discover how to build a fully-functioning SwiftUI app from scratch as we explain the benefits of writing declarative code and how SwiftUI and Xcode can combine forces to help you build great apps, faster.

Watch now

Introducing SwiftUI

Read the WWDC21 Challenges Terms and Conditions